------- Comment #1 from jakub at gcc dot gnu dot org 2008-10-09 14:23 ------- Created an attachment (id=16481) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16481&action=view) gcc44-pr35760.patch
I think attached patch should fix it, it is after all what ELF does too and rs6000_legitimize_address really shouldn't create addresses that rs6000_legitimate_address (legitimate_lo_sum_address_p) won't accept. But, I have no interest nor access to darwin and so can't bootstrap it there, all I've tested is that it cures this testcase. So, if there is somebody interested in darwin, please give it a shot, otherwise I'd appreciate moving darwin out of primary/secondary arches as unmaintained. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35760