[Bug debug/95574] line table entry in sequence with address after sequence

2024-07-16 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug debug/95574] line table entry in sequence with address after sequence

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 Andrew Pinski changed: What|Removed |Added CC||blarsen at redhat dot com --- Comment #8

[Bug debug/95574] line table entry in sequence with address after sequence

2020-07-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 --- Comment #7 from Tom de Vries --- A bit more subtle: ... diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index 899a5c0290d..f94eb38f797 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -8880,6 +8880,10 @@ emit_note_insn_var_loc

[Bug debug/95574] line table entry in sequence with address after sequence

2020-07-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 --- Comment #6 from Tom de Vries --- A simple way of fixing this is: ... diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index 899a5c0290d..4b143f6702b 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -6635,7 +6635,7 @@ add_with_s

[Bug debug/95574] line table entry in sequence with address after sequence

2020-07-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 --- Comment #5 from Tom de Vries --- This seems to be var-track related. Before var-track we have: ... (debug_insn 23 41 24 5 (debug_marker) "test2.c":12:5 -1 (nil)) (call_insn 24 23 25 5 (call (mem:QI (symbol_ref:DI ("abort") [flags 0x41]

[Bug debug/95574] line table entry in sequence with address after sequence

2020-07-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 --- Comment #4 from Tom de Vries --- (In reply to Tom de Vries from comment #2) > Created attachment 48702 [details] > _absvsi2_s.c > > To reproduce: > ... > $ gcc -O2 -g -fpic -mlong-double-80 -fcf-protection -mshstk > -fbuilding-libgcc -fno-st

[Bug debug/95574] line table entry in sequence with address after sequence

2020-06-08 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 --- Comment #3 from Tom de Vries --- Gdb currently silently ignores the offending entry. I've filed a gdb PR, PR26092 - "Complain about contradictory DW_LNE_end_sequence marker" to complain about this ( https://sourceware.org/bugzilla/show_bug.c

[Bug debug/95574] line table entry in sequence with address after sequence

2020-06-08 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 --- Comment #2 from Tom de Vries --- Created attachment 48702 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48702&action=edit _absvsi2_s.c To reproduce: ... $ gcc -O2 -g -fpic -mlong-double-80 -fcf-protection -mshstk -fbuilding-libgcc -fn

[Bug debug/95574] line table entry in sequence with address after sequence

2020-06-08 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 Tom de Vries changed: What|Removed |Added Keywords||wrong-debug --- Comment #1 from Tom de Vr