------- Comment #32 from cvs-commit at gcc dot gnu dot org 2005-10-04 05:57 ------- Subject: Bug 23049
CVSROOT: /cvs/gcc Module name: gcc Changes by: [EMAIL PROTECTED] 2005-10-04 05:57:38 Modified files: gcc : ChangeLog tree-ssa-dom.c gcc/doc : tree-ssa.texi gcc/testsuite : ChangeLog gcc/testsuite/gcc.dg: ucnid-4.c Added files: gcc/testsuite/gcc.dg: pr23049.c Log message: 2005-10-05 Steven Bosscher <[EMAIL PROTECTED]> gcc/ PR tree-optimization/23049 * tree-ssa-dom.c (thread_across_edge): Make sure that the condition of a COND_EXPR is folded before calling fold on the whole rhs of a conditional assignment. * doc/tree-ssa.texi: Update the GIMPLE grammar for a valid rhs to document that a COND_EXPR may appear there. testsuite/ * gcc.dg/pr23049.c: New test. * gcc.dg/ucnid-4.c: Fix test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10073&r2=2.10074 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-dom.c.diff?cvsroot=gcc&r1=2.128&r2=2.129 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/tree-ssa.texi.diff?cvsroot=gcc&r1=1.31&r2=1.32 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6130&r2=1.6131 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr23049.c.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/ucnid-4.c.diff?cvsroot=gcc&r1=1.3&r2=1.4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23049