Fix warning in gcc.dg/plugin/expensive_selftests_plugin.c with !CHECKING_P
commit6d2cb6e192b5fd1e148f9ef12de27130a1813ea1
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 19:01:15 +0000 (3 19:01 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 19:01:15 +0000 (3 19:01 +0000)
tree1780dfb4a4c74421d6994944521ea8b1b86216cf
parent19d1ea4d772f30fc4e3ea40839ddc7f64e2ed8ba
Fix warning in gcc.dg/plugin/expensive_selftests_plugin.c with !CHECKING_P

gcc/testsuite/ChangeLog:
* gcc.dg/plugin/expensive-selftests-1.c: Update regexp to handle
the !CHECKING_P case by expecting a note.
* gcc.dg/plugin/expensive_selftests_plugin.c (plugin_init): Issue
a note for the !CHECKING_P case, and move the return statement
outside of #if CHECKING_P guard.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256183 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/plugin/expensive-selftests-1.c
gcc/testsuite/gcc.dg/plugin/expensive_selftests_plugin.c