[Bug tree-optimization/70169] [4.9/5 Regression] ICE at -O1 and above on x86_64-linux-gnu in gen_lsm_tmp_name, at tree-ssa-loop.c:791

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 30 12:41:00 GMT 2016


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar 30 12:40:50 2016
New Revision: 234562

URL: https://gcc.gnu.org/viewcvs?rev=234562&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-5-branch/gcc/testsuite/gcc.dg/pr70169.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-loop.c


More information about the Gcc-bugs mailing list