]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix checking disabled build.
authorJan Hubicka <jh@suse.cz>
Sat, 13 Nov 2021 19:43:55 +0000 (20:43 +0100)
committerJan Hubicka <jh@suse.cz>
Sat, 13 Nov 2021 19:45:26 +0000 (20:45 +0100)
gcc/ChangeLog:

2021-11-13  Jan Hubicka  <hubicka@ucw.cz>

* ipa-modref-tree.c: Move #if CHECKING_P to proper place.

gcc/ipa-modref-tree.c

index e363c506a099c6d6243a67dd691369ca12a03dfd..4b7d510ad37745e2d2b94a20b439117bada16080 100644 (file)
@@ -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 <modref_access_node, va_gc> *&accesses,
   return 1;
 }
 
+#if CHECKING_P
+
 namespace selftest {
 
 static void