aboutsummaryrefslogtreecommitdiff
path: root/gcc/BASE-VER
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-04-30 08:23:16 -0700
committerNathan Sidwell <nathan@acm.org>2020-04-30 08:23:16 -0700
commitc416c52bcdb120db5e8c53a51bd78c4360daf79b (patch)
treec37424a18d319249f3e06ede532edc9e53030167 /gcc/BASE-VER
parentb1983f4582bbe060b7da83578acb9ed653681fc8 (diff)
c++ ICE with nested requirement as default tpl parm[PR94827]
Template headers are not incrementally updated as we parse its parameters. We maintain a dummy level until the closing > when we replace the dummy with a real parameter set. requires processing was expecting a properly populated arg_vec in current_template_parms, and then creates a self-mapping of parameters from that. But we don't need to do that, just teach map_arguments to look at TREE_VALUE when args is NULL. * constraint.cc (map_arguments): If ARGS is null, it's a self-mapping of parms. (finish_nested_requirement): Do not pass argified current_template_parms to normalization. (tsubst_nested_requirement): Don't assert no template parms.
Diffstat (limited to 'gcc/BASE-VER')
0 files changed, 0 insertions, 0 deletions