aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2021-03-15 11:25:46 -0700
committerNathan Sidwell <nathan@acm.org>2021-03-16 04:37:33 -0700
commit7b900dca607dceaae2db372365f682a4979c7826 (patch)
tree300281173235f3b7155cb9e01f3268be9090dcda /libjava/java
parent3c5b6d24e664f951c6b4e42738aa1ef5489e5f66 (diff)
downloadgcc-7b900dca607dceaae2db372365f682a4979c7826.zip
gcc-7b900dca607dceaae2db372365f682a4979c7826.tar.gz
gcc-7b900dca607dceaae2db372365f682a4979c7826.tar.bz2
c++: Incorrect type equivalence [PR 99496]
This bug was caused by not marking dependent template aliases correctly -- these things look like typedefs, but are not (necessarily) equivalent to the canonical type. We need to record that. PR c++/99496 gcc/cp/ * module.cc (trees_out::decl_value): Adjust typedef streaming, indicate whether it is a dependent alias. (trees_in::decl_value): Likewise. Set as dependent alias, if it is one. gcc/testsuite/ * g++.dg/modules/pr99496_a.H: New. * g++.dg/modules/pr99496_b.C: New.
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions