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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to