http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50091
--- Comment #8 from Iain Sandoe <iains at gcc dot gnu.org> 2011-09-03 14:17:12 UTC --- (In reply to comment #7) > Created attachment 25182 [details] > Tentative fix > > Untested as of this writing. Thanks, starting bootstrap in a minute .. . ... your patch + this (and some unrelated fixes for powerpc ADA bootstrap): Index: gcc/config/rs6000/rs6000.c =================================================================== @@ -19303,7 +19308,10 @@ output_asm_insn ("{cal %0,%1(%0)|addi %0,%0,%1}", xops); /* Probe at TEST_ADDR and branch. */ - output_asm_insn ("{st|stw} 0,0(%0)", xops); + if (TARGET_MACHO) + output_asm_insn ("{st|stw} r0,0(%0)", xops); + else + output_asm_insn ("{st|stw} 0,0(%0)", xops); fprintf (asm_out_file, "\tb "); assemble_name_raw (asm_out_file, loop_lab); fputc ('\n', asm_out_file);