From 9fdf0f08918acf0e8fe112cd31093b8f1627252d Mon Sep 17 00:00:00 2001
From: rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 12 Jan 2007 10:04:55 +0000
Subject: [PATCH] gcc/ 	* cse.c (cse_insn): Move HAVE_CC0 code after
 declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120719 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog |  4 ++++
 gcc/cse.c     | 11 +++++------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7b34685fe0dc..cdb999cacb74 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-12  Richard Sandiford  <richard@codesourcery.com>
+
+	* cse.c (cse_insn): Move HAVE_CC0 code after declarations.
+
 2007-01-12  Richard Sandiford  <richard@codesourcery.com>
 
 	* doc/install.texi: Fix m68k-*-* anchor and add m68k-*-* to the
diff --git a/gcc/cse.c b/gcc/cse.c
index 549570b09c30..c354041b01fe 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -4015,12 +4015,6 @@ cse_insn (rtx insn, rtx libcall_insn)
   rtx tem;
   int n_sets = 0;
 
-#ifdef HAVE_cc0
-  /* Records what this insn does to set CC0.  */
-  this_insn_cc0 = 0;
-  this_insn_cc0_mode = VOIDmode;
-#endif
-
   rtx src_eqv = 0;
   struct table_elt *src_eqv_elt = 0;
   int src_eqv_volatile = 0;
@@ -4030,6 +4024,11 @@ cse_insn (rtx insn, rtx libcall_insn)
   struct set *sets = (struct set *) 0;
 
   this_insn = insn;
+#ifdef HAVE_cc0
+  /* Records what this insn does to set CC0.  */
+  this_insn_cc0 = 0;
+  this_insn_cc0_mode = VOIDmode;
+#endif
 
   /* Find all the SETs and CLOBBERs in this instruction.
      Record all the SETs in the array `set' and count them.
-- 
GitLab