[Bug c/66265] strict aliasing with O2 fails to generate correct code and gives no warnings

2015-05-25 Thread gougolith at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66265 --- Comment #2 from Mark --- Yes thank you, it all makes sense unfortunately...it is all buried in -O2... On Mon, May 25, 2015 at 12:50 AM, jakub at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug c/66265] New: strict aliasing with O2 fails to generate correct code and gives no warnings

2015-05-23 Thread gougolith at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gougolith at gmail dot com Target Milestone: --- Created attachment 35607 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35607&action=edit Sample code that exhib