This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[lto][testsuite]: Handling multi-language test cases?
- From: Diego Novillo <dnovillo at google dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Janis Johnson <janis187 at us dot ibm dot com>
- Date: Thu, 12 Mar 2009 12:40:46 -0400
- Subject: [lto][testsuite]: Handling multi-language test cases?
I need to compile a multi-file test case where each file needs to use
a different front end to generate IL. This is to process the test
case I posted with http://gcc.gnu.org/ml/gcc/2009-03/msg00316.html.
I partially succeeded by putting the files in g++.dg/lto and using '-x
c' on the second file, but the harness uses -nostdinc++ which is not
understood by the C front end.
Janis, is there an easy way around this?
Thanks. Diego.