aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-01-10 23:48:03 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-01-10 23:48:03 +0000
commit7bdb32b97ef4687f7cbaad717130a78aa2a86a2b (patch)
treea7172a6e33e902401e82daf343d887ad9029d032 /gcc/final.c
parent3d2cfac61b57d399e5d452b5e7911c8b55c42088 (diff)
downloadgcc-7bdb32b97ef4687f7cbaad717130a78aa2a86a2b.zip
gcc-7bdb32b97ef4687f7cbaad717130a78aa2a86a2b.tar.gz
gcc-7bdb32b97ef4687f7cbaad717130a78aa2a86a2b.tar.bz2
Makefile.in (optabs.o): Depend on real.h
* Makefile.in (optabs.o): Depend on real.h (resource.o): Depend on insn-attr.h * builtins.c (result_vector): Wrap prototype in macro conditions governing definition and use. * c-common.c: Include tm_p.h. * c-lex.c: Likewise. * elfos.h: Constify a char*. * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length. (get_attr_length, shorten_branches, profile_after_prologue): Mark parameter with ATTRIBUTE_UNUSED. * fold-const.c (exact_real_inverse): Wrap variable `i' in CHECK_FLOAT_VALUE. * haifa-sched.c (schedule_insns): Mark parameter with ATTRIBUTE_UNUSED. * optabs.c: Include real.h. * real.h (ereal_atof): Add prototype arguments. * resource.c: Include insn-attr.h. * sdbout.c (sdbout_queue_anonymous_type, sdbout_dequeue_anonymous_types): Wrap in macro SDB_ALLOW_FORWARD_REFERENCES. (sdbout_init, sdbout_start_new_source_file): Mark parameter with ATTRIBUTE_UNUSED. * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return. * stupid.c: Include tm_p.h. * tree.c (real_value_from_int_cst): Mark parameter with ATTRIBUTE_UNUSED. cp: * lex.c: Include tm_p.h. ch: * lex.c: Include tm_p.h. From-SVN: r31308
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 1c648da..32039af 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -309,7 +309,9 @@ static int alter_cond PROTO((rtx));
#ifndef ADDR_VEC_ALIGN
static int final_addr_vec_align PROTO ((rtx));
#endif
+#ifdef HAVE_ATTR_length
static int align_fuzz PROTO ((rtx, rtx, int, unsigned));
+#endif
/* Initialize data in final at the beginning of a compilation. */
@@ -699,7 +701,7 @@ init_insn_lengths ()
int
get_attr_length (insn)
- rtx insn;
+ rtx insn ATTRIBUTE_UNUSED;
{
#ifdef HAVE_ATTR_length
rtx body;
@@ -980,7 +982,7 @@ insn_current_reference_address (branch)
void
shorten_branches (first)
- rtx first;
+ rtx first ATTRIBUTE_UNUSED;
{
rtx insn;
int max_uid;
@@ -1694,7 +1696,7 @@ final_start_function (first, file, optimize)
static void
profile_after_prologue (file)
- FILE *file;
+ FILE *file ATTRIBUTE_UNUSED;
{
#ifdef FUNCTION_BLOCK_PROFILER
if (profile_block_flag)