* [lto] add DW_LANG_C_plus_plus to the list of supported languages
@ 2008-04-15 22:19 Ollie Wild
2008-04-16 4:57 ` Kenneth Zadeck
2008-04-16 7:36 ` Diego Novillo
0 siblings, 2 replies; 4+ messages in thread
From: Ollie Wild @ 2008-04-15 22:19 UTC (permalink / raw)
To: GCC Patches; +Cc: Diego Novillo, Bill Maddox
[-- Attachment #1: Type: text/plain, Size: 383 bytes --]
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.
[-- Attachment #2: DW_LANG_C_plus_plus.txt --]
[-- Type: text/plain, Size: 306 bytes --]
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index e2d3bf8..c882a9a 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -1447,6 +1447,7 @@ lto_read_compile_unit_DIE (lto_info_fd *fd,
case DW_LANG_C:
case DW_LANG_C89:
case DW_LANG_C99:
+ case DW_LANG_C_plus_plus:
break;
default:
^ permalink raw reply [flat|nested] 4+ messages in thread
* re: [lto] add DW_LANG_C_plus_plus to the list of supported languages
2008-04-15 22:19 [lto] add DW_LANG_C_plus_plus to the list of supported languages Ollie Wild
@ 2008-04-16 4:57 ` Kenneth Zadeck
2008-04-16 21:20 ` Ollie Wild
2008-04-16 7:36 ` Diego Novillo
1 sibling, 1 reply; 4+ messages in thread
From: Kenneth Zadeck @ 2008-04-16 4:57 UTC (permalink / raw)
To: gcc-patches, aaw
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [lto] add DW_LANG_C_plus_plus to the list of supported languages
2008-04-15 22:19 [lto] add DW_LANG_C_plus_plus to the list of supported languages Ollie Wild
2008-04-16 4:57 ` Kenneth Zadeck
@ 2008-04-16 7:36 ` Diego Novillo
1 sibling, 0 replies; 4+ messages in thread
From: Diego Novillo @ 2008-04-16 7:36 UTC (permalink / raw)
To: Ollie Wild; +Cc: GCC Patches, Bill Maddox
On 4/15/08 2:22 PM, Ollie Wild wrote:
> 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.
>
OK.
Diego.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [lto] add DW_LANG_C_plus_plus to the list of supported languages
2008-04-16 4:57 ` Kenneth Zadeck
@ 2008-04-16 21:20 ` Ollie Wild
0 siblings, 0 replies; 4+ messages in thread
From: Ollie Wild @ 2008-04-16 21:20 UTC (permalink / raw)
To: Kenneth.Zadeck; +Cc: gcc-patches
On Tue, Apr 15, 2008 at 6:11 PM, Kenneth Zadeck
<Kenneth.Zadeck@naturalbridge.com> wrote:
>
> Is there only one variant of c++. if there is, this patch is ok.
Yes, there is only one variant.
Committed.
Ollie
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-04-16 19:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-15 22:19 [lto] add DW_LANG_C_plus_plus to the list of supported languages Ollie Wild
2008-04-16 4:57 ` Kenneth Zadeck
2008-04-16 21:20 ` Ollie Wild
2008-04-16 7:36 ` Diego Novillo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).