re PR c++/84636 (internal compiler error: Segmentation fault (identifier_p()/grokdecl...
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 4 Dec 2018 23:48:45 +0000 (23:48 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 4 Dec 2018 23:48:45 +0000 (23:48 +0000)
commit586add7f93c60fe76dd2cede61801f83aadae7cd
treef907c5f6c811555ecc63753fc5305e8d869dea26
parent6c620b0744af235ceb1c07c214772895e0f73c15
re PR c++/84636 (internal compiler error: Segmentation fault (identifier_p()/grokdeclarator()))

/cp
2018-12-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84636
* decl.c (grokdeclarator): Avoid crashing on an anonymous bit-field
with function type.

/testsuite
2018-12-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84636
* g++.dg/parse/bitfield6.C: New.

From-SVN: r266807
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/bitfield6.C [new file with mode: 0644]