diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-02 12:53:23 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-02 12:59:05 -0800 |
commit | 07589ca2b2c84ec9609861ff5d119ed7413fd9c5 (patch) | |
tree | 36c50abb4cfd8568837fe890353751a51154b8c6 /gcc/tree-ssa-threadbackward.c | |
parent | 4ed34c60a818cc513239844f336fc781a8b47a24 (diff) | |
download | gcc-07589ca2b2c84ec9609861ff5d119ed7413fd9c5.zip gcc-07589ca2b2c84ec9609861ff5d119ed7413fd9c5.tar.gz gcc-07589ca2b2c84ec9609861ff5d119ed7413fd9c5.tar.bz2 |
c++: typename_type structural comparison
For modules we need to compare structurally all the way down. This
means inhibiting typename_type resolution, independent of comparing
specializations.
gcc/cp/
* cp-tree.h (comparing_typenames): Declare.
* pt.c (comparing_typenames): Define.
(spec_hasher::equal): Increment it around comparisons.
* typeck.c (structural_comptypes): Adjust TYPENAME resolution
check.
Diffstat (limited to 'gcc/tree-ssa-threadbackward.c')
0 files changed, 0 insertions, 0 deletions