https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128234
--- Comment #4 from Josh Cottingham <josh.cottingham at linaro dot org> --- (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++. Just for clarity here, is your assessment that it seems like this is indeed incorrect DWARF? From a GDB users perspective, what is suggested here would make sense as the current behavior prevents them from being able to evaluate variables such as "array_1" within OpenMP regions.
