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: [PATCH] Make mixed C/C++ LTO testcases possible


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.


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