http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53790
--- Comment #4 from Samuel Jacob 2012-06-27
21:31:25 UTC ---
Also this doesnt happen with extern structures and variables.
ie
typedef struct u u_t; or typedef int u_t;
is not causing the ICE.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53790
Samuel Jacob changed:
What|Removed |Added
Known to work||4.5.3
--- Comment #3 from Samuel Jacob 20
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53790
--- Comment #2 from Andrew Pinski 2012-06-27
21:19:47 UTC ---
I think this could should be rejected as "extern u_t extern_var;" is declaring
a variable with an unknown size.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53790
--- Comment #1 from Samuel Jacob 2012-06-27
21:18:03 UTC ---
Adding back trace just in case if it is needed..
(gdb) bt
#0 0x005b999e in expand_expr_real_1 (exp=0x770b9580,
target=, tmode=VOIDmode, modifier=EXPAND_NORMAL,
alt_rtl=)