aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/std
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2025-07-28 17:31:06 +0200
committerChristoph Müllner <christoph.muellner@vrull.eu>2025-07-29 15:53:16 +0200
commitb267361f23c98ab9d9ca2b0fcf23b57117a84752 (patch)
tree60b1d846d3de0980bdf0b4a129559f1cbaf91b2e /libstdc++-v3/testsuite/std
parent04f33a278557c09d3aba978fe205cc2a6caa8efb (diff)
downloadgcc-b267361f23c98ab9d9ca2b0fcf23b57117a84752.zip
gcc-b267361f23c98ab9d9ca2b0fcf23b57117a84752.tar.gz
gcc-b267361f23c98ab9d9ca2b0fcf23b57117a84752.tar.bz2
RISC-V: Remove use of structured binding to fix compiler warning
Function riscv_ext_is_subset () uses structured bindings to iterate over all keys and values of an unordered map. However, this is only available since C++17 and causes a warning like this: warning: structured bindings only available with ‘-std=c++17’ This patch addresses the warning. gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_ext_is_subset): Remove use of structured binding to fix compiler warning. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'libstdc++-v3/testsuite/std')
0 files changed, 0 insertions, 0 deletions