This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r196147 - in /branches/gcc-4_7-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 19 Feb 2013 17:26:08 -0000
- Subject: r196147 - in /branches/gcc-4_7-branch/gcc: Chan...
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 <jakub@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