------- Comment #3 from rguenth at gcc dot gnu dot org  2009-11-18 09:57 -------
Confirmed.  Only fails with -m32 on x86_64.  It is VRP that triggers the
miscompile, thus -O1 -ftree-vrp -fno-delete-null-pointer-checks is enough.


-- 

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 fail|                            |4.5.0
      Known to work|                            |4.4.2
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-18 09:57:53
               date|                            |
            Summary|Wrong result with -Os -fno- |[4.5 Regression] Wrong
                   |delete-null-pointer-checks  |result with -Os -fno-delete-
                   |                            |null-pointer-checks
   Target Milestone|---                         |4.5.0


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

Reply via email to