Re: Package segfaults when built with -O2 but not with -O0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/18/2011 11:32 PM, Tom Lane wrote:
> Andrew Haley <aph@xxxxxxxxxx> writes:
>> > On 11/18/2011 05:53 PM, Ralf Corsepius wrote:
>>> >> pptp.c:459:33: warning: dereferencing type-punned pointer might break 
>>> >> strict-aliasing rules [-Wstrict-aliasing]
>> > Bingo!  Bugs like this must be fixed.
> Sometimes that's easier said than done.  -fno-strict-aliasing might be
> your friend.

It's always easier said than done!  Still, one could argue
that -fno-strict-aliasing is a fix, kinda sorta.  My point is
that you've got to do *something*; this warning must not be
ignored.

Andrew.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux