aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-05-29 19:45:42 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-05-29 19:45:42 +0000
commit3d7ff7286de5a44da1b843ace99262c777079714 (patch)
tree2d31b8b170e163b02c6de6c2a30672f5d6e24eab /gcc/cfgexpand.c
parentfd262197d74626579a784ee1cc0f3f3a0e3f33e9 (diff)
downloadgcc-3d7ff7286de5a44da1b843ace99262c777079714.zip
gcc-3d7ff7286de5a44da1b843ace99262c777079714.tar.gz
gcc-3d7ff7286de5a44da1b843ace99262c777079714.tar.bz2
PR c++/80891 (#1,#5)
PR c++/80891 (#1,#5) * cp-tree.h (lookup_maybe_add): Add DEDUPING argument. * name-lookup.c (name_lookup): Add deduping field. (name_lookup::preserve_state, name_lookup::restore_state): Deal with deduping. (name_lookup::add_overload): New. (name_lookup::add_value, name_lookup::add_fns): Call add_overload. (name_lookup::search_adl): Set deduping. Don't unmark here. * pt.c (most_specialized_instantiation): Revert previous change, Assert not given duplicates. * tree.c (lookup_mark): Just mark the underlying decls. (lookup_maybe_add): Dedup using marked decls. PR c++/80891 (#5) * g++.dg/lookup/pr80891-5.C: New. From-SVN: r248578
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions