<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJy9VNtu4yAQ_Rr8gmIRHBL7wQ9u0z6ttN-A7WnMBoPFJW3-fgenua1SaaWtFmOZgWHmHOaY1vbHmqzZqXeEbQlrDlb19IMSXqYR4RUlm6fTEsUm_ZjWCOf5j2gcyG6QrQbCBSm2pGiIeDb4BnS4bppb2qKt2dEHG-mC5jc76d-0-_ApddGkJCql5iVD6KkXn-DJZvs5uNI8fkmT8Ffs1NhAB3lQiFqZKQZPR7kHT8OgPIWPyYH3yhoazSSdh5lQ8fqfT-sxy3NZL2anJYZb_ORpsmgeuxXP3kbXIYsX9MG4zTI5U3DOujSIZm_su6G9ctAFdYBvISteLvmV0cpACnbCsMSXp8xYC0hfZXyQJigZoEcjWPT1MLb6SAdwcB_6CyT30rnJ_if7dLQP2Ae7B4PJbzTwHefwSOUXcOdKZX1d9FVRyUzGMFhXG9Xte_AyaqPA-Sw6XQ8hTD7lmnW8U2GIbd7ZEQ2tD-fPYnL2F5YRTeV9BI8DUQhWZkPdw7payWX7Vqwqxrs3wbqSLSUv5Qaqjq0yLVvQvibiCYnMQYsGqc8_gkvcxDb7dyCq5oxjZ0t8cCYX6yUIsYG2rKBqRU9WDEapdJ7i5NbtMlfPIdu487iolQ_-uohaUTsDMONGhEEFPRs3uhNbqm0nNT1RpO-ImqbDP1VwzaiNAW8DGmCcNOpwvicuNwCqRKMmUBsBTD-L9ByaRg99ns0c65ngbyTJi6k>53508</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [inline asm] local labels with `%=` output template not parseable unless extended inline asm used.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            llvm:asmparser
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          nickdesaulniers
      </td>
    </tr>
</table>

<pre>
    ```c
void x (void) {
    asm (".Lunreachable%=:\n\t"
         ".long .Lunreachable%= - .\n\t"                                     
        :: "i"(0));
}

void y (void) {
    // not having inputs makes this expression unparseable?
    asm (".Lunreachable%=:\n\t"
         ".long .Lunreachable%= - .\n\t");
}
```
`clang -O2`:
```
<source>:9:10: error: unknown directive
    asm (".Lunreachable%=:\n\t"
         ^
<inline asm>:1:2: note: instantiated into assembly here
        .Lunreachable%=:
        ^
<source>:9:29: error: unknown token in expression
    asm (".Lunreachable%=:\n\t"
                            ^
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9U0tv4yAQ_jX4gmLZEOL44EPatKeV9jdgexqzwWDxSJt_v4PTvFaptIeqBMtgZr7HMGltf2zIqjjNjhRbUmwOVvX0gxK2TivCakqqp9MRxSH9mM4IY_mvaBzIbpCtBsIE4VvCN0Q8G3wCBlyT5pFStDU7-iCRLmh-k0n_Z9zDJ2q-SSQqUbN1gdLT5J_iSbX9XFxtHr-0SdgrTmpsoIM8KFStzBSDp6Pcg6dhUJ7Cx-TAe2UNjWaSzsNsiL_-cLUeuzxf62XbaYlwi98sfeSbx2H82dvoOnTxgjGIuylTMAXnrEuLaPbGvhvaKwddUAf4FrPi5cKvjFYGEthJQ4kPS8x4F5DeyvggTVAyQI-bYDHWw9jqIx3AwT30F0ruW-eG_V_3qbQP3Ae7B4PkNz3wHXV41OUXceebyvqG9zWvZRZU0NAQ8XRTM7Gl2nZSUy1b0J6-qzDQlHhiXxXUxoCdTAOMk8Yazj1-6V50qNEP-gpg-rnAZ2gaPfR5Fp1uhhAmn5zM_5IdUsQ27-yIG60P59dicvYPNglulfcRPC4EF8U6G5qad221lGvJeli2fPXWStF1Zdmv38qKiSo7yU_msEwzKN-giFmoS5UT20w1rGA4ixJ_CJyLVQlCVNCua6hb0ZNlAaNUOk8AuXW7zDWzsjbuPB5q5YO_HmIfqZ2BuaQJX8YwWNcY1e178DJqo8D5bDbTzE7-AjPwdpk">