[Bug debug/90574] [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 7 12:15:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90574
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
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 <rguenther@suse.de>
PR debug/90574
* tree-cfg.c (stmt_starts_bb_p): Split blocks at labels
that appear after user labels.
* gcc.misc-tests/gcov-pr90574-1.c: New testcase.
* gcc.misc-tests/gcov-pr90574-2.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.misc-tests/gcov-pr90574-1.c
trunk/gcc/testsuite/gcc.misc-tests/gcov-pr90574-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-cfg.c
More information about the Gcc-bugs
mailing list