This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/49990] New: Regression: Bootstrap failure for x86_64-*-mingw32 in libfortran
- From: "ktietz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 5 Aug 2011 16:55:06 +0000
- Subject: [Bug objc/49990] New: Regression: Bootstrap failure for x86_64-*-mingw32 in libfortran
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49990
Summary: Regression: Bootstrap failure for x86_64-*-mingw32 in
libfortran
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: objc
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ktietz@gcc.gnu.org
Target: x86_64-w64-mingw32
Recent changes caused an internal compiler error for x86_64 with SEH unwind
information.
The following testcase shows the issue. Needs to be compiled with -O1 or
higher to see the ICE.
extern long long swrite (void *s, const
long
sset (void * s, int c, long nbyte)
{
static const int WRITE_CHUNK = 256;
char p[WRITE_CHUNK];
if (nbyte < WRITE_CHUNK)
memset (p, c, nbyte);
else
memset (p, c, WRITE_CHUNK);
return swrite (s, p, nbyte);
}