public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/45141] lto1 ICEs when linking cns_solve again
Date: Fri, 30 Jul 2010 10:47:00 -0000	[thread overview]
Message-ID: <20100730104739.32687.qmail@sourceware.org> (raw)
In-Reply-To: <bug-45141-11113@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2010-07-30 10:47 -------
The ICE in lto1 backtraces as...

gdb /sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.4.0/4.6.0/lto1


(gdb) r  -fPIC -feliminate-unused-debug-symbols -quiet -dumpdir ./ -dumpbase
cns_solve-1007222053.exe.ltrans2 -mmacosx-version-min=10.6.4 -mtune=generic
-auxbase-strip cns_solve-1007222053.exe.ltrans2.ltrans.o -g -O2 -w -version
-fdefault-integer-8 -fwhole-program -fltrans cns_solve-1007222053.exe.ltrans2.o
-o cns_solve-1007222053.exe.ltrans2.s
Starting program:
/sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.4.0/4.6.0/lto1 -fPIC
-feliminate-unused-debug-symbols -quiet -dumpdir ./ -dumpbase
cns_solve-1007222053.exe.ltrans2 -mmacosx-version-min=10.6.4 -mtune=generic
-auxbase-strip cns_solve-1007222053.exe.ltrans2.ltrans.o -g -O2 -w -version
-fdefault-integer-8 -fwhole-program -fltrans cns_solve-1007222053.exe.ltrans2.o
-o cns_solve-1007222053.exe.ltrans2.s
Reading symbols for shared libraries .++++++++++++..... done
GNU GIMPLE (GCC) version 4.6.0 20100729 (experimental)
(x86_64-apple-darwin10.4.0)
        compiled by GNU C version 4.6.0 20100729 (experimental), GMP version
4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU GIMPLE (GCC) version 4.6.0 20100729 (experimental)
(x86_64-apple-darwin10.4.0)
        compiled by GNU C version 4.6.0 20100729 (experimental), GMP version
4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
expand_expr_real_1 (exp=0x1425365d8, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc-4.6-20100729/gcc/expr.c:8667
8667            if (INDIRECT_REF_P (base)
(gdb) bt
#0  expand_expr_real_1 (exp=0x1425365d8, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc-4.6-20100729/gcc/expr.c:8667
#1  0x000000010033c82f in expand_expr_real (exp=0x1425365d8, target=<value
temporarily unavailable, due to optimizations>, tmode=<value temporarily
unavailable, due to optimizations>, modifier=<value temporarily unavailable,
due to optimizations>, alt_rtl=<value temporarily unavailable, due to
optimizations>) at ../../gcc-4.6-20100729/gcc/expr.c:7231
#2  0x0000000100337266 in expand_expr_real_1 (exp=0x142530d68, target=0x0,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at expr.h:422
#3  0x00000001002ceb68 in do_jump (exp=0x142530d68, if_false_label=0x0,
if_true_label=0x1425439d8, prob=10000) at expr.h:428
#4  0x000000010025cfc1 in expand_gimple_cond (bb=<value temporarily
unavailable, due to optimizations>, stmt=0x142529960) at
../../gcc-4.6-20100729/gcc/cfgexpand.c:1692
#5  0x000000010025dea1 in expand_gimple_basic_block (bb=0x142516f70) at
../../gcc-4.6-20100729/gcc/cfgexpand.c:3328
#6  0x0000000100262e48 in gimple_expand_cfg () at
../../gcc-4.6-20100729/gcc/cfgexpand.c:3881
#7  0x00000001004f7386 in execute_one_pass (pass=0x100aae920) at
../../gcc-4.6-20100729/gcc/passes.c:1564
#8  0x00000001004f765d in execute_pass_list (pass=0x100aae920) at
../../gcc-4.6-20100729/gcc/passes.c:1619
#9  0x00000001006289ac in tree_rest_of_compilation (fndecl=0x142519b00) at
../../gcc-4.6-20100729/gcc/tree-optimize.c:452
#10 0x00000001007f747d in cgraph_expand_function (node=0x14251f2b0) at
../../gcc-4.6-20100729/gcc/cgraphunit.c:1643
#11 0x00000001007fa6fa in cgraph_optimize () at
../../gcc-4.6-20100729/gcc/cgraphunit.c:1722
#12 0x0000000100019e14 in lto_main (debug_p=<value temporarily unavailable, due
to optimizations>) at ../../gcc-4.6-20100729/gcc/lto/lto.c:2038
#13 0x00000001005ba96a in toplev_main (argc=22, argv=0x7fff5fbfee50) at
../../gcc-4.6-20100729/gcc/toplev.c:945
#14 0x00000001000010b4 in start ()
(gdb) 


-- 


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


  parent reply	other threads:[~2010-07-30 10:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-30 10:42 [Bug lto/45141] New: " howarth at nitro dot med dot uc dot edu
2010-07-30 10:43 ` [Bug lto/45141] " howarth at nitro dot med dot uc dot edu
2010-07-30 10:47 ` howarth at nitro dot med dot uc dot edu [this message]
2010-07-30 11:01 ` rguenth at gcc dot gnu dot org
2010-07-30 11:02 ` rguenth at gcc dot gnu dot org

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=20100730104739.32687.qmail@sourceware.org \
    --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).