This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] Add test case for ICE after error messages
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: Hans-Peter Nilsson <hp at bitrange dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 02 Dec 2008 16:13:16 -0800
- Subject: Re: [lto] Add test case for ICE after error messages
- References: <20081110012203.GA16345@google.com> <20081113063100.F55568@dair.pair.com> <b798aad50811130344raf3f03ds576b0ffb330d5727@mail.gmail.com> <49359CEC.2020607@codesourcery.com> <b798aad50812021607g1d094e1cya7b0caf13c94ebc5@mail.gmail.com>
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