[Bug middle-end/58956] [4.7/4.8 Regression] wrong code at -O1 and above (affecting gcc 4.6 to trunk)
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 5 13:10:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58956
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Dec 5 13:10:20 2013
New Revision: 205709
URL: http://gcc.gnu.org/viewcvs?rev=205709&root=gcc&view=rev
Log:
2013-12-05 Richard Biener <rguenther@suse.de>
Backport from mainline
2013-11-19 Richard Biener <rguenther@suse.de>
PR middle-end/58956
* tree-ssa-ter.c (find_replaceable_in_bb): Avoid forwarding
loads into stmts that may clobber it.
* gcc.dg/torture/pr58956.c: New testcase.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr58956.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/tree-ssa-ter.c
More information about the Gcc-bugs
mailing list