[PATCH] Fix PR target/19211, Ada bootstrap failure on ppc-darwin

Andrew Pinski pinskia@physics.uc.edu
Fri Dec 31 03:42:00 GMT 2004


The problem here is that we are trying to use pic_offset_table_rtx when
we are in -mydynamic-no-pic mode.  We checked to see if the orig is
a register but we forgot to check if it is a subregister.  I cannot
find a C testcase for this though.

OK? Bootstrapped and tested on ppc-darwin with no regressions.

Thanks,
Andrew Pinski

ChangeLog:

	* config/darwin.c (machopic_legitimize_pic_address): If the orig
	is subregister return orig.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tt.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041231/cd23989c/attachment.txt>


More information about the Gcc-patches mailing list