diff options
author | Martin Liska <mliska@suse.cz> | 2020-04-24 08:46:29 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-04-24 08:46:45 +0200 |
commit | 6f6c79920883f3fc301a4acc0544ed5a130bf7c5 (patch) | |
tree | 6484383b4ee2b09f961dfa88a063f1fbaeff88e7 | |
parent | ef8dc9d24055ddeef2fe9cb300b1051d7a440438 (diff) | |
download | gcc-6f6c79920883f3fc301a4acc0544ed5a130bf7c5.zip gcc-6f6c79920883f3fc301a4acc0544ed5a130bf7c5.tar.gz gcc-6f6c79920883f3fc301a4acc0544ed5a130bf7c5.tar.bz2 |
Remove CHECKING_P in coroutines.cc for release checking.
* coroutines.cc: Fix compilation error for release checking
where we miss declaration of ‘coro_body_contains_bind_expr_p’.
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/coroutines.cc | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 043e6aa..4d3049e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2020-04-24 Martin Liska <mliska@suse.cz> + + * coroutines.cc: Fix compilation error for release checking + where we miss declaration of ‘coro_body_contains_bind_expr_p’. + 2020-04-23 Patrick Palka <ppalka@redhat.com> * tree.c (zero_init_expr_p): Use uses_template_parms instead of diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc index bec165b..4f254b7 100644 --- a/gcc/cp/coroutines.cc +++ b/gcc/cp/coroutines.cc @@ -3441,7 +3441,6 @@ act_des_fn (tree orig, tree fn_type, tree coro_frame_ptr, const char* name) return fn; } -#if CHECKING_P /* Return a bind expression if we see one, else NULL_TREE. */ static tree bind_expr_find_in_subtree (tree *stmt, int *, void *) @@ -3460,7 +3459,6 @@ coro_body_contains_bind_expr_p (tree *stmt) hash_set<tree> visited; return cp_walk_tree (stmt, bind_expr_find_in_subtree, NULL, &visited); } -#endif /* Here we: a) Check that the function and promise type are valid for a |