[Bug debug/90574] [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code

2019-06-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90574 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/90574] [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code

2019-06-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90574 --- Comment #7 from Richard Biener --- Author: rguenth Date: Fri Jun 7 12:14:55 2019 New Revision: 272040 URL: https://gcc.gnu.org/viewcvs?rev=272040&root=gcc&view=rev Log: 2019-06-07 Richard Biener PR debug/90574 * tree-cfg

[Bug debug/90574] [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code

2019-06-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90574 --- Comment #6 from Martin Liška --- *** Bug 89673 has been marked as a duplicate of this bug. ***

[Bug debug/90574] [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code

2019-06-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90574 --- Comment #5 from Martin Liška --- (In reply to Richard Biener from comment #4) > Note these issues also appear as coverage errors: > > -:0:Source:t.c > -:0:Graph:t.gcno > -:0:Data:t.gcda > -:0:R

[Bug debug/90574] [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code

2019-06-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90574 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #

[Bug debug/90574] [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code

2019-06-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90574 --- Comment #3 from Richard Biener --- Related testcase: int main(int argc, char **argv) { switch (argc) { case 0: { foo:; } case 1:; } return 0; } breaking on the foo: line stops. Fixing this is a two-e

[Bug debug/90574] [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code

2019-05-23 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90574 --- Comment #2 from Yibiao Yang --- (In reply to Richard Biener from comment #1) > We somehow build a broken(?) CFG from the start: > > ;; basic block 2, loop depth 0 > ;;pred: ENTRY > if (argc == 0) > ;;succ: 3 > > ;;

[Bug debug/90574] [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code

2019-05-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90574 Richard Biener changed: What|Removed |Added Keywords||wrong-code, wrong-debug Sta