This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [pph] Stream DECL_CHAIN only for VAR/FUNCTION_DECLs that are part of a RECORD_OR_UNION_TYPE (issue4672055)
- From: Diego Novillo <dnovillo at google dot com>
- To: Gabriel Charette <gchare at google dot com>
- Cc: reply at codereview dot appspotmail dot com, crowl at google dot com, gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 Jul 2011 15:21:32 -0400
- Subject: Re: [pph] Stream DECL_CHAIN only for VAR/FUNCTION_DECLs that are part of a RECORD_OR_UNION_TYPE (issue4672055)
- References: <20110709012047.0D90B1C36BA@gchare.mtv.corp.google.com>
On Fri, Jul 8, 2011 at 21:20, Gabriel Charette <gchare@google.com> wrote:
> 2011-07-08 ÂGabriel Charette Â<gchare@google.com>
>
> Â Â Â Â* pph-streamer-in.c (pph_in_function_decl): Stream in
> Â Â Â ÂDECL_CHAIN of FUNCTION_DECL only if it's part of a RECORD_OR_UNION_TYPE
> Â Â Â Â(pph_read_tree): Stream in DECL_CHAIN of VAR_DECL only if it's part
> Â Â Â Âof a RECORD_OR_UNION_TYPE.
> Â Â Â Â* pph-streamer-out.c (pph_out_function_decl): Stream out
> Â Â Â ÂDECL_CHAIN of FUNCTION_DECL only if it's part of a RECORD_OR_UNION_TYPE
> Â Â Â Â(pph_write_tree): Stream out DECL_CHAIN of VAR_DECL only if it's part
> Â Â Â Âof a RECORD_OR_UNION_TYPE.
Gab, do you still need this patch? In principle, it doesn't make a
lot of sense to restrict when we save the DECL_CHAIN in this way.
It's not obvious what this would fix or help with.
Diego.