This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19452] New: Not detecting a function does not throw
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2005 21:55:11 -0000
- Subject: [Bug c++/19452] New: Not detecting a function does not throw
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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