re PR c++/52906 (ICE: SIGSEGV in check_tag_decl (decl.c:4230) with "__attribute__...
authorJason Merrill <jason@redhat.com>
Wed, 11 Apr 2012 17:55:12 +0000 (13:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 11 Apr 2012 17:55:12 +0000 (13:55 -0400)
commit701bd2a2ccb8b091e0d08e62bb371d8cc0ed13a7
tree4b1a4040cb42a0e7ca224d62611f525de4005b50
parentadee67b338a5ead5ac96d97a81c9bd47cd6b80b1
re PR c++/52906 (ICE: SIGSEGV in check_tag_decl (decl.c:4230) with "__attribute__ ((__deprecated__));" alone)

PR c++/52906
* decl.c (check_tag_decl): Don't complain about attributes if we
don't even have a type.

From-SVN: r186345
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attrib45.C [new file with mode: 0644]