diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-04-20 06:52:30 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-04-20 06:52:30 -0700 |
commit | a6f400239d792ddcff106be22b04fdf3f9b2894a (patch) | |
tree | 9373c7a21755e2cf048c377c9a06e0595de60035 /gcc/tree-vect-loop.c | |
parent | 7fcb93431ef18a31c9af142f77faa176bbd9b3dc (diff) | |
download | gcc-a6f400239d792ddcff106be22b04fdf3f9b2894a.zip gcc-a6f400239d792ddcff106be22b04fdf3f9b2894a.tar.gz gcc-a6f400239d792ddcff106be22b04fdf3f9b2894a.tar.bz2 |
c++: tpl-tpl-parms are not canonicalizable types [pr94454]
We treat tpl-tpl-parms as types. They're not; bound-tpl-tpl-parms
are. We can get away with them being type-like. Unfortunately we
give the original level==orig_level case a canonical type, but the
reduced cases of level<orig_level get structural equality. This patch
gives them structural type always.
* pt.c (canonical_type_parameter): Assert not a tpl-tpl-parm.
(process_template_parm): tpl-tpl-parms are structural.
(rewrite_template_parm): Propagate structuralness.
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions