diff options
author | Jason Merrill <jason@redhat.com> | 2023-03-22 11:12:57 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2023-03-22 15:29:59 -0400 |
commit | 5a1717fbdfd1242a5beb3ac8300766a3534d3f88 (patch) | |
tree | fc4cba2400a29a036578e930925d1ced3aed4bd5 /gcc/go | |
parent | 3e791f45ded89626bc1f9f8013728f6e035801b2 (diff) | |
download | gcc-5a1717fbdfd1242a5beb3ac8300766a3534d3f88.zip gcc-5a1717fbdfd1242a5beb3ac8300766a3534d3f88.tar.gz gcc-5a1717fbdfd1242a5beb3ac8300766a3534d3f88.tar.bz2 |
c++: array bound partial ordering [PR108390]
fold_convert doesn't work with a dependent argument, and problematically
differed from the corresponding fold+build_nop further down in the
function. So change it to match.
PR c++/108390
gcc/cp/ChangeLog:
* pt.cc (unify): Use fold of build_nop instead of fold_convert.
gcc/testsuite/ChangeLog:
* g++.dg/template/partial-order3.C: New test.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions