summaryrefslogtreecommitdiff
path: root/gcc/sched-deps.c
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-22 00:44:15 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-22 00:44:15 +0000
commita57e230a8e65ce394b113b992b91549d17b1827d (patch)
tree8160a796c153a7d771bebd5d72b87cb37e57a451 /gcc/sched-deps.c
parent0973afac5dab99c290c8d2bf600fcce7658bc84c (diff)
downloadgcc-a57e230a8e65ce394b113b992b91549d17b1827d.tar.gz
remove some ifdef HAVE_cc0
gcc/ChangeLog: 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * conditions.h: Define macros even if HAVE_cc0 is undefined. * emit-rtl.c: Define functions even if HAVE_cc0 is undefined. * final.c: Likewise. * jump.c: Likewise. * recog.c: Likewise. * recog.h: Declare functions even when HAVE_cc0 is undefined. * sched-deps.c (sched_analyze_2): Always compile case for cc0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222294 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r--gcc/sched-deps.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index 5434831d3df..6fd6774c45f 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -2608,8 +2608,10 @@ sched_analyze_2 (struct deps_desc *deps, rtx x, rtx_insn *insn)
return;
-#ifdef HAVE_cc0
case CC0:
+#ifndef HAVE_cc0
+ gcc_unreachable ();
+#endif
/* User of CC0 depends on immediately preceding insn. */
SCHED_GROUP_P (insn) = 1;
/* Don't move CC0 setter to another block (it can set up the
@@ -2620,7 +2622,6 @@ sched_analyze_2 (struct deps_desc *deps, rtx x, rtx_insn *insn)
sched_deps_info->finish_rhs ();
return;
-#endif
case REG:
{