public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/12624] [3.4 Regression] [unit-at-a-time] ICE in notice_global_symbol
Date: Thu, 23 Oct 2003 06:41:00 -0000	[thread overview]
Message-ID: <20031023061506.28573.qmail@sources.redhat.com> (raw)
In-Reply-To: <20031015151629.12624.hjl@lucon.org>

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |c++
  GCC build triplet|ia64-unknown-linux-gnu      |
   GCC host triplet|ia64-unknown-linux-gnu      |
 GCC target triplet|ia64-unknown-linux-gnu      |
           Keywords|                            |build, ice-on-valid-code
            Summary|Gcc failed to bootstrap on  |[3.4 Regression] [unit-at-a-
                   |ia64                        |time] ICE in
                   |                            |notice_global_symbol
   Target Milestone|---                         |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-23 06:14 -------
I can reproduce this with the simplifed testcase on powerpc-apple-darwin so this is generic bug 
not effecting only ia64.
Here is the backtrace I have:

#0  0x001e877c in notice_global_symbol (decl=0x41831d20) at /Volumes/UFS_Partition/pinskia/
src/fsf/gcc-clean/src/gcc/varasm.c:1067
#1  0x003145c4 in cgraph_varpool_mark_needed_node (node=0x41833018) at /Volumes/
UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cgraph.c:476
#2  0x002fce10 in rest_of_decl_compilation (decl=0x41831d20, asmspec=0x41015a98 "r13", 
top_level=1, at_end=0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/toplev.c:
1950
#3  0x00021428 in cp_finish_decl (decl=0x41831d20, init=0x0, asmspec_tree=0x41831d20, 
flags=0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/decl.c:4577
#4  0x0005912c in cp_parser_init_declarator (parser=0x440000, decl_specifiers=0x450000, 
prefix_attributes=0x0, function_definition_allowed_p=4521984, member_p=false, 
declares_class_or_enum=1099111712, function_definition_p=0x41015a98) at /Volumes/
UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/parser.c:9492
#5  0x00059454 in cp_parser_simple_declaration (parser=0x41015a98, 
function_definition_allowed_p=1099111712) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-
clean/src/gcc/cp/parser.c:6156
#6  0x00051b34 in cp_parser_block_declaration (parser=0x41831af0, statement_p=false) at /
Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/parser.c:6072
#7  0x0005a7cc in cp_parser_declaration (parser=0x41831af0) at /Volumes/UFS_Partition/
pinskia/src/fsf/gcc-clean/src/gcc/cp/parser.c:5992
#8  0x0005aabc in cp_parser_declaration_seq_opt (parser=0x41831af0) at /Volumes/
UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/parser.c:5901
#9  0x0005ac98 in c_parse_file () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/
cp/parser.c:2163
#10 0x000b1034 in c_common_parse_file (set_yydebug=1099111712) at /Volumes/UFS_Partition/
pinskia/src/fsf/gcc-clean/src/gcc/c-opts.c:1226
#11 0x003115f4 in toplev_main (argc=4453932, argv=0x41831af0) at /Volumes/UFS_Partition/
pinskia/src/fsf/gcc-clean/src/gcc/toplev.c:1830
#12 0x000028a0 in _start (argc=15, argv=0xbffffba0, envp=0xbffffbe0) at /SourceCache/Csu/
Csu-46/crt.c:267
#13 0x00002714 in start ()

Also can reproduce with this on i686-pc-linux:
register int foo __asm__ ("ebx");

>From Phil's regression hunter with that testcase: Search converges between 2003-08-18-trunk 
(#376) and 2003-08-19-trunk (#377).

You just need the option -funit-a-at-time flag to reproduce this.


  parent reply	other threads:[~2003-10-23  6:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-15 15:16 [Bug target/12624] New: Gcc failed to bootstrap on ia64 hjl at lucon dot org
2003-10-15 15:17 ` [Bug target/12624] " hjl at lucon dot org
2003-10-23  6:15 ` wilson at gcc dot gnu dot org
2003-10-23  6:41 ` pinskia at gcc dot gnu dot org [this message]
2003-10-23 22:00 ` [Bug c++/12624] [3.4 Regression] [unit-at-a-time] ICE in notice_global_symbol wilson at specifixinc dot com
2003-10-24  7:41 ` cvs-commit at gcc dot gnu dot org
2003-10-24 16:17 ` pinskia at gcc dot gnu dot org
2005-04-29  6:12 ` cvs-commit 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=20031023061506.28573.qmail@sources.redhat.com \
    --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).