------- Comment #9 from ebotcazou at gcc dot gnu dot org 2006-09-10 21:28 ------- Subject: Bug 28636
Author: ebotcazou Date: Sun Sep 10 21:28:39 2006 New Revision: 116829 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116829 Log: PR rtl-optimization/28636 * combine.c (force_to_mode): Test for side-effects before substituting by zero. (simplify_shift_const): Likewise for zero or other constants. Added: branches/gcc-4_0-branch/gcc/testsuite/gcc.c-torture/execute/20060910-1.c Modified: branches/gcc-4_0-branch/gcc/ChangeLog branches/gcc-4_0-branch/gcc/combine.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28636