re PR debug/90197 (Cannot step through simple loop at -O -g)
authorJakub Jelinek <jakub@redhat.com>
Fri, 26 Apr 2019 15:38:33 +0000 (17:38 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 26 Apr 2019 15:38:33 +0000 (17:38 +0200)
commitf179b64e3ab013ff04e705953d33a2f82de6b086
tree52464894da7f7ffd9b288bcb2b44f8dd5e1958b7
parent6b3a5e8a3d18c8a954c6e99072fe1859977fafbd
re PR debug/90197 (Cannot step through simple loop at -O -g)

PR debug/90197
* c-tree.h (c_finish_loop): Add 2 further location_t arguments.
* c-parser.c (c_parser_while_statement): Adjust c_finish_loop caller.
(c_parser_do_statement): Likewise.
(c_parser_for_statement): Likewise.  Formatting fixes.
* c-typeck.c (c_finish_loop): Add COND_LOCUS and INCR_LOCUS arguments,
emit DEBUG_BEGIN_STMTs if needed.

From-SVN: r270606
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/c/c-tree.h
gcc/c/c-typeck.c