/* Definitions for condition code handling in final.c and output routines.
- Copyright (C) 1987, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1987-2015 Free Software Foundation, Inc.
This file is part of GCC.
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-/* None of the things in the files exist if we don't use CC0. */
-
-#ifdef HAVE_cc0
+#ifndef GCC_CONDITIONS_H
+#define GCC_CONDITIONS_H
/* The variable cc_status says how to interpret the condition code.
It is set by output routines for an instruction that sets the cc's
#define CC_STATUS_MDEP_INIT 0
#endif
-typedef struct {int flags; rtx value1, value2; CC_STATUS_MDEP mdep;} CC_STATUS;
+struct CC_STATUS {int flags; rtx value1, value2; CC_STATUS_MDEP mdep;};
/* While outputting an insn as assembler code,
this is the status BEFORE that insn. */
/* 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 */