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

mail at sebastianbauer dot info gcc-bugzilla@gcc.gnu.org
Wed Mar 21 07:13:00 GMT 2007


The purpose of the attached code is to print out the internal representation of
some floating points. However, when compiling with optimizations turned on the
behaviour of the compiled program is not the expected one (i.e. the proper hex
representation is not printed out, but something else, here 0). I encounter
this behaviour on amd64 debian as on windows using cygwin gcc.

I'm going to attach the debian output of compilation and invocation.


-- 
           Summary: Different (wrong?) behaviour using ffps when enabling
                    optimizing
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mail at sebastianbauer dot info
 GCC build triplet: x86_64
  GCC host triplet: x86_64
GCC target triplet: x86_64


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31291



More information about the Gcc-bugs mailing list