aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2024-07-03 17:25:53 -0400
committerJason Merrill <jason@redhat.com>2024-07-03 22:04:50 -0400
commitbaac8f710e35cfea14060e5eca49dbb49ffc294d (patch)
tree44622cf765c02d91496e6335ffebfc306185abad /gcc/gimplify.cc
parent655fe94ae4c95d7f113c62787ca382d2742fad6f (diff)
downloadgcc-baac8f710e35cfea14060e5eca49dbb49ffc294d.zip
gcc-baac8f710e35cfea14060e5eca49dbb49ffc294d.tar.gz
gcc-baac8f710e35cfea14060e5eca49dbb49ffc294d.tar.bz2
c++: OVERLOAD in diagnostics
In modules we can get an OVERLOAD around a non-function, so let's tail recurse instead of falling through. As a result we start printing the template header in this testcase. gcc/cp/ChangeLog: * error.cc (dump_decl) [OVERLOAD]: Recurse on single case. gcc/testsuite/ChangeLog: * g++.dg/warn/pr61945.C: Adjust diagnostic.
Diffstat (limited to 'gcc/gimplify.cc')
0 files changed, 0 insertions, 0 deletions