https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116775

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, e.g. co_await_find_in_subtree/await_statement_expander/find_any_await and
maybe other coroutines.cc cp_walk_tree callbacks could use some helper for
CALL_EXPR and in that case if it is a BUILT_IN_CONSTANT_P call and the argument
has TREE_SIDE_EFFECTS, set *walk_subtrees = 0.

Reply via email to