diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-04-26 17:38:33 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-04-26 17:38:33 +0200 |
commit | f179b64e3ab013ff04e705953d33a2f82de6b086 (patch) | |
tree | 52464894da7f7ffd9b288bcb2b44f8dd5e1958b7 /gcc/c/c-tree.h | |
parent | 6b3a5e8a3d18c8a954c6e99072fe1859977fafbd (diff) | |
download | gcc-f179b64e3ab013ff04e705953d33a2f82de6b086.zip gcc-f179b64e3ab013ff04e705953d33a2f82de6b086.tar.gz gcc-f179b64e3ab013ff04e705953d33a2f82de6b086.tar.bz2 |
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
Diffstat (limited to 'gcc/c/c-tree.h')
-rw-r--r-- | gcc/c/c-tree.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c/c-tree.h b/gcc/c/c-tree.h index 9393f6d..7e35ab1 100644 --- a/gcc/c/c-tree.h +++ b/gcc/c/c-tree.h @@ -694,7 +694,8 @@ extern int c_types_compatible_p (tree, tree); extern tree c_begin_compound_stmt (bool); extern tree c_end_compound_stmt (location_t, tree, bool); extern void c_finish_if_stmt (location_t, tree, tree, tree); -extern void c_finish_loop (location_t, tree, tree, tree, tree, tree, bool); +extern void c_finish_loop (location_t, location_t, tree, location_t, tree, + tree, tree, tree, bool); extern tree c_begin_stmt_expr (void); extern tree c_finish_stmt_expr (location_t, tree); extern tree c_process_expr_stmt (location_t, tree); |