re PR debug/90574 ([gdb] gdb wrongly stopped at a breakpoint in an unexecuted line...
authorRichard Biener <rguenther@suse.de>
Fri, 7 Jun 2019 12:14:55 +0000 (12:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 7 Jun 2019 12:14:55 +0000 (12:14 +0000)
commite733243a3693142bd9c9486451c38d2dc20270ac
tree641a164df2c05ca90667f647528cb4ba412eee57
parent510c9192493b6af5c4c70b14390fe340bca8ecaa
re PR debug/90574 ([gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code)

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.

From-SVN: r272040
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/gcov-pr90574-1.c [new file with mode: 0644]
gcc/testsuite/gcc.misc-tests/gcov-pr90574-2.c [new file with mode: 0644]
gcc/tree-cfg.c