https://gcc.gnu.org/g:363a668a6688bbd16e8174516323a734db144107
commit r16-4734-g363a668a6688bbd16e8174516323a734db144107 Author: Richard Biener <[email protected]> Date: Thu Oct 30 14:24:46 2025 +0100 Adjust gcc.dg/tree-ssa/pr92834.c Scanning the optimized dump is fragile due to vectorization. The following instead scans after early phiopt1, adjusting for not yet eliminated static functions. * gcc.dg/tree-ssa/pr92834.c: Scan phiopt1 instead of optimized. Diff: --- gcc/testsuite/gcc.dg/tree-ssa/pr92834.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr92834.c b/gcc/testsuite/gcc.dg/tree-ssa/pr92834.c index 889048d3840d..70acf74b3a00 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr92834.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr92834.c @@ -1,8 +1,8 @@ /* PR tree-optimization/92834 */ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-optimized" } */ -/* { dg-final { scan-tree-dump-times "MIN_EXPR <" 8 "optimized" } } */ -/* { dg-final { scan-tree-dump-times "MAX_EXPR <" 8 "optimized" } } */ +/* { dg-options "-O2 -fdump-tree-phiopt1" } */ +/* { dg-final { scan-tree-dump-times "MIN_EXPR <" 16 "phiopt1" } } */ +/* { dg-final { scan-tree-dump-times "MAX_EXPR <" 16 "phiopt1" } } */ static inline unsigned umax1 (unsigned a, unsigned b)
