This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/30787] [4.1 Regression] Strength reduction bug
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2007 20:51:47 -0000
- Subject: [Bug rtl-optimization/30787] [4.1 Regression] Strength reduction bug
- References: <bug-30787-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from ebotcazou at gcc dot gnu dot org 2007-02-16 20:51 -------
Subject: Bug 30787
Author: ebotcazou
Date: Fri Feb 16 20:51:36 2007
New Revision: 122052
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122052
Log:
PR rtl-optimization/30787
* loop.c (strength_reduce): Don't reduce giv that is not always
executed and where add_val or mult_val can trap.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/20070216-1.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/loop.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30787