------- Comment #15 from rguenth at gcc dot gnu dot org 2009-01-18 15:51 ------- Subject: Bug 38819
Author: rguenth Date: Sun Jan 18 15:51:12 2009 New Revision: 143485 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143485 Log: 2009-01-18 Richard Guenther <rguent...@suse.de> PR tree-optimization/38819 * tree-flow.h (operation_could_trap_helper_p): Declare. * tree-eh.c (operation_could_trap_helper_p): Export. * tree-ssa-sccvn.h (vn_nary_may_trap): Declare. * tree-ssa-sccvn.c (vn_nary_may_trap): New function. * tree-ssa-pre.c (insert_into_preds_of_block): Check if we are about to insert a possibly trapping instruction and fail in this case. * gcc.c-torture/execute/pr38819.c: New testcase. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr38819.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-eh.c trunk/gcc/tree-flow.h trunk/gcc/tree-ssa-pre.c trunk/gcc/tree-ssa-sccvn.c trunk/gcc/tree-ssa-sccvn.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38819