Commit f1441927 by Jason Merrill

* g++.dg/pr82836.C: Add -Wno-return-type.

From-SVN: r254872
parent 96e0367e
// 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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment