https://gcc.gnu.org/g:4b158835b0bb41d3af11a1b002830a7eeadda099
commit 4b158835b0bb41d3af11a1b002830a7eeadda099 Author: Alexandre Oliva <[email protected]> Date: Fri Jan 16 19:22:23 2026 -0300 [testsuite] [aarch64] adjust auto-init-1 expectations for absent nop At the end of expand, -fpreserve-control-flow replaces the cfg cleanup, when not optimizing, with mere removal of unreachable blocks and compating. This combines blocks that the original code separates with an explicit nop expected by the test. Adjust the expectations. for gcc/testsuite/ChangeLog * gcc.target/aarch64/auto-init-1.c: Drop nop expectation. (cherry picked from commit f9335426f4110dfa2ace61bdd925922b29c25221) Diff: --- gcc/testsuite/gcc.target/aarch64/auto-init-1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/aarch64/auto-init-1.c b/gcc/testsuite/gcc.target/aarch64/auto-init-1.c index 45bb02561edc..9f294c020204 100644 --- a/gcc/testsuite/gcc.target/aarch64/auto-init-1.c +++ b/gcc/testsuite/gcc.target/aarch64/auto-init-1.c @@ -29,5 +29,5 @@ void foo() return; } -/* Includes 1 for the call instruction and 1 for a nop. */ -/* { dg-final { scan-rtl-dump-times "const_int 0" 10 "expand" } } */ +/* Includes 1 for the call instruction. */ +/* { dg-final { scan-rtl-dump-times "const_int 0" 9 "expand" } } */
