[Bug tree-optimization/58277] [4.7/4.8/4.9 Regression] wrong code at -O3
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 30 12:53:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58277
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 12:53:47 2013
New Revision: 202105
URL: http://gcc.gnu.org/viewcvs?rev=202105&root=gcc&view=rev
Log:
PR tree-optimization/58277
* tree-ssa-strlen.c (strlen_enter_block): If do_invalidate gave up
after seeing too many stmts with vdef in between dombb and current
bb, invalidate everything.
* gcc.c-torture/execute/pr58277-1.c: New test.
* gcc.c-torture/execute/pr58277-2.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/execute/pr58277-1.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/execute/pr58277-2.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-strlen.c
More information about the Gcc-bugs
mailing list