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: unassig...@gcc.gnu.org
        ReportedBy: kti...@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);
}

Reply via email to