From 49ca8b6a3eb4f542b1612625e9e68ded9493abf5 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Mon, 26 Mar 2012 18:54:53 -0700 Subject: [PATCH] ia64: remove references to an out of scope local This causes problems with gcc-4.7 Signed-off-by: Joel Brobecker --- src/ia64/Gtables.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ia64/Gtables.c b/src/ia64/Gtables.c index 1a16a2e7..5ed72f0a 100644 --- a/src/ia64/Gtables.c +++ b/src/ia64/Gtables.c @@ -255,6 +255,7 @@ unw_search_ia64_unwind_table (unw_addr_space_t as, unw_word_t ip, unw_word_t addr, hdr_addr, info_addr, info_end_addr, hdr, *wp; const struct ia64_table_entry *e = NULL; unw_word_t handler_offset, segbase = 0; + struct ia64_table_entry ent; int ret, is_local; assert ((di->format == UNW_INFO_FORMAT_TABLE @@ -275,8 +276,6 @@ unw_search_ia64_unwind_table (unw_addr_space_t as, unw_word_t ip, #ifndef UNW_LOCAL_ONLY else { - struct ia64_table_entry ent; - segbase = di->u.rti.segbase; if ((ret = remote_lookup (as, di->u.rti.table_data, di->u.rti.table_len * sizeof (unw_word_t),