--- Comment #5 from bernhardloos at googlemail dot com 2010-05-10 16:48
---
It is a duplicate, my problem happens in exactly the same place.
Sorry I missed the other bug.
*** This bug has been marked as a duplicate of 43987 ***
--
bernhardloos at googlemail dot com changed:
--- Comment #4 from pluto at agmk dot net 2010-05-10 16:26 ---
(In reply to comment #3)
> Gcc 4.6 generates expected code.
>
PR43987 dupllication?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44060
--- Comment #3 from hjl dot tools at gmail dot com 2010-05-10 16:16 ---
Gcc 4.6 generates expected code.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
--- Comment #2 from bernhardloos at googlemail dot com 2010-05-10 14:57
---
(In reply to comment #1)
> Try -Wstrict-aliasing.
>
It does produce a warning about dreferencing a type-punned pointer.
I tried to compile the snipped with both -fstrict-aliasing and
-fno-strict-aliasing and i
--- Comment #1 from schwab at linux-m68k dot org 2010-05-10 14:43 ---
Try -Wstrict-aliasing.
--
schwab at linux-m68k dot org changed:
What|Removed |Added
Stat