https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128234

--- Comment #3 from Josh Cottingham <josh.cottingham at linaro dot org> ---
Created attachment 65998
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65998&action=edit
C equivilent of Fortran reproducer

(In reply to Richard Biener from comment #2)
>         <cc>   DW_AT_artificial  : 1
> 
> so it's artificial, it should not have (or need) a name.  There should be
> an abstract origin to the original variable with this artificial one
> just adding a location or so I think.  I'd guess the very same issue shows
> up with C or C++.

The C equivalent of the Fortran code does not seem to add the name with `.0` in
the generated DWARF though I expect this is not the be-all-end-all and this
could well occur in another scenario.

Reply via email to