[Bug c++/69912] [6 regression] ICE in build_ctor_subob_ref initializing a flexible array member
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 24 17:24:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69912
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Wed Feb 24 17:23:35 2016
New Revision: 233678
URL: https://gcc.gnu.org/viewcvs?rev=233678&root=gcc&view=rev
Log:
PR c++/69912 - [6 regression] ICE in build_ctor_subob_ref initializing
a flexible array member
gcc/testsuite/ChangeLog:
2016-02-24 Martin Sebor <msebor@redhat.com>
PR c++/69912
* g++.dg/ext/flexary15.C: New test.
gcc/cp/ChangeLog:
2016-02-24 Martin Sebor <msebor@redhat.com>
PR c++/69912
* tree.c (build_ctor_subob_ref): Compare types' main variants
instead of the types as they are.
Added:
trunk/gcc/testsuite/g++.dg/ext/flexary15.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list