[Bug tree-optimization/31715] [4.3 Regression] Array calculation done incorrectly

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Apr 26 18:27:00 GMT 2007



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-04-26 19:27 -------
In final_cleanup we get:
  if (arr[1073741827] == 0) goto <L12>; else goto <L4>;

Which is wrong.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c                           |tree-optimization
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic, wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-04-26 19:27:07
               date|                            |
            Summary|array overflow misdetected  |[4.3 Regression] Array
                   |                            |calculation done incorrectly
   Target Milestone|---                         |4.3.0


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



More information about the Gcc-bugs mailing list