aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-io.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2022-04-26 10:53:38 -0400
committerPatrick Palka <ppalka@redhat.com>2022-04-26 10:53:38 -0400
commitb6a48401da51e9042b6f0822d532b3b472492658 (patch)
treeb0d11ef6a5a9a2834c9782b44402ad96f07af3a9 /gcc/gcov-io.cc
parentcd4acb8cd9e45fd35664baa5b0a3150e479aae32 (diff)
downloadgcc-b6a48401da51e9042b6f0822d532b3b472492658.zip
gcc-b6a48401da51e9042b6f0822d532b3b472492658.tar.gz
gcc-b6a48401da51e9042b6f0822d532b3b472492658.tar.bz2
c++: decltype of non-dependent call of class type [PR105386]
We need to pass tf_decltype when instantiating a non-dependent decltype operand, like tsubst does in the dependent case, so that we don't force completion of a prvalue operand's class type. PR c++/105386 gcc/cp/ChangeLog: * semantics.cc (finish_decltype_type): Pass tf_decltype to instantiate_non_dependent_expr_sfinae. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/decltype81.C: New test.
Diffstat (limited to 'gcc/gcov-io.cc')
0 files changed, 0 insertions, 0 deletions