From fca812fa4a18fe5ca4952d50cd58974526b6b0fe Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 15 Oct 1998 16:52:52 +0000 Subject: [PATCH] loop.c (strength_reduce): Restore marking bct_p as ATTRIBUTE_UNUSED. * 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 | 9 +++++++++ gcc/config/rs6000/rs6000.c | 7 +------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 100f70a122a..68555af6bb5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +Thu Oct 15 19:48:41 1998 David Edelsohn + + * 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 * config/i386/sco5.h (MAX_OFILE_ALIGNMENT): Define. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index b1b36fe423e..9ae69e8b649 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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; -- 2.30.2