]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR tree-optimization/70169 (ICE at -O1 and above on x86_64-linux-gnu...
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 Jul 2016 21:49:12 +0000 (23:49 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Jul 2016 21:49:12 +0000 (23:49 +0200)
commitf3790390a97fffc4627e4dfef0284f485b441d6c
treeba089c9d26fbe5329ccbddee014c160139defcb4
parentbad8a3fbf1775237554976af07c45c3d35e5e913
backport: 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)

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.

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