[LLVMbugs] [Bug 8228] New: fatal error: error in backend: 'fstat64' label emitted multiple times to assembly file

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 24 21:03:59 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8228

           Summary: fatal error: error in backend: 'fstat64' label emitted
                    multiple times to assembly file
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: alexei.svitkine at gmail.com
                CC: llvmbugs at cs.uiuc.edu


When processing a file that includes system headers, the above error is given.

I've preprocessed the code and reduced it as much as possible to get this
snippet:

extern int fstat (int __fd) __asm__ ("" "fstat64");

extern __inline__ int fstat (int __fd)
{
  return 0;
}

extern __inline__ int fstat64 (int __fd)
{
  return 0;
}

Compiling the above with clang leads to the error given. Compiling it with GCC
does not result in any error.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list