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/71588] [4.9/5 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: in execute_todo, at passes.c:2009


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71588

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 12:47:20 2016
New Revision: 238100

URL: https://gcc.gnu.org/viewcvs?rev=238100&root=gcc&view=rev
Log:
        Backported from mainline
        2016-06-21  Jakub Jelinek  <jakub@redhat.com>

        PR tree-optimization/71588
        * tree-ssa-strlen.c (valid_builtin_call): New function.
        (adjust_last_stmt, handle_builtin_memset, strlen_optimize_stmt): Use
        it.

        * gcc.dg/pr71558.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr71558.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-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]