summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-13 23:43:55 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-13 23:43:55 +0000
commit39697b37ac87288175f0359861a7df57f45183b7 (patch)
tree745cfdd34f4d9f8d474635f991192d7fa316dbc2 /gcc/function.c
parent908ba7ac2349718861e6aec0f805a4d7bac539e1 (diff)
downloadgcc-39697b37ac87288175f0359861a7df57f45183b7.tar.gz
* 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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31398 138bc75d-0d04-0410-961f-82ee72b054a4
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 5db558fcd42..6f631c209a9 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;