https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115112

--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Also seen in the assembly output:
$ gm2 -fiso -g -fm2-whole-program -S testrestline.mod

...

.L1166:
        .loc 10 133 7
        nop
.L1163:
        .loc 10 108 11    # front end incorrectly assigns location to line 108,
it should be 134
        movl    -4(%rbp), %eax
        addl    $1, %eax
        .loc 10 134 10
        movl    %eax, -4(%rbp)
        .loc 10 136 8
        jmp     .L1159

Reply via email to