public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "samueldotj at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/53790] ICE on dereferencing a extern union in asm statement
Date: Wed, 27 Jun 2012 21:18:00 -0000	[thread overview]
Message-ID: <bug-53790-4-eUcYb1XLjT@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53790-4@http.gcc.gnu.org/bugzilla/>

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 ()


  reply	other threads:[~2012-06-27 21:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27 21:17 [Bug middle-end/53790] New: " samueldotj at gmail dot com
2012-06-27 21:18 ` samueldotj at gmail dot com [this message]
2012-06-27 21:20 ` [Bug middle-end/53790] " pinskia at gcc dot gnu.org
2012-06-27 21:25 ` samueldotj at gmail dot com
2012-06-27 21:31 ` samueldotj at gmail dot com
2012-06-28 10:00 ` [Bug middle-end/53790] [4.6/4.7/4.8 Regression] " rguenth at gcc dot gnu.org
2012-06-28 11:45 ` rguenth at gcc dot gnu.org
2012-06-28 11:53 ` rguenth at gcc dot gnu.org
2012-06-28 12:01 ` rguenth at gcc dot gnu.org
2012-06-28 12:02 ` rguenth at gcc dot gnu.org
2012-06-28 12:02 ` rguenth at gcc dot gnu.org
2012-06-29  0:26 ` samueldotj at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53790-4-eUcYb1XLjT@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).