Tested this with r17-5743-ge33129b871c302 as baseline. At first look, there is not difference at all.
When taking a closer look at the ticket, I see that I wrote that since r16-5947-ga6c50ec2c6ebcb there is a new pass that removes the extra registers and thus, the problem is only visible when running with -fno-fuse-ops-with-volatile-access. Comparing the baseline with(the + below) and without(the - below) -fno-fuse-ops-with-volatile-access for DejaGNU argument 'arm.exp=bfloat16_scalar_*.c' gives the original test cases: -PASS: gcc.target/arm/bfloat16_scalar_1_2.c check-function-bodies stacktest1 +FAIL: gcc.target/arm/bfloat16_scalar_1_2.c check-function-bodies stacktest1 -PASS: gcc.target/arm/bfloat16_scalar_2_2.c check-function-bodies stacktest1 +FAIL: gcc.target/arm/bfloat16_scalar_2_2.c check-function-bodies stacktest1 -PASS: gcc.target/arm/bfloat16_scalar_3_2.c check-function-bodies stacktest1 +FAIL: gcc.target/arm/bfloat16_scalar_3_2.c check-function-bodies stacktest1 Now, doing the same compare for the patched toolchain, I instead see these (meaning that the above are okay with the change): -PASS: gcc.target/arm/bfloat16_scalar_1_1.c check-function-bodies stacktest1 +FAIL: gcc.target/arm/bfloat16_scalar_1_1.c check-function-bodies stacktest1 -PASS: gcc.target/arm/bfloat16_scalar_2_1.c check-function-bodies stacktest1 +FAIL: gcc.target/arm/bfloat16_scalar_2_1.c check-function-bodies stacktest1 -PASS: gcc.target/arm/bfloat16_scalar_3_1.c check-function-bodies stacktest1 +FAIL: gcc.target/arm/bfloat16_scalar_3_1.c check-function-bodies stacktest1 So, the patch fixes the original test, but it also regresses the other test. Let me know if you need any additional info. -- https://forge.sourceware.org/gcc/gcc/pulls/260#issuecomment-8080
