[Bug tree-optimization/21399] [4.1 Regression] libstdc++ 12077.cc ICE

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu May 5 15:02:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list