PATCH RFA: New option: -fno-toplevel-order

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Mon Jan 9 07:40:00 GMT 2006


> I tested this patch on i686-pc-linux-gnu without Ada.
> 
> 1) I bootstrapped/compared the patched compiler.
> 2) I bootstrapped/compared patched compiler with BOOT_CFLAGS="-g -O2
>    -fno-toplevel-reorder", which compiles the whole compiler with
>    -fno-toplevel-reorder.
> 3) I ran the testsuite the usual way.
> 4) I ran the testsuite with --target_board=unix/-fno-toplevel-reorder,
>    which runs all the tests with -fno-toplevel-reorder.

I'd suggest to test a combined tree.  The tree that I use for my work at 
USI has Daniel's patch and I had to modify both crtstuff.c and newlib.

The symptom is that some asm blocks were put *twice* in the output.

Paolo



More information about the Gcc-patches mailing list