From: Jason Merrill Date: Fri, 17 Nov 2017 14:12:29 +0000 (-0500) Subject: * g++.dg/pr82836.C: Add -Wno-return-type. X-Git-Tag: basepoints/gcc-9~3277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f14419275f3207310a7c1d9e1196ef021def1e24;p=thirdparty%2Fgcc.git * g++.dg/pr82836.C: Add -Wno-return-type. From-SVN: r254872 --- diff --git a/gcc/testsuite/g++.dg/pr82836.C b/gcc/testsuite/g++.dg/pr82836.C index 80876644b984..e398a75428a5 100644 --- a/gcc/testsuite/g++.dg/pr82836.C +++ b/gcc/testsuite/g++.dg/pr82836.C @@ -1,6 +1,6 @@ // PR c++/82836 -// { dg-do compile { target c++17 } } -// { dg-additional-options "-Wno-pedantic" } +// { dg-options "-std=c++17" } +// { dg-additional-options "-Wno-pedantic -Wno-return-type" } // We were resetting DECL_ASSEMBLER_NAME when processing pragma weak, // breaking C++'s mangling alias hash table. That hash table needs to // be tickled in just the right way to hit the problem.