mangle.c (mangle_decl): Only emit -Wc++1z-compat warnings for public or external...
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Nov 2016 17:04:06 +0000 (18:04 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Nov 2016 17:04:06 +0000 (18:04 +0100)
commit0569479efa2b65ce9e08e24d452d0619d60afd95
tree32c3e777e9cf39f4bb4dd9103341d64adaee2d9e
parent37a16493e4e8f312da299f678b20b45c1815b537
mangle.c (mangle_decl): Only emit -Wc++1z-compat warnings for public or external symbols.

* mangle.c (mangle_decl): Only emit -Wc++1z-compat warnings for
public or external symbols.

* g++.dg/cpp1z/noexcept-type14.C: New test.
* g++.dg/asan/asan_test.C: Remove -Wno-c++1z-compat from dg-options.

From-SVN: r242042
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/asan/asan_test.C
gcc/testsuite/g++.dg/cpp1z/noexcept-type14.C [new file with mode: 0644]