[Bug tree-optimization/120916] debug line info for IV increment is lost

2025-07-08 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120916 --- Comment #9 from Jan Hubicka --- Created attachment 61818 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61818&action=edit create_gcov path

[Bug tree-optimization/120916] debug line info for IV increment is lost

2025-07-08 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120916 --- Comment #8 from Jan Hubicka --- Patching create_gcov to account all of debug statements associated with a given address instead of just the last one gets me: test total:4350509 head:8642 1: 4484 // { 2: 4484 // for ( 3: 4484

[Bug tree-optimization/120916] debug line info for IV increment is lost

2025-07-04 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120916 --- Comment #7 from Jan Hubicka --- LLVM also gets execution counts wrong, just the different (and less harmful) way: test:270773509:9780 1: 9116 2: 51984 for ( 4: 51984 iThis Inner Loop Header: Depth=1 .loc0 10 15

[Bug tree-optimization/120916] debug line info for IV increment is lost

2025-07-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120916 --- Comment #6 from Richard Biener --- when we replace a stmt with sth else we should drop it's location unless it still computes the same value. That is, on the consumer side I'd expect, when I see (gdb) s i++) /* Line 9 */ (gdb) s (gd

[Bug tree-optimization/120916] debug line info for IV increment is lost

2025-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120916 Andrew Pinski changed: What|Removed |Added Depends on||56094 --- Comment #5 from Andrew Pinski

[Bug tree-optimization/120916] debug line info for IV increment is lost

2025-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120916 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-07-01 Status|UNCONFIRM