------- Comment #2 from rguenth at gcc dot gnu dot org  2010-04-19 09:36 -------
I can confirm that the output of MTest-7.c differs with -O2 -fno-inline -m32
vs.
-O2 -fno-inline -m32 -fno-tree-pre.  The latter is equivalent to the -O0 -m32
output.

As inlining seems to be not relevant to trigger this bug can you help
a bit and isolate the miscompiled function?  (just split out each funtion
to a separate file and see which you need to compile with -fno-tree-pre
to get the bug vanishing).  Thx.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c                           |tree-optimization
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
      Known to work|                            |4.4.3
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-19 09:36:01
               date|                            |
            Summary|miscompile semantically     |[4.5/4.6 Regression]
                   |equivalent C source files   |miscompile semantically
                   |using -O2                   |equivalent C source files
                   |                            |using -O2
   Target Milestone|---                         |4.5.1


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

Reply via email to