This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [LTO][PATCH] Fix problem in EH fix-up due to a previouls merge error.


On Tue, 2008-09-30 at 16:48 -0400, Diego Novillo wrote:
> 2008/9/30 Doug Kwan (éæå) <dougkwan@google.com>:
> > Commited.  Cherry-picking works again.  Currently there is no
> > multi-file LTO test case and I think we want have some to avoid
> > unnoticed future breakage of WPA or LTO --combine.
> 
> Agreed.  Just add them to testsuite/gcc.dg/lto and/or
> testsuite/g++.dg/lto.  However, you may need to write some dejagnu
> harness.
> 
> Janice, is there support in dg.exp to write multi-file tests?
> Essentially we need to do:
> 
> $ gcc -c -flto a.c
> $ gcc -c -flto b.c
> $ gcc -o prog -flto a.o b.o

There's dg-additional files, but that puts them all onto the same
command line which isn't what you want.

Take a look at the compat tests, and lib/compat.exp.  You could
either use that framework or else modify it so it's appropriate
for LTO tests.  You'll probably want tests with lots of files
and will need a new framework anyway.  Let me know if you have
questions about how to do what you need.

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]