aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorRobert Lipe <robertl@dgii.com>1998-02-11 00:35:13 +0000
committerJeff Law <law@gcc.gnu.org>1998-02-10 17:35:13 -0700
commit381127e8451026b670f2dc47e7cacf437b372795 (patch)
tree6c085eaf4f6a0f4eeaa7b71e40be3173bd3f59da /gcc/except.c
parent9b713d5e5077b9bdb1376c09a7f07c817de0af16 (diff)
downloadgcc-381127e8451026b670f2dc47e7cacf437b372795.zip
gcc-381127e8451026b670f2dc47e7cacf437b372795.tar.gz
gcc-381127e8451026b670f2dc47e7cacf437b372795.tar.bz2
except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
* except.c (start_dynamic_cleanup): Remove unused variable 'dhc'. (expand_eh_region_start_tree): Remove unused variable 'note'. (exception_optimize): Remove unused variable 'regions'. (expand_builtin_eh_stub): Remove unused variable 'temp'. (copy_eh_entry): Deleted. Dead function. * expr.c (move_block_to_reg) Bracket declaration of 'pat' and 'last' with same #if HAVE_load_multiple as use of it. (move_block_from_reg): Likewise. (emit_move_insn_1): Remove unused variable 'insns'. (store_constructor): Bracket declaration of startb, endb with #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size' 'target', and 'xtarget'. (expand_builtin_setjmp): Remove unused variables 'op0', 'next_arg_reg', 'old_inhibit_defer_pop'. (expand_builtin): Remove unused variable 'offset'. (do_store_flag): Remove unused variables 'pattern', 'jump_pat'. (emit_queue): Add parens for assignment used as conditional. (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'. From-SVN: r17843
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c22
1 files changed, 3 insertions, 19 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 3d6ace9..fd92d08 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -551,20 +551,6 @@ top_label_entry (stack)
return (*stack)->u.tlabel;
}
-/* Make a copy of ENTRY using xmalloc to allocate the space. */
-
-static struct eh_entry *
-copy_eh_entry (entry)
- struct eh_entry *entry;
-{
- struct eh_entry *newentry;
-
- newentry = (struct eh_entry *) xmalloc (sizeof (struct eh_entry));
- bcopy ((char *) entry, (char *) newentry, sizeof (struct eh_entry));
-
- return newentry;
-}
-
/* Push a new eh_node entry onto STACK. */
static void
@@ -855,7 +841,7 @@ start_dynamic_cleanup (func, arg)
tree func;
tree arg;
{
- rtx dhc, dcc;
+ rtx dcc;
rtx new_func, new_arg;
rtx x, buf;
int size;
@@ -984,8 +970,6 @@ expand_eh_region_start_tree (decl, cleanup)
tree decl;
tree cleanup;
{
- rtx note;
-
/* This is the old code. */
if (! doing_eh (0))
return 0;
@@ -2016,7 +2000,7 @@ scan_region (insn, n, delete_outer)
void
exception_optimize ()
{
- rtx insn, regions = NULL_RTX;
+ rtx insn;
int n;
/* Remove empty regions. */
@@ -2160,7 +2144,7 @@ expand_builtin_eh_stub ()
{
rtx stub_start = gen_label_rtx ();
rtx after_stub = gen_label_rtx ();
- rtx handler, offset, temp;
+ rtx handler, offset;
emit_jump (after_stub);
emit_label (stub_start);