------- Comment #9 from jakub at gcc dot gnu dot org 2010-03-08 18:11 ------- x is: (unspec:DI [ (symbol_ref/u:DI ("*LC0") [flags 0x2]) ] 50)
Guess rs6000_delegitimize_address needs to handle UNSPEC_MACHOPIC_OFFSET. ix86_delegitimize_address handles it, so assuming it means the same on ppc too, you should just add similar support for it for TARGET_MACHO. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287