https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100515
--- Comment #7 from Bernd Edlinger <edlinger at gcc dot gnu.org> --- Okay, while the ICE is fixed, there is something odd in the test case: foo._omp_fn.0: .LVL0: .LFB2: .cfi_startproc .file 1 "pr100515.c" .loc 1 10 5 view -0 ret .cfi_endproc .LFE2: .size foo._omp_fn.0, .-foo._omp_fn.0 .p2align 4 .type bar._omp_fn.0, @function bar._omp_fn.0: .LFB5: .cfi_startproc ret .cfi_endproc .LFE5: .size bar._omp_fn.0, .-bar._omp_fn.0 .p2align 4 .globl foo .type foo, @function foo._omp_fn.0 does have a correct .loc statement, while bar._omp_fn.0 does not have a .loc statement and therefore no debugging in bar is possible. This must be a pre-existing issue already there before r12-574-ge69ac0203725fb8d.