[Bug c++/84636] internal compiler error: Segmentation fault (identifier_p()/grokdeclarator())
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 4 23:49:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84636
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Dec 4 23:48:45 2018
New Revision: 266807
URL: https://gcc.gnu.org/viewcvs?rev=266807&root=gcc&view=rev
Log:
/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.
Added:
trunk/gcc/testsuite/g++.dg/parse/bitfield6.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list