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 middle-end/53790] ICE on dereferencing a extern union in asm statement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53790

--- Comment #1 from Samuel Jacob <samueldotj at gmail dot com> 2012-06-27 21:18:03 UTC ---
Adding back trace just in case if it is needed..

(gdb) bt
#0  0x00000000005b999e in expand_expr_real_1 (exp=0x7ffff70b9580,
target=<optimized out>, tmode=VOIDmode, modifier=EXPAND_NORMAL,
alt_rtl=<optimized out>)
    at ../.././gcc/expr.c:9187
#1  0x00000000005bb50d in expand_expr_real (alt_rtl=<optimized out>,
modifier=<optimized out>, tmode=<optimized out>, target=<optimized out>,
exp=0x7ffff70b9580)
    at ../.././gcc/expr.c:7383
#2  expand_expr_real (exp=0x7ffff70b9580, target=<optimized out>,
tmode=<optimized out>, modifier=<optimized out>, alt_rtl=<optimized out>) at
../.././gcc/expr.c:7351
#3  0x00000000005b8e20 in expand_expr (modifier=EXPAND_NORMAL, mode=VOIDmode,
target=0x0, exp=<optimized out>) at ../.././gcc/expr.h:424
#4  expand_expr_real_1 (exp=0x7ffff70ba528, target=<optimized out>,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=<optimized out>) at
../.././gcc/expr.c:8992
#5  0x000000000070d4c3 in expand_expr (modifier=<optimized out>, mode=VOIDmode,
target=0x0, exp=0x7ffff70ba528) at ../.././gcc/expr.h:424
#6  expand_asm_operands (string=0x7ffff70bd168, outputs=<optimized out>,
inputs=<optimized out>, clobbers=0x7ffff70bd438, labels=0x0, vol=1, locus=1486)
    at ../.././gcc/stmt.c:898
#7  0x000000000070e20a in expand_asm_stmt (stmt=<optimized out>) at
../.././gcc/stmt.c:1187
#8  0x0000000000531b68 in expand_gimple_stmt_1 (stmt=0x7ffff70a33c0) at
../.././gcc/cfgexpand.c:1922
#9  expand_gimple_stmt (stmt=0x7ffff70a33c0) at ../.././gcc/cfgexpand.c:2084
#10 0x0000000000532ca8 in expand_gimple_basic_block (bb=0x7ffff709a1a0) at
../.././gcc/cfgexpand.c:3626
#11 0x000000000053664e in gimple_expand_cfg () at ../.././gcc/cfgexpand.c:4109
#12 0x0000000000688ee9 in execute_one_pass (pass=0x1084cc0) at
../.././gcc/passes.c:1556
#13 0x0000000000689195 in execute_pass_list (pass=0x1084cc0) at
../.././gcc/passes.c:1611
#14 0x00000000007553c1 in tree_rest_of_compilation (fndecl=0x7ffff709c800) at
../.././gcc/tree-optimize.c:422
#15 0x00000000008955af in cgraph_expand_function (node=0x7ffff7e926e0) at
../.././gcc/cgraphunit.c:1576
#16 0x000000000089720a in cgraph_expand_all_functions () at
../.././gcc/cgraphunit.c:1635
#17 cgraph_optimize () at ../.././gcc/cgraphunit.c:1899
#18 0x000000000089760a in cgraph_finalize_compilation_unit () at
../.././gcc/cgraphunit.c:1096
#19 0x000000000049ffd5 in c_write_global_declarations () at
../.././gcc/c-decl.c:9878
#20 0x000000000071a1a8 in compile_file () at ../.././gcc/toplev.c:591
#21 do_compile () at ../.././gcc/toplev.c:1900
#22 toplev_main (argc=13, argv=0x7fffffffe318) at ../.././gcc/toplev.c:1963
#23 0x00007ffff71b1c4d in __libc_start_main () from /lib/libc.so.6
#24 0x000000000048f971 in _start ()


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