Commit 57bed152 by Kaveh R. Ghazi Committed by Kaveh Ghazi

calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in macro conditionals guarding use.

        * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
        macro conditionals guarding use.

        * dwarf2out.c: Include "tm_p.h".

        * function.c (locate_and_pad_parm): Mark parameter with
        ATTRIBUTE_UNUSED.
        (expand_function_end): Likewise for variable `context'.

        * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.

cp:
        * call.c: If GATHER_STATISTICS, declare `n_build_method_call'.

From-SVN: r31398
parent ff17f164
2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
macro conditionals guarding use.
* dwarf2out.c: Include "tm_p.h".
* function.c (locate_and_pad_parm): Mark parameter with
ATTRIBUTE_UNUSED.
(expand_function_end): Likewise for variable `context'.
* reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
2000-01-13 Nick Clifton <nickc@cygnus.com>
* config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
......
......@@ -394,7 +394,9 @@ emit_call_1 (funexp, fndecl, funtype, stack_size, rounded_stack_size,
int is_const;
{
rtx rounded_stack_size_rtx = GEN_INT (rounded_stack_size);
#if defined (HAVE_call) && defined (HAVE_call_value)
rtx struct_value_size_rtx = GEN_INT (struct_value_size);
#endif
rtx call_insn;
#ifndef ACCUMULATE_OUTGOING_ARGS
int already_popped = 0;
......
2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* call.c: If GATHER_STATISTICS, declare `n_build_method_call'.
2000-01-12 Mark Mitchell <mark@codesourcery.com>
* decl.c (start_cleanup_fn): Call pushdecl.
......
......@@ -440,6 +440,10 @@ build_call (function, result_type, parms)
`operator()()' is defined for the type of that field, then we return
that result. */
#ifdef GATHER_STATISTICS
extern int n_build_method_call;
#endif
tree
build_method_call (instance, name, parms, basetype_path, flags)
tree instance, name, parms, basetype_path;
......
......@@ -55,6 +55,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "dyn-string.h"
#include "ggc.h"
#include "tm_p.h"
/* We cannot use <assert.h> in GCC source, since that would include
GCC's assert.h, which may not be compatible with the host compiler. */
......
......@@ -4970,7 +4970,7 @@ locate_and_pad_parm (passed_mode, type, in_regs, fndecl,
alignment_pad)
enum machine_mode passed_mode;
tree type;
int in_regs;
int in_regs ATTRIBUTE_UNUSED;
tree fndecl ATTRIBUTE_UNUSED;
struct args_size *initial_offset_ptr;
struct args_size *offset_ptr;
......@@ -6266,7 +6266,7 @@ expand_function_end (filename, line, end_bindings)
for (link = trampoline_list; link; link = TREE_CHAIN (link))
{
tree function = TREE_PURPOSE (link);
rtx context = lookup_static_chain (function);
rtx context ATTRIBUTE_UNUSED = lookup_static_chain (function);
rtx tramp = RTL_EXPR_RTL (TREE_VALUE (link));
#ifdef TRAMPOLINE_TEMPLATE
rtx blktramp;
......
......@@ -222,7 +222,9 @@ static rtx fill_slots_from_thread PROTO((rtx, rtx, rtx, rtx, int, int,
int, int, int *, rtx));
static void fill_eager_delay_slots PROTO((void));
static void relax_delay_slots PROTO((rtx));
#ifdef HAVE_return
static void make_return_insns PROTO((rtx));
#endif
/* Return TRUE if this insn should stop the search for insn to fill delay
slots. LABELS_P indicates that labels should terminate the search.
......
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