diff options
author | Marek Polacek <polacek@redhat.com> | 2019-04-05 21:22:40 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-04-05 21:22:40 +0000 |
commit | adc06f45fbef12b06cdbb5603a372d82dca1baec (patch) | |
tree | 0215c743d4c6ee48f4fea2ddf91b7cde0e067dab /gcc/fortran/class.c | |
parent | 6464d9b18207d381568b0a5b5a953286ccd2a5b6 (diff) | |
download | gcc-adc06f45fbef12b06cdbb5603a372d82dca1baec.zip gcc-adc06f45fbef12b06cdbb5603a372d82dca1baec.tar.gz gcc-adc06f45fbef12b06cdbb5603a372d82dca1baec.tar.bz2 |
PR c++/87145 - bogus error converting class type in template arg list.
* pt.c (convert_nontype_argument): Don't call
build_converted_constant_expr if it could involve calling a conversion
function with a instantiation-dependent constructor as its argument.
* g++.dg/cpp0x/constexpr-conv3.C: New test.
* g++.dg/cpp0x/constexpr-conv4.C: New test.
From-SVN: r270178
Diffstat (limited to 'gcc/fortran/class.c')
0 files changed, 0 insertions, 0 deletions