https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462
Bernd Edlinger <bernd.edlinger at hotmail dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernd.edlinger at hotmail dot de --- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- Ah, nice, it worked with arm, aarch64, x86_64, riscv, riscv64 so far... only one of two inlined_subroutines have multiple subranges. Can you try this: index 48d457216b1..5342b87cd0f 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/inline7.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/inline7.c @@ -10,7 +10,7 @@ static int foo (int i) { volatile int j = i + 3; if (j == 3) - return 0; + return j - 3; return j - 2; } int main()