[Bug c/31291] Different (wrong?) behaviour using ffps when enabling optimizing

2007-03-20 Thread mail at sebastianbauer dot info
--- Comment #1 from mail at sebastianbauer dot info 2007-03-21 07:14 --- Created an attachment (id=13240) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13240&action=view) The simple test source. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31291

[Bug c/31291] Different (wrong?) behaviour using ffps when enabling optimizing

2007-03-20 Thread mail at sebastianbauer dot info
--- Comment #2 from mail at sebastianbauer dot info 2007-03-21 07:15 --- Created an attachment (id=13241) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13241&action=view) The output of the compiler invocation and the executable. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug c/31291] Different (wrong?) behaviour using ffps when enabling optimizing

2007-03-21 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-03-21 09:59 --- You are violating C aliasing rules. Use a union or memcpy to access the fp value. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --