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.