aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-01-13 23:43:55 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-01-13 23:43:55 +0000
commit57bed15271e83402b6d8d6647f6589718e70916d (patch)
tree745cfdd34f4d9f8d474635f991192d7fa316dbc2 /gcc/function.c
parentff17f164035e09f502390f76ac111d3d54b724ee (diff)
downloadgcc-57bed15271e83402b6d8d6647f6589718e70916d.zip
gcc-57bed15271e83402b6d8d6647f6589718e70916d.tar.gz
gcc-57bed15271e83402b6d8d6647f6589718e70916d.tar.bz2
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
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 5db558f..6f631c2 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -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;