The following functions should be detected as not throwing and there for we should not have a call to __cxa_call_unexcepted (or the equivant sjlj call): int g(int i); int h(int i) throw(); inline int f(int i) { h(i);if(i<10)return 1;else return g(i-1) + i;} inline int g(int i) { return f(i); } int temp(int i) throw() { return g(i); }
-- Summary: Not detecting a function does not throw Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: minor Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org OtherBugsDependingO 19445 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19452