From 6088d4c498ff5a1399a9b07101e9830683eae96f Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 4 Jun 2018 13:46:17 -0400 Subject: [PATCH] * g++.dg/warn/string1.C: Prune extra warning with -std=c++17. From-SVN: r261164 --- gcc/testsuite/g++.dg/warn/string1.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/testsuite/g++.dg/warn/string1.C b/gcc/testsuite/g++.dg/warn/string1.C index a0b0d47de1b..9eb5fb696be 100644 --- a/gcc/testsuite/g++.dg/warn/string1.C +++ b/gcc/testsuite/g++.dg/warn/string1.C @@ -18,3 +18,6 @@ int test() { return 0; } + +// With -std=c++17 we get another warning deep under operator+=. +// { dg-prune-output __builtin_memcpy } -- 2.30.2