This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]