<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - No error for conflict between inputs\outputs and clobber list"
href="https://llvm.org/bugs/show_bug.cgi?id=25678">25678</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>No error for conflict between inputs\outputs and clobber list
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ziv.izhar@intel.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>According to extended asm syntax, a case where the clobber list includes a
variable from the inputs or outputs should be an error - conflict.
for example:
# define REG1 "%eax"
void *foo (void *p){
void *a;
register void *q asm (REG1) = p;
register void *q1 asm (REG2) = a;
asm ("not %0" : "=r" (q) : "0" (q1) : REG1); /* { dg-error "conflict" } */
}
This should conflict with the output - q which is eax, and REG1 which is eax
aswell.
a review with a solution will be shortly posted.</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>