Problems with "-fpic" on x86
Jeffrey A Law
law@upchuck.cygnus.com
Wed Apr 14 00:01:00 GMT 1999
In message <3630A6EA.5D56F9A4@geocities.com>you write:
> Hello!
>
> Today's EGCS fails to compile following program
> ===================
> int main ()
> {
> int code;
> static char table[1];
> return *(table + code);
> }
> ===================
> [proski@zorro egcs-bug]$ /usr/local/src/egcs/gcc/cc1 -fpic ole2nls.i
> main
> ole2nls.i: In function `main':
> ole2nls.i:6: internal error--unrecognizable insn:
> (insn 11 9 13 (set (reg:SI 25)
> (const (unspec[
> (symbol_ref/v:SI ("table.2"))
> ] 7))) -1 (nil)
> (nil))
> toplev.c:1374: Internal compiler error in function fatal_insn
This bug was fixed a while ago.
Thanks,
jeff
More information about the Gcc-bugs
mailing list