<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:javier_3@runbox.com" title="Javier <javier_3@runbox.com>"> <span class="fn">Javier</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED " title="REOPENED --- - error: invalid symbol redefinition __asm" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23715&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=eed54Gwf6PcKPf3_Uyu7eLb9x3cmWTeU8_uZcXo0T2o&s=d_G_kmZ74j02mEbXUFcLqU_36wvgbNaRnecQ_H2UINc&e=">bug 23715</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED " title="REOPENED --- - error: invalid symbol redefinition __asm" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23715-23c7&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=eed54Gwf6PcKPf3_Uyu7eLb9x3cmWTeU8_uZcXo0T2o&s=Ye9Gwe5LIamwi8RH53-XzDDxmX3sU-n4D__1dBHlY0A&e=">Comment # 7</a>
on <a class="bz_bug_link
bz_status_REOPENED " title="REOPENED --- - error: invalid symbol redefinition __asm" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23715&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=eed54Gwf6PcKPf3_Uyu7eLb9x3cmWTeU8_uZcXo0T2o&s=d_G_kmZ74j02mEbXUFcLqU_36wvgbNaRnecQ_H2UINc&e=">bug 23715</a>
from <span class="vcard"><a class="email" href="mailto:javier_3@runbox.com" title="Javier <javier_3@runbox.com>"> <span class="fn">Javier</span></a>
</span></b>
<pre>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
^
[...]</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>