This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO][PATCH] Fix DECL merging problem due to incomplete types.
- 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: Wed, 19 Nov 2008 19:27:58 -0500
- Subject: Re: [LTO][PATCH] Fix DECL merging problem due to incomplete types.
- References: <498552560811191542l1ace70fdk90c0e7a537a5a567@mail.gmail.com>
On Wed, Nov 19, 2008 at 18:42, Doug Kwan (éæå) <dougkwan@google.com> wrote:
> * lto-symtab.c (external_aggregate_decl_p): New.
> (lto_symtab_compatible): Handle external aggregate declarations
> specially.
>
> testsuite/ChangeLog.lto
>
> * g++.dg/lto/20081119-1.h: New.
> * g++.dg/lto/20081119-1_0.C: New.
> * g++.dg/lto/20081119-1_1.C: New.
OK with
> +/* Helepr for lto_symtab_compatible. Return TRUE if DECL is an external
s/Helepr/Helper/
> + There is no way a compiler can tell the size of x. So we cannot
> + assume that external aggreates have complete types.
> + */
Closing comment in previous line.
Diego.