This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix x86-64 crash (3.1?)
On Thu, Feb 28, 2002 at 11:21:36AM +0100, Jan Hubicka wrote:
> > On Wed, Feb 27, 2002 at 05:00:57PM +0100, Jan Hubicka wrote:
> > > ! if (flag_pic && !TARGET_64BIT)
> >
> > How about (PIC_OFFSET_TABLE_REGNUM != INVALID_REGNUM) instead?
> >
> > Ok with that change.
> But after all, isn't that piece of code wrong?
No.
> With PIC there are still functions that do not need PIC register
> and then it is not fixed.
No, for 32-bit code, -fpic means ebx is fixed, always.
r~