https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116775
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So, likely the coroutine lowering shouldn't walk into __builtin_constant_p TREE_SIDE_EFFECTS argument subtrees at all, keep those as is and leave them to be removed later.