aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-03-15 10:01:41 +0100
committerJakub Jelinek <jakub@redhat.com>2024-03-15 10:01:41 +0100
commit8ae7062bf4005c08b093828d40e2c9278e6f6d9c (patch)
tree3c5e816518b28d3f8f1f25863bface127403a960 /gcc/expr.cc
parent90b9872311ccb24685ba33b6ba6f374d50f03874 (diff)
downloadgcc-8ae7062bf4005c08b093828d40e2c9278e6f6d9c.zip
gcc-8ae7062bf4005c08b093828d40e2c9278e6f6d9c.tar.gz
gcc-8ae7062bf4005c08b093828d40e2c9278e6f6d9c.tar.bz2
testsuite: Fix up pr104601.C for recent libstdc++ changes
r14-9478 added [[nodiscard]] to various <algorithm> APIs including find_if the pr104601.C testcase uses. As it is an optimization bug fix testcase, haven't tried to adjust the testcase to use the find_if result, but instead have added -Wno-unused-result flag to quiet the warning. 2024-03-15 Jakub Jelinek <jakub@redhat.com> * g++.dg/torture/pr104601.C: Add -Wno-unused-result to dg-options.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions