re PR tree-optimization/63380 (Wrong constant folding)
authorRichard Biener <rguenther@suse.de>
Thu, 9 Oct 2014 12:45:07 +0000 (12:45 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 9 Oct 2014 12:45:07 +0000 (12:45 +0000)
commit12d3031b2c31ad7c9ec956eba52f8451f7b284aa
treeb22fea752b05a8fda97103bfae178bf7c7769d48
parent3b7ea188c0457b2e70bdefc8cb53a790e7e9b296
re PR tree-optimization/63380 (Wrong constant folding)

2014-10-09  Richard Biener  <rguenther@suse.de>

PR tree-optimization/63380
* tree-ssa-tail-merge.c (stmt_local_def): Exclude stmts that
may trap.

* gcc.dg/torture/pr63380-1.c: New testcase.
* gcc.dg/torture/pr63380-2.c: Likewise.

From-SVN: r216038
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr63380-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr63380-2.c [new file with mode: 0644]
gcc/tree-ssa-tail-merge.c