public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/46018] [4.6 Regression] Bootstrap fails on i386-pc-solaris2.10
Date: Wed, 03 Nov 2010 13:13:00 -0000	[thread overview]
Message-ID: <20101103131300.xwf0P-ghURiCXE004RCcSfa7P_ihgnCcwa0VmiumQMg@z> (raw)
In-Reply-To: <bug-46018-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #15 from Rainer Orth <ro at gcc dot gnu.org> 2010-11-03 13:12:51 UTC ---
After the fix for PR tree-optimization/46286 went in, I'm seeing this ICE, too:

Running

$ cc1 -fpreprocessed insn-recog.i -quiet -dumpbase insn-recog.c -mtune=generic
-march=pentium4 -auxbase-strip insn-recog.o -g -O2 -Wextra -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -version
-fno-common -o insn-recog.s

Breakpoint 1, fancy_abort (file=0xa44117c <error reading variable>, line=1881,
function=0xa448460 <error reading variable>) at
/vol/gcc/src/hg/trunk/local/gcc/diagnostic.c:881
(gdb) where
#0  fancy_abort (file=0xa44117c <error reading variable>, line=1881,
function=0xa448460 <error reading variable>) at
/vol/gcc/src/hg/trunk/local/gcc/diagnostic.c:881
#1  0x08578396 in dwarf2out_frame_debug_adjust_cfa (pat=0xfa6a7e04,
label=0xa765edc <error reading variable>) at
/vol/gcc/src/hg/trunk/local/gcc/dwarf2out.c:1881
#2  0x08579e13 in dwarf2out_frame_debug (insn=0xf8395d38, after_p=1 '<error
reading variable>) at /vol/gcc/src/hg/trunk/local/gcc/dwarf2out.c:2779
#3  0x08687db0 in final_scan_insn (insn=0xf8395d38, file=0xa87d6d8,
optimize_p=2, nopeepholes=0, seen=0x8047144) at
/vol/gcc/src/hg/trunk/local/gcc/final.c:2706
#4  0x0868673a in final (first=0xfb9a8cc0, file=0xa87d6d8, optimize_p=2) at
/vol/gcc/src/hg/trunk/local/gcc/final.c:1719
#5  0x0868a13b in rest_of_handle_final () at
/vol/gcc/src/hg/trunk/local/gcc/final.c:4231
#6  0x08b2cce0 in execute_one_pass (pass=0xa75cd20) at
/vol/gcc/src/hg/trunk/local/gcc/passes.c:1560
#7  0x08b2ceaf in execute_pass_list (pass=0xa75cd20) at
/vol/gcc/src/hg/trunk/local/gcc/passes.c:1615
#8  0x08b2cecf in execute_pass_list (pass=0xa75d480) at
/vol/gcc/src/hg/trunk/local/gcc/passes.c:1616
#9  0x08b2cecf in execute_pass_list (pass=0xa75d440) at
/vol/gcc/src/hg/trunk/local/gcc/passes.c:1616
#10 0x090ee195 in tree_rest_of_compilation (fndecl=0xfea21b00) at
/vol/gcc/src/hg/trunk/local/gcc/tree-optimize.c:422
#11 0x09a5c00d in cgraph_expand_function (node=0xfd6bfa50) at
/vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:1493
#12 0x09a5c1ac in cgraph_expand_all_functions () at
/vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:1552
#13 0x09a5c757 in cgraph_optimize () at
/vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:1808
#14 0x09a5a7bf in cgraph_finalize_compilation_unit () at
/vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:1016
#15 0x081095a0 in c_write_global_declarations () at
/vol/gcc/src/hg/trunk/local/gcc/c-decl.c:9827
#16 0x08e48ef5 in compile_file () at
/vol/gcc/src/hg/trunk/local/gcc/toplev.c:931
#17 0x08e4b05c in do_compile () at
/vol/gcc/src/hg/trunk/local/gcc/toplev.c:2359
#18 0x08e4b187 in toplev_main (argc=30, argv=0x8047408) at
/vol/gcc/src/hg/trunk/local/gcc/toplev.c:2419
#19 0x082a6cee in main (argc=30, argv=0x8047408) at
/vol/gcc/src/hg/trunk/local/gcc/main.c:36

This gcc_assert triggers (in dwarf2out.c (dwarf2out_frame_debug_adjust_cfa)):

  switch (GET_CODE (src))
    {
    case PLUS:
      gcc_assert (REGNO (XEXP (src, 0)) == cfa.reg);
      cfa.offset -= INTVAL (XEXP (src, 1));
      break;


  parent reply	other threads:[~2010-11-03 13:13 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14 15:30 [Bug bootstrap/46018] New: " ahaas at airmail dot net
2010-10-14 15:34 ` [Bug bootstrap/46018] [4.6 Regression] " pinskia at gcc dot gnu.org
2010-10-14 15:57 ` hjl.tools at gmail dot com
2010-10-14 15:58 ` hjl.tools at gmail dot com
2010-10-14 20:11 ` ahaas at airmail dot net
2010-10-14 20:14 ` ahaas at airmail dot net
2010-10-16 19:16 ` ahaas at airmail dot net
2010-10-17 15:45 ` ahaas at airmail dot net
2010-10-18 15:04 ` ahaas at airmail dot net
2010-10-18 15:37 ` joseph at codesourcery dot com
2010-10-18 21:28 ` ahaas at airmail dot net
2010-10-21 18:42 ` hjl.tools at gmail dot com
2010-10-26 14:40 ` ahaas at airmail dot net
2010-10-30 13:59 ` hjl.tools at gmail dot com
2010-10-30 17:55 ` ahaas at airmail dot net
2010-11-03 13:11 ` ro at gcc dot gnu.org
2010-11-03 13:13 ` ro at gcc dot gnu.org [this message]
2010-11-03 17:09 ` hjl.tools at gmail dot com
2010-11-03 18:32 ` pinskia at gcc dot gnu.org
2010-11-04 12:52 ` ahaas at airmail dot net
2010-11-05 13:08 ` hjl.tools 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=20101103131300.xwf0P-ghURiCXE004RCcSfa7P_ihgnCcwa0VmiumQMg@z \
    --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).