The following valid code snippet is rejected since GCC 3.4.0: ============================== struct A;
void foo() { try {} catch(int A) {} } ============================== bug.cc: In function 'void foo()': bug.cc:5:20: error: two or more data types in declaration of 'type name' -- Summary: [4.3/4.4/4.5 regression] Parse problems with catch Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41876