public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/9560: [3.4] Cygwin bootstrap failure - ICE in insn_default_latency
@ 2003-02-04  0:26 David.Billinghurst
  0 siblings, 0 replies; 3+ messages in thread
From: David.Billinghurst @ 2003-02-04  0:26 UTC (permalink / raw)
  To: gcc-gnats; +Cc: KelleyCook, vmakarov


>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:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bootstrap/9560: [3.4] Cygwin bootstrap failure - ICE in insn_default_latency
@ 2003-03-10 22:36 billingd
  0 siblings, 0 replies; 3+ messages in thread
From: billingd @ 2003-03-10 22:36 UTC (permalink / raw)
  To: David.Billinghurst, KelleyCook, vmakarov, gcc-bugs, gcc-prs, nobody

Synopsis: [3.4] Cygwin bootstrap failure - ICE in insn_default_latency

State-Changed-From-To: open->closed
State-Changed-By: billingd
State-Changed-When: Mon Mar 10 22:36:54 2003
State-Changed-Why:
    Back in bootstrap land.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9560


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bootstrap/9560: [3.4] Cygwin bootstrap failure - ICE in  insn_default_latency
@ 2003-03-10 21:26 Vladimir Makarov
  0 siblings, 0 replies; 3+ messages in thread
From: Vladimir Makarov @ 2003-03-10 21:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR bootstrap/9560; it has been noted by GNATS.

From: Vladimir Makarov <vmakarov@redhat.com>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
	KelleyCook@comcast.net, vmakarov@redhat.com, nobody@gcc.gnu.org,
	gcc-prs@gcc.gnu.org, David.Billinghurst@riotinto.com
Cc:  
Subject: Re: bootstrap/9560: [3.4] Cygwin bootstrap failure - ICE in 
 insn_default_latency
Date: Thu, 06 Feb 2003 18:44:25 -0500

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9560
 
 This case should be closed.  I don't think that the bug has been caused
 by my patch.  Right after my patch merging PCH was been done.  Also
 there were a lot of other patches committed during several days before
 the bug was been reported.
 
 In any case, I've checked bootstrap of gcc as of Feb 4 under cygwin and
 found that the bug had been gone.
 
 Vlad


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-10 22:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-04  0:26 bootstrap/9560: [3.4] Cygwin bootstrap failure - ICE in insn_default_latency David.Billinghurst
2003-03-10 21:26 Vladimir Makarov
2003-03-10 22:36 billingd

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