]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/70169 (ICE at -O1 and above on x86_64-linux-gnu in gen_lsm_tm...
authorJakub Jelinek <jakub@redhat.com>
Fri, 11 Mar 2016 12:05:58 +0000 (13:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 11 Mar 2016 12:05:58 +0000 (13:05 +0100)
commit02d472a2cb30a5692a57b2fc021b2fa043c84213
tree65d78c3207bb985720bd097355723a2b16c5dc5f
parent0f9befa1413555608a7f1d1c6bb1982101314a7c
re PR tree-optimization/70169 (ICE at -O1 and above on x86_64-linux-gnu in gen_lsm_tmp_name, at tree-ssa-loop.c:791)

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.

From-SVN: r234136
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr70169.c [new file with mode: 0644]
gcc/tree-ssa-loop.c