re PR tree-optimization/60115 (wrong code at -O3 on x86_64-linux-gnu)
commit4e1f39e43a61a05299036307745d54fadbfa4971
authorRichard Biener <rguenther@suse.de>
Mon, 10 Feb 2014 13:51:23 +0000 (10 13:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 10 Feb 2014 13:51:23 +0000 (10 13:51 +0000)
treeef09c2d939f1341f5a928daca4ec870b32320b8f
parente7af1c221d51f354ed7b6026a6629524fd2974d8
re PR tree-optimization/60115 (wrong code at -O3 on x86_64-linux-gnu)

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

PR tree-optimization/60115
* tree-eh.c (tree_could_trap_p): Unify TARGET_MEM_REF and
MEM_REF handling.  Properly verify that the accesses are not
out of the objects bound.

* gcc.dg/torture/pr60115.c: New testcase.

From-SVN: r207656
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr60115.c [new file with mode: 0644]
gcc/tree-eh.c