From: Jan Hubicka Date: Sat, 13 Nov 2021 19:43:55 +0000 (+0100) Subject: Fix checking disabled build. X-Git-Tag: basepoints/gcc-13~3078 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af47f22fd5784a363ea78c419898b5d703761fb7;p=thirdparty%2Fgcc.git Fix checking disabled build. gcc/ChangeLog: 2021-11-13 Jan Hubicka * ipa-modref-tree.c: Move #if CHECKING_P to proper place. --- diff --git a/gcc/ipa-modref-tree.c b/gcc/ipa-modref-tree.c index e363c506a099..4b7d510ad377 100644 --- a/gcc/ipa-modref-tree.c +++ b/gcc/ipa-modref-tree.c @@ -26,8 +26,6 @@ along with GCC; see the file COPYING3. If not see #include "ipa-modref-tree.h" #include "selftest.h" -#if CHECKING_P - /* Return true if both accesses are the same. */ bool modref_access_node::operator == (modref_access_node &a) const @@ -563,6 +561,8 @@ modref_access_node::insert (vec *&accesses, return 1; } +#if CHECKING_P + namespace selftest { static void