testsuite/arm: Improve scan-assembler in pr96770.c
authorChristophe Lyon <christophe.lyon@linaro.org>
Sun, 28 Mar 2021 18:59:06 +0000 (18:59 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Sun, 28 Mar 2021 19:01:24 +0000 (19:01 +0000)
commit46720db72cadfb85501e102d94e06683300a2327
tree7d0a0604d1e818a1d39a27b62a95fc91d54f775d
parent297363774e6a5dca2f46a85ab086f1d9e59431ac
testsuite/arm: Improve scan-assembler in pr96770.c

I'm seeing random scan-assembler-times failures in pr96770.c when LTO is used.

I suspect this is because the \\+4 string matches the LTO sections, sometimes.

This small patch avoids the issue, by matching arr\\+4 instead of \\+4.

2021-03-28  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
PR target/96770
* gcc.target/arm/pure-code/pr96770.c: Improve scan-assembler-times.
gcc/testsuite/gcc.target/arm/pure-code/pr96770.c