Message ID | 20180820113940.GB88902@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Series | Remove obsolette hunk in free_lang_data_r | expand |
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); > } > >
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); }