This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r195649 - 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: Fri, 01 Feb 2013 13:58:56 -0000
- Subject: r195649 - in /branches/gcc-4_7-branch/gcc: Chan...
Author: jakub
Date: Fri Feb 1 13:58:55 2013
New Revision: 195649
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195649
Log:
Backported from mainline
2012-11-17 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/55236
* fold-const.c (make_range_step) <case NEGATE_EXPR>: For -fwrapv
and signed ARG0_TYPE, force low and high to be non-NULL.
* gcc.dg/pr55236.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr55236.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