http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50091
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-09-03
14:45:01 UTC ---
> 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);
Ah, thanks, I missed this. Something like the to-be-attached patch would be
more correct though, I think.