------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-05 15:01 ------- A slightly more reduced testcase: typedef struct __FILE FILE; extern "C" int fputs(const char *, FILE *); void f(FILE* file) throw() { const char* str = "a"; fputs(str, file); }
The problem is somehow converting fputs to fputc does not update the exceptions regions correctly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21399