[r11-6759 Regression] FAIL: gcc.dg/debug/dwarf2/pr41445-7.c scan-assembler DW_TAG_variable[^\\r\\n]*[\\r\\n]+[^\\r\\n]*"varj[^\\r\\n]*DW_AT_name([^\\r\\n]*[\\r\\n]+[^\\r\\n]*DW_AT_)*[^\\r\\n]*[\\r\\n]+[^\\r\\n]*[^\\r\\n]*DW_AT_decl_line \\((0xa|10)\\) on Linux/x86_64

Jeff Law law@redhat.com
Tue Jan 19 17:49:48 GMT 2021



On 1/19/21 10:46 AM, David Edelsohn wrote:
> Thanks for fixing this, Jeff.
No worries.

>
> I didn't realize that the testcase was testing the explicit source
> code line number hard coded the expected DWARF output.
Me neither.  It took a few minutes to see what was going on.  I kept
thinking something  must have changed in the compiler.

>
> It would have been nice if the testcase included a comment about the
> purpose and to alert people that the expected output needs to change
> if lines are added to the file.
Agreed.

jeff



More information about the Gcc-regression mailing list