This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bootstrap/9560: [3.4] Cygwin bootstrap failure - ICE in insn_default_latency


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]