OSDN Git Service

* loop.c (strength_reduce): Restore marking bct_p as
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Oct 1998 16:52:52 +0000 (16:52 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Oct 1998 16:52:52 +0000 (16:52 +0000)
        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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23115 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 100f70a..68555af 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 b1b36fe..9ae69e8 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;