This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/58277] [4.7/4.8/4.9 Regression] wrong code at -O3


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]