This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [pph] Stream DECL_CHAIN only for VAR/FUNCTION_DECLs that are part of a RECORD_OR_UNION_TYPE (issue4672055)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]