Message ID | 20241110100254.2800926-1-torbjorn.svensson@foss.st.com |
---|---|
State | New |
Headers | show |
Series | testsuite: arm: Update expected assembler for pr43920-2.c test | expand |
diff --git a/gcc/testsuite/gcc.target/arm/pr43920-2.c b/gcc/testsuite/gcc.target/arm/pr43920-2.c index c367d6bc15d..80cc0b7d260 100644 --- a/gcc/testsuite/gcc.target/arm/pr43920-2.c +++ b/gcc/testsuite/gcc.target/arm/pr43920-2.c @@ -27,6 +27,6 @@ int getFileStartAndLength (int fd, int *start_, size_t *length_) return 0; } -/* { dg-final { scan-assembler-times "pop" 2 } } */ +/* { dg-final { scan-assembler-times "pop" 1 } } */ /* { dg-final { scan-assembler-times "beq" 3 } } */ -/* { dg-final { object-size text <= 54 { target { ! arm*-*-uclinuxfdpiceabi } } } } */ +/* { dg-final { object-size text <= 56 { target { ! arm*-*-uclinuxfdpiceabi } } } } */
Ok for trunk, releases/gcc-12, releases/gcc-13 and releases/gcc-14? -- In version 6-2017-q1-update of the "GNU Arm Embedded Toolchain" build, there are 2 pop instructions. In version 7-2018-q2-update, the next version that still have a binary build available on launchpad, there is only a single pop instruction. When I try to build vanilla GCC in the same version range, I always end up with a single pop instruciton. Since r12-5301-g04520645038, the generated assembler contains one more registry move, and it's requested in PR103298 to allow it. gcc/testsuite/ChangeLog: PR testsuite/103298 * gcc.target/arm/pr43920-2.c: Increase allowed text size and lower number of expected pop instructions. Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> --- gcc/testsuite/gcc.target/arm/pr43920-2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)