This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21399] [4.1 Regression] libstdc++ 12077.cc ICE
- 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: 5 May 2005 15:01:59 -0000
- Subject: [Bug tree-optimization/21399] [4.1 Regression] libstdc++ 12077.cc ICE
- References: <20050505143115.21399.dje@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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