regression error: ss-990405

Marc Espie espie@tetto.liafa.jussieu.fr
Tue Apr 6 09:24:00 GMT 1999


`make bootstrap' on i386-openbsd-25 (current) fails in chillstdio.c.

Looking more closely at it, it's __attribute__((constructor)) that's broken.

The following fragment:

static void setup_stdinout (void) __attribute__((constructor));
static void
setup_stdinout ()
{
}

yields the same error, that is:

/usr/ports/lang/egcs-snapshot/work/build-i386/gcc/xgcc -B/usr/ports/lang/egcs-snapshot/work/build-i386/gcc/ -B/usr/local/i386-unknown-openbsd2.5/bin/ -c -O2  -v chillstdio.i
Reading specs from /usr/ports/lang/egcs-snapshot/work/build-i386/gcc/specs
gcc version egcs-2.93.16 19990405 (gcc2 ss-980929 experimental)
 /usr/ports/lang/egcs-snapshot/work/build-i386/gcc/cc1 chillstdio.i -quiet -O2 -version -o /var/tmp/ccz24779.s
GNU C version egcs-2.93.16 19990405 (gcc2 ss-980929 experimental) (i386-unknown-openbsd2.5) compiled by GNU C version egcs-2.93.16 19990405 (gcc2 ss-980929 experimental).
/usr/ports/lang/egcs-snapshot/work/egcs-19990405/gcc/reload1.c:1617: Internal compiler error in function calculate_needs


More information about the Gcc-bugs mailing list