On 12/31/2017 09:04 PM, Alexandre Oliva wrote:
On Dec 29, 2017, Tom de Vries <tom_devr...@mentor.com> wrote:

On 12/29/2017 05:12 AM, Alexandre Oliva wrote:
On Dec 27, 2017, Tom de Vries <tom_devr...@mentor.com> wrote:

.loc file_index line_number column_position

so this causes ptxas errors when compiling something for nvptx with
-g, which breaks the nvptx build.

What do the errors look like?

     16  .loc 1 15 1 is_stmt 0

Oh, is_stmt is not a new assembler feature, nor is it one that's
introduced by SFN, but SFN does indeed get GCC to exercise it in cases
it didn't before, and that completely escaped me when I was surprised by
your previous email.  Thanks for the data, it clears it all up for me.

If you point me to the location of a configure test that is supposed
to file, I can try to find out why it passes.

Thanks, even the configure test for '.loc ... view' support is in the
LVU patch yet to be reviewed and installed.

Now, perhaps it would be wise to introduce a test for is_stmt support in
.loc directives, now that we know there are assemblers that don't
support it.


Filed: PR83788 - Add .loc is_stmt support test ( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83788 ).

Thanks,
- Tom

Reply via email to