--enable-werror-always fails function.o for any non-pic target

Ian Lance Taylor iant@google.com
Sat Nov 5 03:44:00 GMT 2011


DJ Delorie <dj@redhat.com> writes:

>> Does it help if we change
>>     if (pic_offset_table_rtx)
>> to
>>     if (PIC_OFFSET_TABLE_REGNUM != INVALID_REGNUM)
>
> That seems to work.

That patch is fine if it bootstraps.

Ian



More information about the Gcc mailing list