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]

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


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.

Attachment: tt.diff.txt
Description: Text document


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