------- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-07 14:13 ------- I mean that other testcases should be using similar patterns, and if they do the second underscore is probably there. A quick grep only finds
rtti/tinfo1.C:// { dg-final { scan-assembler-not "(.globl|.global)\[ \]+_ZTIP9CTemplateIhE" } } abi/key2.C:// { dg-final { scan-assembler ".globl __ZTI1f\\n .weak_definition __ZTI1f\\n .section __DATA,__const_coal,coalesced" } } where the first one looks incomplete (it will not fail on darwin if there is __ZTI...), but no other scan-assembler testcase with global symbols are appearantly there. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35119