------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 21:50 ------- Here is a short testcase for when we should dect a function throws nothing: 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); }
I will file a new bug about this one. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19445