[Bug middle-end/53790] ICE on dereferencing a extern union in asm statement

2012-06-27 Thread samueldotj at gmail dot com
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.

[Bug middle-end/53790] ICE on dereferencing a extern union in asm statement

2012-06-27 Thread samueldotj at gmail dot com
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

[Bug middle-end/53790] ICE on dereferencing a extern union in asm statement

2012-06-27 Thread pinskia at gcc dot gnu.org
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.

[Bug middle-end/53790] ICE on dereferencing a extern union in asm statement

2012-06-27 Thread samueldotj at gmail dot com
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=)