This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Remove obsolette hunk in free_lang_data_r
- From: Richard Biener <rguenther at suse dot de>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 20 Aug 2018 13:54:48 +0200 (CEST)
- Subject: Re: Remove obsolette hunk in free_lang_data_r
- References: <20180820113940.GB88902@kam.mff.cuni.cz>
On Mon, 20 Aug 2018, Jan Hubicka wrote:
> Hi,
> this hunk should be obsolette now.
>
> Bootstrapped/regtested x86_64-linux, OK?
OK, can you un-export is_redundant_typedef after this please?
Richard.
> Honza
>
> Index: tree.c
> ===================================================================
> --- tree.c (revision 263586)
> +++ tree.c (working copy)
> @@ -5542,11 +5565,7 @@ find_decls_types_r (tree *tp, int *ws, v
> tem = TYPE_FIELDS (t);
> while (tem)
> {
> - if (TREE_CODE (tem) == FIELD_DECL
> - || (TREE_CODE (tem) == TYPE_DECL
> - && !DECL_IGNORED_P (tem)
> - && debug_info_level > DINFO_LEVEL_TERSE
> - && !is_redundant_typedef (tem)))
> + if (TREE_CODE (tem) == FIELD_DECL)
> fld_worklist_push (tem, fld);
> tem = TREE_CHAIN (tem);
> }
>
>
--
Richard Biener <rguenther@suse.de>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)