aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2021-11-13 20:43:55 +0100
committerJan Hubicka <jh@suse.cz>2021-11-13 20:45:26 +0100
commitaf47f22fd5784a363ea78c419898b5d703761fb7 (patch)
tree082b3b2ab26bbb1f135191eee7d13a8370afca33 /gcc
parent04c5a91d068c4ca2f09c2bc206fce00db9d1790b (diff)
downloadgcc-af47f22fd5784a363ea78c419898b5d703761fb7.zip
gcc-af47f22fd5784a363ea78c419898b5d703761fb7.tar.gz
gcc-af47f22fd5784a363ea78c419898b5d703761fb7.tar.bz2
Fix checking disabled build.
gcc/ChangeLog: 2021-11-13 Jan Hubicka <hubicka@ucw.cz> * ipa-modref-tree.c: Move #if CHECKING_P to proper place.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ipa-modref-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-modref-tree.c b/gcc/ipa-modref-tree.c
index e363c50..4b7d510 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 <modref_access_node, va_gc> *&accesses,
return 1;
}
+#if CHECKING_P
+
namespace selftest {
static void