[Bug tree-optimization/56899] Wrong constant folding

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 10 07:42:00 GMT 2013


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

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |NEW
   Last reconfirmed|                            |2013-04-10
                 CC|                            |glisse at gcc dot gnu.org
         Resolution|INVALID                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> 2013-04-10 07:42:51 UTC ---
Andrew, he isn't multiplying INT_MIN by 9 but some number that is roughly
INT_MIN/10. extract_muldiv_1 seems to be missing some checks before
distributing the multiplication.



More information about the Gcc-bugs mailing list