aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2021-03-22 12:35:35 -0700
committerNathan Sidwell <nathan@acm.org>2021-03-22 12:40:33 -0700
commit2bfd081f1bce3fb7f791591e741723dce4e884ed (patch)
tree532930ceb4c3ee75d3c0c1cf0433b87d86616f59 /gcc/value-range.h
parent02f2dc441b1954736cc61e3f97687cd23d5586c5 (diff)
downloadgcc-2bfd081f1bce3fb7f791591e741723dce4e884ed.zip
gcc-2bfd081f1bce3fb7f791591e741723dce4e884ed.tar.gz
gcc-2bfd081f1bce3fb7f791591e741723dce4e884ed.tar.bz2
c++: Cross-module partial specialiations [PR 99480]
We were not correctly handling cross-module redeclarations of partial-specializations. They have their own TEMPLATE_DECL, which we need to locate. I had a FIXME there about this case. Guess it's fixed now. PR c++/99480 gcc/cp/ * module.cc (depset::hash::make_dependency): Propagate flags for partial specialization. (module_may_redeclare): Handle partial specialization. gcc/testsuite/ * g++.dg/modules/pr99480_a.H: New. * g++.dg/modules/pr99480_b.H: New.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions