public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/gccgo] Remove CHECKING_P in coroutines.cc for release checking.
@ 2020-07-12 17:31 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2020-07-12 17:31 UTC (permalink / raw)
To: gcc-cvs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1646 bytes --]
https://gcc.gnu.org/g:6f6c79920883f3fc301a4acc0544ed5a130bf7c5
commit 6f6c79920883f3fc301a4acc0544ed5a130bf7c5
Author: Martin Liska <mliska@suse.cz>
Date: Fri Apr 24 08:46:29 2020 +0200
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’.
Diff:
---
gcc/cp/ChangeLog | 5 +++++
gcc/cp/coroutines.cc | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 043e6aaddf4..4d3049e67f3 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 bec165b6ec6..4f254b7fd10 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-12 17:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12 17:31 [gcc/devel/gccgo] Remove CHECKING_P in coroutines.cc for release checking Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).