[Bug c/64768] [4.8/4.9/5 Regression] internal compiler error: tree check:=?UTF-8?Q?=20expected=20tree=20that=20contains=20=E2=80=98decl=20with=20RTL=E2=80=99=20structure?=,=?UTF-8?Q?=20have=20=E2=80=98field=5Fdecl=E2=80=99=20in=20set=5Fdecl=5Frtl?=, at emit-rtl.c:1274

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 24 10:46:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64768

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
And even better:

typedef int A[];
struct { int i; A a; } a;

Clang accepts the code, we say (released compiler):
ice2.c:2:19: error: array size missing in ‘a’
 struct { int i; A a; } a;
                   ^
and ICE with checking enabled since 4.6.


More information about the Gcc-bugs mailing list