diff options
author | Richard Sandiford <richard@codesourcery.com> | 2007-01-12 10:04:55 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-01-12 10:04:55 +0000 |
commit | 192232e253d58547945f9308d973fc3bda0cf215 (patch) | |
tree | 35c106292486605ad41056b0212a11668bdaa92a /gcc | |
parent | 183dc04b83fb5ca7f67d77a92eb877b9cbd98f63 (diff) | |
download | gcc-192232e253d58547945f9308d973fc3bda0cf215.zip gcc-192232e253d58547945f9308d973fc3bda0cf215.tar.gz gcc-192232e253d58547945f9308d973fc3bda0cf215.tar.bz2 |
cse.c (cse_insn): Move HAVE_CC0 code after declarations.
gcc/
* cse.c (cse_insn): Move HAVE_CC0 code after declarations.
From-SVN: r120719
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cse.c | 11 |
2 files changed, 9 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b34685..cdb999c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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 list of targets. @@ -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. |