loop.c (strength_reduce): Restore marking bct_p as ATTRIBUTE_UNUSED.
authorDavid Edelsohn <edelsohn@mhpcc.edu>
Thu, 15 Oct 1998 16:52:52 +0000 (16:52 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 15 Oct 1998 16:52:52 +0000 (12:52 -0400)
        * loop.c (strength_reduce): Restore marking bct_p as
        ATTRIBUTE_UNUSED.
        * rs6000.c (optimization_options): Change #ifdef HAIFA to
        HAVE_decrement_and_branch_on_count.
        (small_data_operand): Remove TARGET_ELF condition for marking
        parameters ATTRIBUTE_UNUSED.

From-SVN: r23115

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 100f70a122a44dbb30770e29d2adfec78e806927..68555af6bb5e2773c49084c53cb0e2ad2f7abe8f 100644 (file)
@@ -1,3 +1,12 @@
+Thu Oct 15 19:48:41 1998  David Edelsohn  <edelsohn@mhpcc.edu>
+
+       * loop.c (strength_reduce): Restore marking bct_p as
+       ATTRIBUTE_UNUSED.
+       * rs6000.c (optimization_options): Change #ifdef HAIFA to
+       HAVE_decrement_and_branch_on_count.
+       (small_data_operand): Remove TARGET_ELF condition for marking
+       parameters ATTRIBUTE_UNUSED.
+       
 Thu Oct 15 11:45:51 1998  Robert Lipe  <robertl@dgii.com>
 
        * config/i386/sco5.h (MAX_OFILE_ALIGNMENT):  Define.
index b1b36fe423e07a219fbcb6c4e3a9d9ddf6e7ece9..9ae69e8b649e48ab066aa146c2825ec23de529e8 100644 (file)
@@ -353,7 +353,7 @@ optimization_options (level, size)
      int level;
      int size ATTRIBUTE_UNUSED;
 {
-#ifdef HAIFA
+#ifdef HAVE_decrement_and_branch_on_count
   /* When optimizing, enable use of BCT instruction.  */
   if (level >= 1)
       flag_branch_on_count_reg = 1;
@@ -1159,13 +1159,8 @@ input_operand (op, mode)
 
 int
 small_data_operand (op, mode)
-#if TARGET_ELF
-     rtx op;
-     enum machine_mode mode;
-#else
      rtx op ATTRIBUTE_UNUSED;
      enum machine_mode mode ATTRIBUTE_UNUSED;
-#endif
 {
 #if TARGET_ELF
   rtx sym_ref, const_part;