Hi: The umips-stroe16-2.c test fails after r255348, cause the r255348 does not print "[length = NN]" but "[c=NN l=NN]".
The asm for umips-stroe16-2.c. before r255348: ... sb $0,0($4) # 9 *movqi_internal/6 [length = 2] ... after r255348: ... sb $0,0($4) # 9 [c=4 l=2] *movqi_internal/5 ... The patch changs: -/* { dg-final { scan-assembler "\tsb\t\\\$0,0\\(\\\$\[0-9\]+\\)\[^\n\]*length = 2" } } */ +/* { dg-final { scan-assembler "\tsb\t\\\$0,0\\(\\\$\[0-9\]+\\)\[^\n\]*l=2" } } */ Thanks. Paul Hua. ChangeLog entries: gcc/testsuite/ChangeLog 2018-03-24 Chenghua Xu <paul.hua...@gmail.com> * gcc.target/mips/umips-stroe16-2.c: Change "length = 2" to "l=2" in dg-final.
diff --git a/gcc/testsuite/gcc.target/mips/umips-store16-2.c b/gcc/testsuite/gcc.target/mips/umips-store16-2.c index 0748edb5692..7fbd5e57305 100644 --- a/gcc/testsuite/gcc.target/mips/umips-store16-2.c +++ b/gcc/testsuite/gcc.target/mips/umips-store16-2.c @@ -17,6 +17,6 @@ f3 (unsigned int *ptr) { *ptr = 0; } -/* { dg-final { scan-assembler "\tsb\t\\\$0,0\\(\\\$\[0-9\]+\\)\[^\n\]*length = 2" } } */ -/* { dg-final { scan-assembler "\tsh\t\\\$0,0\\(\\\$\[0-9\]+\\)\[^\n\]*length = 2" } } */ -/* { dg-final { scan-assembler "\tsw\t\\\$0,0\\(\\\$\[0-9\]+\\)\[^\n\]*length = 2" } } */ +/* { dg-final { scan-assembler "\tsb\t\\\$0,0\\(\\\$\[0-9\]+\\)\[^\n\]*l=2" } } */ +/* { dg-final { scan-assembler "\tsh\t\\\$0,0\\(\\\$\[0-9\]+\\)\[^\n\]*l=2" } } */ +/* { dg-final { scan-assembler "\tsw\t\\\$0,0\\(\\\$\[0-9\]+\\)\[^\n\]*l=2" } } */