https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62046
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> --- I think it can be reduced like this: void foo() { } catch (...); class bar { void foo() { } catch (...); }; we reject only the former.