<div dir="ltr">Yes, gas does use it. <div><br></div><div>Petr, can you add a short comment to this patch just so it's noted.</div><div><br></div><div>I believe this will be the only place where we may leave an error save adding inline assembly with the fno-integrated-as flag.</div><div><br></div><div>-Nirav</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 25, 2016 at 10:51 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 25 May 2016 at 10:45, James Y Knight <<a href="mailto:jyknight@google.com">jyknight@google.com</a>> wrote:<br>
> The .s does have a way to carry the location. GCC emits location lines<br>
> around inline asm, like this:<br>
> #APP<br>
> # 3 "/tmp/test-asm.c" 1<br>
>         cmp %ax, %ax<br>
> # 0 "" 2<br>
> #NO_APP<br>
><br>
> Clang doesn't do that. Clang emits for the same code:<br>
>         #APP<br>
>         cmpw    %ax, %ax<br>
>         #NO_APP<br>
><br>
> Emitting location directives that seems like it's really a separate patch,<br>
> IMO.<br>
<br>
</span>Agreed. Does gas use that to print warning/errors these days?<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>