------- Comment #1 from laurent at guerby dot net 2009-04-19 12:37 ------- r146313 works and r146314 fails the 8 gnat.dg tests:
r146314 | rguenth | 2009-04-18 15:02:00 +0200 (Sat, 18 Apr 2009) | 11 lines 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. -- laurent at guerby dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |laurent at guerby dot net, | |rguenth at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39812