regression error: ss-990405
Jeffrey A Law
law@upchuck.cygnus.com
Thu Apr 8 23:57:00 GMT 1999
In message < 19990406182444.A19233@tetto.liafa.jussieu.fr >you write:
> `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/eg
> cs-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-unk
> nown-openbsd2.5) compiled by GNU C version egcs-2.93.16 19990405 (gcc2 ss-9
> 80929 experimental).
> /usr/ports/lang/egcs-snapshot/work/egcs-19990405/gcc/reload1.c:1617: Intern
> al compiler error in function calculate_needs
This makes absolutely no sense. The constructor attribute doesn't effect
code generation in that part of the compiler (reload)
The code also compiles just fine for me. I can't work on the problem if I
can't reproduce the failure.
More information about the Gcc-bugs
mailing list