re PR ipa/65034 (ICE (segfault) on arm-linux-gnueabihf)
authorJakub Jelinek <jakub@redhat.com>
Fri, 13 Feb 2015 14:42:30 +0000 (15:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 13 Feb 2015 14:42:30 +0000 (15:42 +0100)
commit730f474bf90d59582144b23c9176276ab680ef56
tree057890be2e241d8ec94af725a0ddbbe26fa20fb6
parent1e0c223f94b886b4d4e54582a1fb4ea9b5feb722
re PR ipa/65034 (ICE (segfault) on arm-linux-gnueabihf)

PR ipa/65034
* stmt.c (emit_case_nodes): Use void_type_node instead of
NULL_TREE as LABEL_DECL type.

* decl.c (start_preparsed_function): Use void_type_node instead
of NULL_TREE as LABEL_DECL type.

* g++.dg/ipa/pr65034.C: New test.

From-SVN: r220683
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr65034.C [new file with mode: 0644]