Fix warning in gcc.dg/plugin/expensive_selftests_plugin.c with !CHECKING_P
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 3 Jan 2018 19:01:15 +0000 (19:01 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 3 Jan 2018 19:01:15 +0000 (19:01 +0000)
commit72df5daa5cffef2fb58bcf5cfd2d35f1bf923156
tree1780dfb4a4c74421d6994944521ea8b1b86216cf
parent86aa0691c599e86e966bd1e81e95858a83d5e671
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.

From-SVN: r256183
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/plugin/expensive-selftests-1.c
gcc/testsuite/gcc.dg/plugin/expensive_selftests_plugin.c