This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
re: [lto] add DW_LANG_C_plus_plus to the list of supported languages
- From: Kenneth Zadeck <Kenneth dot Zadeck at NaturalBridge dot com>
- To: gcc-patches at gcc dot gnu dot org, aaw at google dot com
- Date: Tue, 15 Apr 2008 21:11:13 -0400
- Subject: re: [lto] add DW_LANG_C_plus_plus to the list of supported languages
- Reply-to: Kenneth dot Zadeck at NaturalBridge dot com
> This patch adds DW_LANG_C_plus_plus to the list of supported languages
> in lto_read_compile_unit_DIE(). This is a prerequisite to adding C++
> support to LTO. Otherwise, the lto driver simply fails with an
> "unsupported language" error.
>
> Ollie
>
> 2008-04-15 Ollie Wild <aaw@google.com>
>
> * lto.c (lto_read_compile_unit_DIE): Add DW_LANG_C_plus_plus to the
> list of supported languages.
Is there only one variant of c++. if there is, this patch is ok.
kenny