https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Bernd Edlinger <edlin...@gcc.gnu.org>: https://gcc.gnu.org/g:a8ae8f9c2ed055b9e4408209f1c724493c5a3e3c commit r15-3118-ga8ae8f9c2ed055b9e4408209f1c724493c5a3e3c Author: Bernd Edlinger <bernd.edlin...@hotmail.de> Date: Fri Aug 23 06:22:55 2024 +0200 Fix test failure on powerpc targets Apparently due to slightly different optimization levels not always both subroutines have multiple subranges, but having at least one such, and no lexical blocks is sufficient to prove that the fix worked. Q.E.D. So reduce the test expectations to only at least one inlined subroutine with multiple subranges. gcc/testsuite/ChangeLog: PR other/116462 * gcc.dg/debug/dwarf2/inline7.c: Reduce test expectations.