This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]