This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r134636 - in /branches/gcc-4_3-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 24 Apr 2008 16:19:22 -0000
- Subject: r134636 - in /branches/gcc-4_3-branch/gcc: Chan...
Author: jakub
Date: Thu Apr 24 16:19:22 2008
New Revision: 134636
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134636
Log:
PR tree-optimization/36008
* fold-const.c (try_move_mult_to_index): If s == NULL, divide
the original op1, rather than delta by step.
* gcc.c-torture/execute/20080424-1.c: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/20080424-1.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/fold-const.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog