https://llvm.org/bugs/show_bug.cgi?id=23715

            Bug ID: 23715
           Summary: error: invalid symbol redefinition __asm
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM assembly language parser
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

This error shows up when compiling with O2 or O3, but not with O0 or O1. Note
that the error is triggered in a file included from line 3 of to_write_C and
_before_ that error I get a warning from line 387 of that same file.

./to_write_C.c:387:21: warning: unused variable 'p' [-Wunused-variable]
                                default: {void* p=va_arg(ap,void*);}    //let's
hope this is right
                                                ^
In file included from ATfileoutput.th:8:
In file included from ./to_write_C.c:3:
./to_write_CLANG.c:12:1: error: invalid symbol redefinition
__asm{
^

-- 
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