On Wed, Apr 9, 2025 at 6:21 PM H.J. Lu <hjl.to...@gmail.com> wrote:
> fprintf (file, "1:\tcall\t*%s@GOT(%%ebx)\n", mcount_name); > diff --git a/gcc/testsuite/gcc.target/i386/pr119386-1.c > b/gcc/testsuite/gcc.target/i386/pr119386-1.c > index 174d00f1e27..56e44c89859 100644 > --- a/gcc/testsuite/gcc.target/i386/pr119386-1.c > +++ b/gcc/testsuite/gcc.target/i386/pr119386-1.c > @@ -1,8 +1,7 @@ > /* PR target/119386 */ > /* { dg-do compile { target *-*-linux* } } */ > /* { dg-options "-O2 -fpic -pg" } */ > -/* { dg-final { scan-assembler "call\[ \t\]mcount@PLT" { target { ! > ia32 } } } } */ > -/* { dg-final { scan-assembler "call\[ \t\]\\*mcount@GOT\\(" { target > ia32 } } } */ > +/* { dg-final { scan-assembler "call\[ \t\]mcount@PLT" } } */ Uh, I know this is my part, but please put "+" after "\[ \t]" at all instances here and in pr119386-2.c. This will handle all sequences of whitespace (it doesn't fail ATM, because the compiler always emits one "\t" after "call"). Uros.