[Bug c++/97947] [11 Regression] ICE in digest_init_r, at cp/typeck2.c:1145
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 23 18:26:45 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97947
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
We crash here
1143 /* Come here only for aggregates: records, arrays, unions, complex
numbers
1144 and vectors. */
1145 gcc_assert (code == ARRAY_TYPE
1146 || VECTOR_TYPE_P (type)
1147 || code == RECORD_TYPE
1148 || code == UNION_TYPE
1149 || code == COMPLEX_TYPE);
because code == OPAQUE_TYPE.
More information about the Gcc-bugs
mailing list