http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58796
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-10-30
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I agree this looks like a bug. Reduced:
struct A {};
typedef int A::*PointerToMember;
int main() {
try {
throw nullptr;
} catch (PointerToMember) { // This *should* catch throw nullptr...
}
try {
throw nullptr;
} catch(void *) { // This *should* catch throw nullptr...
}
}