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: Remove obsolette hunk in free_lang_data_r


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)


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