------- Comment #6 from rguenth at gcc dot gnu dot org 2009-04-18 13:02 ------- Subject: Bug 39804
Author: rguenth Date: Sat Apr 18 13:02:00 2009 New Revision: 146314 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146314 Log: 2009-04-18 Richard Guenther <rguent...@suse.de> PR middle-end/39804 * tree-ssa-ccp.c (fold_stmt_1): New function factored from ... (fold_stmt): ... this and ... (fold_stmt_inplace): ... this. (fold_stmt_1): Fold references in calls and asms. * tree-cfg.c (remove_useless_stmts_cond): Use fold_stmt. * gcc.target/i386/pr39804.c: New testcase. Added: trunk/gcc/testsuite/gcc.target/i386/pr39804.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-cfg.c trunk/gcc/tree-ssa-ccp.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39804