This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO][PATCH] Fix multiple global variable definitions.
- From: Diego Novillo <dnovillo at google dot com>
- To: Doug Kwan (éæå) <dougkwan at google dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 24 Nov 2008 08:23:53 -0500
- Subject: Re: [LTO][PATCH] Fix multiple global variable definitions.
- References: <498552560811240007v615aa6cej9e572bdea00cf9f5@mail.gmail.com>
2008/11/24 Doug Kwan (???) <dougkwan@google.com>:
> * lto-function-out.c (output_var_int): Remove code to avoid
> multiple variable definitions in LTRANS files.
s/output_var_int/output_var_init/
> (output_var_decl): Add code to avoid multiple variable definitions
> in LTRANS files.
> * lto-function-in.c (input_constructors_or_inits): Remove code to
> avoid multiple variable definitions in LTRANS files.
> (input_var_decl): Add code to avoid multiple variable definitions
> in LTRANS files.
>
> testsuite/ChangeLog.lto
>
> * g++.dg/lto/20081123_0.C: New.
> * g++.dg/lto/20081123_1.C: New.
>
OK otherwise.
Diego.