decl.c (check_redeclaration_exception_specification): Depend on -Wsystem-headers...
authorJason Merrill <jason@redhat.com>
Wed, 27 May 2015 20:53:06 +0000 (16:53 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 27 May 2015 20:53:06 +0000 (16:53 -0400)
commitcba16cca6232ab9295cfd4ac247b874163712099
tree90cfa3f618c708e590d867e4133f36f75823ff48
parentf425298902b6a36fef278c01610afb58dceaec89
decl.c (check_redeclaration_exception_specification): Depend on -Wsystem-headers rather than -pedantic.

* decl.c (check_redeclaration_exception_specification): Depend on
-Wsystem-headers rather than -pedantic.

From-SVN: r223778
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/warn/Wsystem-headers1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/Wsystem-headers1a.C [new file with mode: 0644]