aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorAlex Coplan <alex.coplan@arm.com>2023-03-22 15:20:49 +0000
committerAlex Coplan <alex.coplan@arm.com>2023-03-22 15:20:49 +0000
commitd3a6f174543816600b1f472997d492088e4e396a (patch)
treeac8c60dada910999b3acb7bd444c69b9f8ac54ff /gcc/go
parent0c652ebbf79bd168766097f3ac4c1b3b79d68a43 (diff)
downloadgcc-d3a6f174543816600b1f472997d492088e4e396a.zip
gcc-d3a6f174543816600b1f472997d492088e4e396a.tar.gz
gcc-d3a6f174543816600b1f472997d492088e4e396a.tar.bz2
c++: Avoid duplicate diagnostic calling unavailable function [PR109177]
As the PR shows, we currently emit duplicate diagnostics for calls to functions marked with __attribute__((unavailable)). This patch fixes that. gcc/cp/ChangeLog: PR c++/109177 * call.cc (build_over_call): Use make_temp_override to suppress both unavailable and deprecated warnings when calling build_addr_func. gcc/testsuite/ChangeLog: PR c++/109177 * g++.dg/ext/pr109177.C: New test.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions