[Bug objc/49990] New: Regression: Bootstrap failure for x86_64-*-mingw32 in libfortran

ktietz at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 5 16:55:00 GMT 2011


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);
}



More information about the Gcc-bugs mailing list