aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@cygnus.com>1998-06-17 13:29:22 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>1998-06-17 13:29:22 +0000
commitd7e7852964c2fd25f97b232fbe825bc879473f01 (patch)
treec597dafe52b7c2eb4875f0af97119c1d683f0501 /gcc/libgcc2.c
parent3301dc51911505b0c7e9b60160ddf6666bd31424 (diff)
downloadgcc-d7e7852964c2fd25f97b232fbe825bc879473f01.zip
gcc-d7e7852964c2fd25f97b232fbe825bc879473f01.tar.gz
gcc-d7e7852964c2fd25f97b232fbe825bc879473f01.tar.bz2
except.c (add_new_handler): fix bug in finding last region handler.
Wed Jun 17 16:25:38 EDT 1998 Andrew MacLeod (amacleod@cygnus.com) * except.c (add_new_handler): fix bug in finding last region handler. * libgcc2.c (find_exception_handler): Pass exception table pointer to runtime type matcher, not the match info field. From-SVN: r20541
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 379586b..1fc703e 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -3424,7 +3424,7 @@ find_exception_handler (void *pc, exception_descriptor *table, void *eh_info)
/* match info but no matcher is NOT a match */
if (matcher)
{
- ret = (*matcher)(eh_info, tab[pos].match_info, table);
+ ret = (*matcher)(eh_info, &tab[pos], table);
if (ret)
{
((__eh_info *)eh_info)->coerced_value = ret;