develooper Front page | perl.perl5.porters | Postings from March 2013

[perl #116989] S_croak_memory_wrap breaks gcc warning flags detection

From:
bulk88 via RT
Date:
March 24, 2013 20:27
Subject:
[perl #116989] S_croak_memory_wrap breaks gcc warning flags detection
Message ID:
rt-3.6.HEAD-28177-1364156865-1497.116989-15-0@perl.org
On Thu Feb 28 08:54:28 2013, doughera wrote:
> Empirically, the linker does remove unused functions if a sufficiently
> high level of optimization is set.  cflags.SH currently doesn't run
> with a
> high enough level of optimization.  Temporarily overriding the
> optimization is one option I considered, but didn't pursue in case the
> user had put some other relevant flags in $Config{optimize} that
> shouldn't
> be overridden.
> 

Maybe -funit-at-a-time is what does it (remove unused statics).

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=116989



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About