Commit 7bdb32b9 by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent 3d2cfac6
2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* 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.
2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* i960-protos.h: New file.
* i960.c: Include tm_p.h. Add static prototypes. Fix compile
......
......@@ -1514,7 +1514,7 @@ explow.o : explow.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
insn-codes.h toplev.h function.h
optabs.o : optabs.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
insn-flags.h insn-config.h insn-codes.h $(EXPR_H) $(RECOG_H) reload.h \
toplev.h ggc.h
toplev.h ggc.h real.h
dbxout.o : dbxout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h $(REGS_H) \
insn-config.h reload.h gstab.h xcoffout.h defaults.h output.h dbxout.h \
toplev.h gcc.h
......@@ -1552,7 +1552,8 @@ gcse.o : gcse.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) hard-reg-set.h \
flags.h real.h insn-config.h $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) \
function.h output.h toplev.h
resource.o : resource.c $(CONFIG_H) $(RTL_H) hard-reg-set.h system.h \
$(BASIC_BLOCK_H) $(REGS_H) flags.h output.h resource.h function.h toplev.h
$(BASIC_BLOCK_H) $(REGS_H) flags.h output.h resource.h function.h toplev.h \
insn-attr.h
lcm.o : lcm.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) hard-reg-set.h flags.h \
real.h insn-config.h $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H)
profile.o : profile.c $(CONFIG_H) system.h $(RTL_H) flags.h insn-flags.h \
......
......@@ -58,7 +58,9 @@ static tree c_strlen PROTO((tree));
static rtx get_memory_rtx PROTO((tree));
static int apply_args_size PROTO((void));
static int apply_result_size PROTO((void));
#if defined (HAVE_untyped_call) || defined (HAVE_untyped_return)
static rtx result_vector PROTO((int, rtx));
#endif
static rtx expand_builtin_apply_args PROTO((void));
static rtx expand_builtin_apply_args_1 PROTO((void));
static rtx expand_builtin_apply PROTO((rtx, rtx, rtx));
......
......@@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA. */
#include "c-pragma.h"
#include "rtl.h"
#include "ggc.h"
#include "tm_p.h"
#if USE_CPPLIB
#include "cpplib.h"
......
......@@ -33,6 +33,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "intl.h"
#include "ggc.h"
#include "tm_p.h"
/* MULTIBYTE_CHARS support only works for native compilers.
??? Ideally what we want is to model widechar support after
......
2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lex.c: Include tm_p.h.
2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* actions.c (update_else_range_for_int_const): Initialize
......
......@@ -32,6 +32,7 @@ Boston, MA 02111-1307, USA. */
#include "parse.h"
#include "obstack.h"
#include "toplev.h"
#include "tm_p.h"
#ifdef DWARF_DEBUGGING_INFO
#include "dwarfout.h"
......
......@@ -356,10 +356,10 @@ dtors_section () \
{ \
int len; \
int sec; \
char *name; \
const char *name; \
char *string; \
char *prefix; \
static char *prefixes[4][2] = \
const char *prefix; \
static const char *prefixes[4][2] = \
{ \
{ ".text.", ".gnu.linkonce.t." }, \
{ ".rodata.", ".gnu.linkonce.r." }, \
......
2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lex.c: Include tm_p.h.
2000-01-07 Nathan Sidwell <sidwell@codesourcery.com>
* lang-specs.h (__GXX_ABI_VERSION): New preprocessor macro.
......
......@@ -38,6 +38,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "output.h"
#include "ggc.h"
#include "tm_p.h"
#ifdef MULTIBYTE_CHARS
#include "mbchar.h"
......
......@@ -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)
......
......@@ -914,7 +914,9 @@ exact_real_inverse (mode, r)
double d;
unsigned short i[4];
}x, t, y;
#ifdef CHECK_FLOAT_VALUE
int i;
#endif
/* Usually disable if bounds checks are not reliable. */
if ((HOST_FLOAT_FORMAT != TARGET_FLOAT_FORMAT) && !flag_pretend_float)
......
......@@ -945,7 +945,7 @@ remove_dependence (insn, elem)
#ifndef INSN_SCHEDULING
void
schedule_insns (dump_file)
FILE *dump_file;
FILE *dump_file ATTRIBUTE_UNUSED;
{
}
#else
......
......@@ -37,6 +37,7 @@ Boston, MA 02111-1307, USA. */
#include "recog.h"
#include "reload.h"
#include "ggc.h"
#include "real.h"
/* Each optab contains info on how this target machine
can perform a particular operation
......
......@@ -357,7 +357,7 @@ extern double ldexp ();
#ifndef REAL_VALUE_ATOF
#if 1
/* Use real.c to convert decimal numbers to binary, ... */
REAL_VALUE_TYPE ereal_atof ();
extern REAL_VALUE_TYPE ereal_atof PROTO((const char *, enum machine_mode));
#define REAL_VALUE_ATOF(x, s) ereal_atof (x, s)
/* Could use ereal_atof here for hexadecimal floats too, but real_hex_to_f
is OK and it uses faster native fp arithmetic. */
......
......@@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA. */
#include "flags.h"
#include "output.h"
#include "resource.h"
#include "insn-attr.h"
/* This structure is used to record liveness information at the targets or
fallthrough insns of branches. We will most likely need the information
......
......@@ -111,8 +111,10 @@ static void sdbout_record_type_name PROTO((tree));
static int plain_type_1 PROTO((tree, int));
static void sdbout_block PROTO((tree));
static void sdbout_syms PROTO((tree));
#ifdef SDB_ALLOW_FORWARD_REFERENCES
static void sdbout_queue_anonymous_type PROTO((tree));
static void sdbout_dequeue_anonymous_types PROTO((void));
#endif
static void sdbout_type PROTO((tree));
static void sdbout_field_types PROTO((tree));
static void sdbout_one_type PROTO((tree));
......@@ -337,7 +339,7 @@ static struct sdb_file *current_file;
void
sdbout_init (asm_file, input_file_name, syms)
FILE *asm_file ATTRIBUTE_UNUSED;
char *input_file_name;
char *input_file_name ATTRIBUTE_UNUSED;
tree syms ATTRIBUTE_UNUSED;
{
#ifdef MIPS_DEBUGGING_INFO
......@@ -1650,7 +1652,7 @@ sdbout_label (insn)
void
sdbout_start_new_source_file (filename)
char *filename;
char *filename ATTRIBUTE_UNUSED;
{
#ifdef MIPS_DEBUGGING_INFO
struct sdb_file *n = (struct sdb_file *) xmalloc (sizeof *n);
......
......@@ -2794,7 +2794,9 @@ expand_return (retval)
rtx last_insn = 0;
rtx result_rtl = DECL_RTL (DECL_RESULT (current_function_decl));
register rtx val = 0;
#ifdef HAVE_return
register rtx op0;
#endif
tree retval_rhs;
int cleanups;
......
......@@ -54,6 +54,7 @@ Boston, MA 02111-1307, USA. */
#include "reload.h"
#include "flags.h"
#include "toplev.h"
#include "tm_p.h"
/* Vector mapping INSN_UIDs to suids.
The suids are like uids but increase monotonically always.
......
......@@ -1420,7 +1420,7 @@ build_real (type, d)
REAL_VALUE_TYPE
real_value_from_int_cst (type, i)
tree type, i;
tree type ATTRIBUTE_UNUSED, i;
{
REAL_VALUE_TYPE d;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment