diff options
author | Jason Merrill <jason@redhat.com> | 2023-09-21 15:39:46 +0100 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2023-09-22 14:23:26 +0100 |
commit | fd35d72a3dcd5ba14d81a1890236acd0145497e1 (patch) | |
tree | 4fdf6a02899b36cfc5aafd37ca05ed054c3d3d90 /gcc/gcc.cc | |
parent | 22cda0ca5fb406f22925bbf51ab152a958e3319d (diff) | |
download | gcc-fd35d72a3dcd5ba14d81a1890236acd0145497e1.zip gcc-fd35d72a3dcd5ba14d81a1890236acd0145497e1.tar.gz gcc-fd35d72a3dcd5ba14d81a1890236acd0145497e1.tar.bz2 |
c++ __integer_pack conversion again [PR111357]
As Jakub pointed out, the real problem here is that in a partial
substitution we're forgetting the conversion to the type of the non-type
template argument, because maybe_convert_nontype_argument doesn't do
anything with value-dependent arguments. I'm experimenting with changing
that, but in the meantime we can work around it here.
PR c++/111357
gcc/cp/ChangeLog:
* pt.cc (expand_integer_pack): Use IMPLICIT_CONV_EXPR.
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions