This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/64768] [4.8/4.9/5 Regression] internal compiler error: tree check: expected tree that contains âdecl with RTLâ structure, have âfield_declâ in set_decl_rtl, at emit-rtl.c:1274


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

--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Sat, 24 Jan 2015, mpolacek at gcc dot gnu.org wrote:

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

This is valid code for C99 and above / gnu89 (i.e., it's valid to use a 
typedef when declaring a flexible array member, whenever flexible array 
members are accepted).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]