diff options
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r-- | gcc/libgcc2.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 1e5947b..586aa2c 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -3058,7 +3058,9 @@ __empty () /* Include definitions of EH context and table layout */ #include "eh-common.h" +#ifndef inhibit_libc #include <stdio.h> +#endif /* This is a safeguard for dynamic handler chain. */ @@ -3365,13 +3367,13 @@ __eh_rtime_match (void *rtime) info = *(__get_eh_info ()); matcher = ((__eh_info *)info)->match_function; -#ifndef inhibit_libc if (! matcher) { +#ifndef inhibit_libc fprintf (stderr, "Internal Compiler Bug: No runtime type matcher."); +#endif return 0; } -#endif ret = (*matcher) (info, rtime, (void *)0); return (ret != NULL); } |