aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.def
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-12-11 08:22:57 -0800
committerNathan Sidwell <nathan@acm.org>2020-12-11 08:28:19 -0800
commit059da609fa8b3a08d1d6618f9d90dc3cfbcd05bc (patch)
tree8ef1891954a5d66472c298c94ec1d481511dc6ca /gcc/optabs.def
parent75de6a2895f503905589934e30c68b9a5ec41f2f (diff)
downloadgcc-059da609fa8b3a08d1d6618f9d90dc3cfbcd05bc.zip
gcc-059da609fa8b3a08d1d6618f9d90dc3cfbcd05bc.tar.gz
gcc-059da609fa8b3a08d1d6618f9d90dc3cfbcd05bc.tar.bz2
c++: cp_tree_equal tweaks
When comparing streamed trees we can encounter NON_LVALUE_EXPR and VIEW_CONVERT_EXPRs with null types. Also, when checking a potential duplicate we don't want to reject PARM_DECLs with different contexts, if those two contexts are the two decls of interest. gcc/cp/ * cp-tree.h (map_context_from, map_context_to): Declare. * module.cc (map_context_from, map_context_to): Define. * tree.c (cp_tree_equal): Check map_context_{from,to} for parm context difference. Allow NON_LVALUE_EXPR and VIEW_CONVERT_EXPR with null types.
Diffstat (limited to 'gcc/optabs.def')
0 files changed, 0 insertions, 0 deletions