public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: David.Billinghurst@riotinto.com
To: gcc-gnats@gcc.gnu.org
Cc: KelleyCook@comcast.net, vmakarov@redhat.com
Subject: bootstrap/9560: [3.4] Cygwin bootstrap failure - ICE in insn_default_latency
Date: Tue, 04 Feb 2003 00:26:00 -0000	[thread overview]
Message-ID: <20030204002305.26177.qmail@sources.redhat.com> (raw)


>Number:         9560
>Category:       bootstrap
>Synopsis:       [3.4] Cygwin bootstrap failure - ICE in insn_default_latency
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 04 00:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        gcc-3.4 since
>Organization:
>Environment:
i686-pc-cygwin
>Description:
As reported http://gcc.gnu.org/ml/gcc-bugs/2003-01/msg00826.html, this patch won't bootstrap on cygwin.

>   The following patch merges changes on itanium-sched-branch into the main line.
> 
> 2003-01-09  Vladimir Makarov  <vmakarov@redhat.com>
> 
>         The following changes are merged from itanium-sched-branch:
> 
>         2003-01-08  David Edelsohn  <edelsohn@gnu.org>
> 
>         * doc/md.texi: Clarify assignment of units to automata description.
> 
>         2003-01-08  Vladimir Makarov  <vmakarov@redhat.com>
> 
>         * genautomata.c (unit_decl): Remove members
>         `the_same_automaton_unit' and
>         `the_same_automaton_message_reported_p'.
>         (process_unit_to_form_the_same_automaton_unit_lists,
>         form_the_same_automaton_unit_lists_from_regexp,
>         form_the_same_automaton_unit_lists, the_same_automaton_lists):
>         Remove them.
>         (annotation_message_reported_p): New global variable.
>         (check_unit_distribution_in_reserv,
>         check_regexp_units_distribution): New functions.
>         (check_unit_distributions_to_automata): Rewrite it.
> 
>         2003-01-04  Vladimir Makarov  <vmakarov@redhat.com>
> 
>         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
>         Use continue instead of break if cycle is too big.

This patch causes a stage3 bootstrap failure on i686-cygwin-pc.

  transformation: 0.016000, building DFA: 0.312000
  DFA minimization: 0.000000, making insn equivalence: 0.000000
  all automaton generation: 0.344000, output: 0.109000
/bin/sh /CVSTree/gcc/gcc/move-if-change tmp-attrtab.c insn-attrtab.c
echo timestamp > s-attrtab
stage2/xgcc.exe -Bstage2/ -B/usr/local/i686-pc-cygwin/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common  -DHAVE_CONFIG_H  -DCYGWIN_CROSS_DIR=\"/usr/local/i686-pc-cygwin\" -I. -I. -I/CVSTree/gcc/gcc -I/CVSTree/gcc/gcc/. -I/CVSTree/gcc/gcc/config -I/CVSTree/gcc/gcc/../include -c insn-attrtab.c \
  -o insn-attrtab.o
insn-attrtab.c: In function `insn_default_latency':
insn-attrtab.c:5655: internal compiler error: Segmentation fault
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

gdb reveals:

During symbol reading, struct/union type gets multiply defined: struct function.
During symbol reading, struct/union type gets multiply defined: struct function.
During symbol reading, struct/union type gets multiply defined: struct rtx_def.
During symbol reading, struct/union type gets multiply defined: struct rtvec_def.
During symbol reading, struct/union type gets multiply defined: struct basic_block_def.

Program received signal SIGSEGV, Segmentation fault.
0x00608507 in mirror_conflicts () at /CVSTree/gcc/gcc/global.c:1399
1399                    *q2 |= mask;
(gdb) backtrace
#0  0x00608507 in mirror_conflicts () at /CVSTree/gcc/gcc/global.c:1399
#1  0x0060694e in global_alloc (file=0x0) at /CVSTree/gcc/gcc/global.c:497
#2  0x0048a2ce in rest_of_compilation (decl=0x194e150)
    at /CVSTree/gcc/gcc/toplev.c:3304
#3  0x0042d54c in c_expand_body (fndecl=0x194e150, nested_p=0, can_defer_p=1)
    at /CVSTree/gcc/gcc/c-decl.c:6539
#4  0x0042d067 in finish_function (nested=0, can_defer_p=1)
    at /CVSTree/gcc/gcc/c-decl.c:6410
#5  0x0040a4b0 in yyparse () at c-parse.y:405
#6  0x00418a29 in c_common_parse_file (set_yydebug=0)
    at /CVSTree/gcc/gcc/c-lex.c:161
#7  0x0048879d in compile_file () at /CVSTree/gcc/gcc/toplev.c:2128
#8  0x0048edd5 in do_compile () at /CVSTree/gcc/gcc/toplev.c:5352
#9  0x0048ee79 in toplev_main (argc=56, argv=0xa041780)
    at /CVSTree/gcc/gcc/toplev.c:5382
#10 0x0047de87 in main (argc=56, argv=0xa041780) at /CVSTree/gcc/gcc/main.c:37
#11 0x61007638 in _libkernel32_a_iname ()
#12 0x6100791d in _libkernel32_a_iname ()
#13 0x0076d2e2 in cygwin_crt0 ()
#14 0x0040103c in mainCRTStartup ()
#15 0x77e814c7 in _libkernel32_a_iname ()
(gdb)
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2003-02-04  0:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-04  0:26 David.Billinghurst [this message]
2003-03-10 21:26 Vladimir Makarov
2003-03-10 22:36 billingd

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=20030204002305.26177.qmail@sources.redhat.com \
    --to=david.billinghurst@riotinto.com \
    --cc=KelleyCook@comcast.net \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=vmakarov@redhat.com \
    /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).