summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2015-04-23 10:34:58 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2015-04-23 10:34:58 +0000
commit8778aed76e7b273d2e40112a4d8d3a799bd8fbd2 (patch)
tree6cae577a32dc9387723c7a1d7d05017ed6f53e85
parentf5ee50a5ab6e5211632d7e5dd6c977d715e6f3b6 (diff)
Re: [PATCH 02/12] remove some ifdef HAVE_cc0.
* conditions.h (CC_STATUS_INIT): Gate on #ifndef CC_STATUS_INIT. From-SVN: r222358
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/conditions.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fbc9ce3c97f..d0b4e32ccb5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2015-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+ * conditions.h (CC_STATUS_INIT): Gate on #ifndef CC_STATUS_INIT.
+
+2015-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
* config/arm/arm.md (load_multiple): Reject operand 2 greater than
MAX_LDM_STM_OPS.
(store_multiple): Likewise.
diff --git a/gcc/conditions.h b/gcc/conditions.h
index 7cd1e1c1cad..0bda9a45490 100644
--- a/gcc/conditions.h
+++ b/gcc/conditions.h
@@ -109,8 +109,10 @@ extern CC_STATUS cc_status;
/* This is how to initialize the variable cc_status.
final does this at appropriate moments. */
+/* FIXME: We want to get rid of these ifndefs. */
+#ifndef CC_STATUS_INIT
#define CC_STATUS_INIT \
(cc_status.flags = 0, cc_status.value1 = 0, cc_status.value2 = 0, \
CC_STATUS_MDEP_INIT)
-
+#endif
#endif /* GCC_CONDITIONS_H */