[RFC PATCH] avoid printing type suffix with %E (PR c/78165)

Martin Sebor msebor@gmail.com
Fri Dec 9 14:48:00 GMT 2016


> The check-in lacked the gcc/testsuite ChangeLog.  Besides, the patch
> caused a testsuite regression on Solaris with /bin/as (sparc and x86, 32
> and 64-bit):
>
> +FAIL: g++.dg/debug/dwarf2/typedef1.C  -std=gnu++11  scan-assembler-times DW_AT_name: "foo<1>"|"foo<1u>.."[^\\n]*DW_AT_name 1
> +FAIL: g++.dg/debug/dwarf2/typedef1.C  -std=gnu++14  scan-assembler-times DW_AT_name: "foo<1>"|"foo<1u>.."[^\\n]*DW_AT_name 1
> +FAIL: g++.dg/debug/dwarf2/typedef1.C  -std=gnu++98  scan-assembler-times DW_AT_name: "foo<1>"|"foo<1u>.."[^\\n]*DW_AT_name 1
>
> Turns out an incomplete adjustment to the pattern, fixed as follows.
> Will commit as obvious once testing on more configurations (gas, Linux)
> has completed.

Thanks!  I tested x86_64 so it's possible that similar adjustments
will be needed in other target specific tests.  I'll be on the lookout
for more fallout.

Martin



More information about the Gcc-patches mailing list