+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.
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
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 \
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));
#include "c-pragma.h"
#include "rtl.h"
#include "ggc.h"
+#include "tm_p.h"
#if USE_CPPLIB
#include "cpplib.h"
#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
#include "parse.h"
#include "obstack.h"
#include "toplev.h"
+#include "tm_p.h"
#ifdef DWARF_DEBUGGING_INFO
#include "dwarfout.h"
{ \
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.
#include "toplev.h"
#include "output.h"
#include "ggc.h"
+#include "tm_p.h"
#ifdef MULTIBYTE_CHARS
#include "mbchar.h"
#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
\f
/* Initialize data in final at the beginning of a compilation. */
int
get_attr_length (insn)
- rtx insn;
+ rtx insn ATTRIBUTE_UNUSED;
{
#ifdef HAVE_ATTR_length
rtx body;
void
shorten_branches (first)
- rtx first;
+ rtx first ATTRIBUTE_UNUSED;
{
rtx insn;
int max_uid;
static void
profile_after_prologue (file)
- FILE *file;
+ FILE *file ATTRIBUTE_UNUSED;
{
#ifdef FUNCTION_BLOCK_PROFILER
if (profile_block_flag)
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)
#ifndef INSN_SCHEDULING
void
schedule_insns (dump_file)
- FILE *dump_file;
+ FILE *dump_file ATTRIBUTE_UNUSED;
{
}
#else
#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
#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. */
#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
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));
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
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);
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;
#include "reload.h"
#include "flags.h"
#include "toplev.h"
+#include "tm_p.h"
\f
/* Vector mapping INSN_UIDs to suids.
The suids are like uids but increase monotonically always.
REAL_VALUE_TYPE
real_value_from_int_cst (type, i)
- tree type, i;
+ tree type ATTRIBUTE_UNUSED, i;
{
REAL_VALUE_TYPE d;