diff options
Diffstat (limited to 'gcc/cp/exception.cc')
-rw-r--r-- | gcc/cp/exception.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/exception.cc b/gcc/cp/exception.cc index bb36a66..4c10404 100644 --- a/gcc/cp/exception.cc +++ b/gcc/cp/exception.cc @@ -160,6 +160,9 @@ __cplus_type_matcher (cp_eh_info *info, rtimetype match_info, if (exception_table->lang.language != EH_LANG_C_plus_plus) return NULL; + if (match_info == CATCH_ALL_TYPE) + return info->value; + /* we don't worry about version info yet, there is only one version! */ void *match_type = match_info (); |