[Bug tree-optimization/78482] [7 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 23 14:32:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78482
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Nov 23 14:25:48 2016
New Revision: 242754
URL: https://gcc.gnu.org/viewcvs?rev=242754&root=gcc&view=rev
Log:
2016-11-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/78482
* tree-cfgcleanup.c: Include tree-ssa-loop-niter.h.
(remove_forwarder_block_with_phi): When merging with a loop
header creates a new latch reset number of iteration information
of the loop.
* gcc.dg/torture/pr78482.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr78482.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-cfgcleanup.c
More information about the Gcc-bugs
mailing list