[Bug rtl-optimization/66187] [6 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 18 07:31:00 GMT 2015


Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-05-18
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |6.0
            Summary|wrong code at -O1, -O2 and  |[6 Regression] wrong code
                   |-O3 on x86_64-linux-gnu     |at -O1, -O2 and -O3 on
                   |                            |x86_64-linux-gnu
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r222877.
I bet the problem is in:
        && (tree_int_cst_min_precision (@4, UNSIGNED)
            <= TYPE_PRECISION (TREE_TYPE (@0)))
which for signed types IMHO should be < instead.

More information about the Gcc-bugs mailing list