[PATCH] Make mixed C/C++ LTO testcases possible

Diego Novillo dnovillo@google.com
Thu Jun 3 15:24:00 GMT 2010


On Thu, Jun 3, 2010 at 11:19, Richard Guenther <rguenther@suse.de> wrote:

>      set compiler_conditional_xfail_data $xfaildata
> !
> !     # Allow C source files to mix freely with other languages
> !     if [ string match "*.c" $source ] then {
> !       set comp_output [gcc_target_compile "$source" "$dest" object $options]
> !     } else {
> !       set comp_output [${tool}_target_compile "$source" "$dest" object $options]
> !     }

This would not allow mixing fortran and c++, but we can always add
more as needed.

Patch is OK.


Diego.



More information about the Gcc-patches mailing list