re PR tree-optimization/58277 (wrong code at -O3)
authorJakub Jelinek <jakub@redhat.com>
Fri, 30 Aug 2013 12:41:17 +0000 (14:41 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 30 Aug 2013 12:41:17 +0000 (14:41 +0200)
commit8b29fd4e11c04cd6ef48f6874cb446e553e6cfca
tree54be20e071ba593541b99d863786e7130f9104e0
parent26d75703036bbdd170c157fd70a5ff1a29c27f22
re PR tree-optimization/58277 (wrong code at -O3)

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.

From-SVN: r202104
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr58277-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/pr58277-2.c [new file with mode: 0644]
gcc/tree-ssa-strlen.c