This is the mail archive of the gcc-patches@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: [PATH] PR 5126, fix for m68k PIC optimization bug


On Sun, 16 Dec 2001, Roman Zippel wrote:

> How should this be done in legitimize_pic_address?
> Anyway, with a prologue/epilogue pattern the pic load is nicely
> optimized away, what might be the most elegant solution. I hope to have
> these patches ready for submission soon, but until then I think your
> first suggestion is the easiest solution.

After looking more closely at gcc-current, the problem has been worked
around since revision 1.33 of m68k.c, so my statement in the PR that
gcc-current is affected is false. Release 2.95.[23] are still affected
though.

Andreas Schwab (who committed 1.33) may be able to shed some more light on
the reason for the change.

FWIW, I've just committed the patch in PR 5126 to NetBSD's 2.95.3 source
in lieu of a proper fix.

Cheers, Steve



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