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/70169] [4.9 Regression] ICE at -O1 and above on x86_64-linux-gnu in gen_lsm_tmp_name, at tree-ssa-loop.c:791


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 21:49:12 2016
New Revision: 238139

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

        PR tree-optimization/70169
        * tree-ssa-loop.c (gen_lsm_tmp_name): Handle FUNCTION_DECL and
        LABEL_DECL like VAR_DECL.  Emit nothing instead of gcc_unreachable
        for unknown codes.

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

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr70169.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-ssa-loop.c

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