GCC 3.2 sparc-sun-solaris2.8 bootstrap fails with ICE: SEGV in calculate_global_regs_live

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Thu May 16 14:03:00 GMT 2002


Zdenek Dvorak writes:

> This should help (but considering that there are problems even on i686 where
> I tested it, it might be better to revert the patch):

This allowed me to finish stage1, but early in stage2, I get a GNAT ICE:

stage1/xgcc -Bstage1/ -B/vol/gcc/share/sparc-sun-solaris2.8/bin/ -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I/vol/gnu/src/gcc/gcc-dist/gcc/ada /vol/gnu/src/gcc/gcc-dist/gcc/ada/comperr.adb -o ada/comperr.o
+===========================GNAT BUG DETECTED==============================+
| 3.1 (20020212) (sparc-sun-solaris2.8) internal error: Segmentation Fault |
| Error detected at /vol/gnu/src/gcc/gcc-dist/gcc/ada/comperr.adb:392:7    |

This time it's a SEGV in mark_target_live_regs, resource.c (l.980) :

      regset regs_live = BASIC_BLOCK (b)->global_live_at_start;

with b = NULL ;-(

	Rainer



More information about the Gcc-bugs mailing list