https://llvm.org/bugs/show_bug.cgi?id=23715
Javier <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #7 from Javier <[email protected]> --- And of course I am compiling with -fms-extensions. Dind't you read my latest message? I said they are turned on by default when using Clang on Windows. How else would it compile without errors with -O0 or -O1? Here is the clang invocation as reported by clang with the -v option: -cc1 -triple i686-pc-windows-msvc -emit-obj -disable-free -main-file-name ATfileinput.th -mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu pentium4 -momit-leaf-frame-pointer -v -dwarf-column-info -coverage-file "C:\\Users\\Javier\\Desktop\\Proyecto\\relativa\\ATcrt\\ATfileinput.th" -resource-dir "C:\\Users\\Javier\\Clang\\build\\Release\\bin\\..\\lib\\clang\\3.7.0" -D _DLL -D _MT -internal-isystem "C:\\Users\\Javier\\Clang\\build\\Release\\bin\\..\\lib\\clang\\3.7.0\\include" -internal-isystem "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE" -internal-isystem "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\ATLMFC\\INCLUDE" -internal-isystem "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include" -O2 -Weverything -std=c11 -fdebug-compilation-dir "C:\\Users\\Javier\\Desktop\\Proyecto\\relativa\\ATcrt" -ferror-limit 19 -fmessage-length 0 -mstackrealign -fno-signed-char -fms-extensions -fms-compatibility -fms-compatibility-version=18 -fno-threadsafe-statics -fdelayed-template-parsing -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o ATfileinput.o -x c ATfileinput.th clang -cc1 version 3.7.0 based upon LLVM 3.7.0svn default target i686-pc-windows-msvc And here are more lines of the error report: In file included from ./to_write_C.c:3: ./to_write_CLANG.c:12:1: error: invalid symbol redefinition __asm{ ^ <inline asm>:9:2: note: instantiated into assembly here L__MSASMLABEL_.1__big_loop: xor edx, edx ^ 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{ ^ <inline asm>:17:2: note: instantiated into assembly here L__MSASMLABEL_.0__small_entry: cmp eax, 10 ^ 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{ ^ <inline asm>:19:2: note: instantiated into assembly here L__MSASMLABEL_.3__small_loop: xor edx, edx ^ [...] -- 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
