https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71065
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This can't be diagnosed in the middle-end, that is too late and at that point
there could be in between the two e.g. declarations and expressions from the
teams construct clause expressions, or from gimplification thereof etc.