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



--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 
17:26:15 UTC ---

Author: jakub

Date: Tue Feb 19 17:26:04 2013

New Revision: 196147



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196147

Log:

    Backported from mainline

    2013-02-08  Jakub Jelinek  <ja...@redhat.com>



    PR tree-optimization/56250

    * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize

    if type is unsigned and code isn't MULT_EXPR.



    * gcc.c-torture/execute/pr56250.c: New test.



Added:

    branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/execute/pr56250.c

Modified:

    branches/gcc-4_7-branch/gcc/ChangeLog

    branches/gcc-4_7-branch/gcc/fold-const.c

    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog

Reply via email to