[lto] Add test case for ICE after error messages

Mark Mitchell mark@codesourcery.com
Wed Dec 3 00:14:00 GMT 2008


Diego Novillo wrote:

> For multifile tests, however, lto.exp interprets dg-options as:
> 
> $ gcc -O2 file1.c
> $ gcc -fother-flag file2.c
> 
> Alternatively, lto.exp could always interpret dg-options
> 
> $ gcc -O2 -fother-flag file1.c
> $ gcc -O2 -fother-flag file2.c

I like this better.  If we need to test different options between the
two files, let's find some other way of doing that.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list