[Bug middle-end/102972] [OpenMP] Strictly-nested diagnostic missing

2022-10-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102972 --- Comment #4 from Jakub Jelinek --- strictly nested region in teams region doesn't preclude orphaned constructs, it just means at runtime one can't call it when not inside of teams (host or target) or when nested inside of another OpenMP cons

[Bug middle-end/102972] [OpenMP] Strictly-nested diagnostic missing

2022-10-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102972 --- Comment #3 from Tobias Burnus --- Besides the restriction on 'teams', there is also: "Restrictions to the distribute construct are as follows: ... • The region that corresponds to the distribute construct must be strictly nested inside a te

[Bug middle-end/102972] [OpenMP] Strictly-nested diagnostic missing

2021-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102972 --- Comment #2 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:948d461954f2642ca187f86c19d297ba7a86320f commit r12-4809-g948d461954f2642ca187f86c19d297ba7a86320f Author: Tobias Burnus Date: S

[Bug middle-end/102972] [OpenMP] Strictly-nested diagnostic missing

2021-10-28 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102972 --- Comment #1 from Tobias Burnus --- Created attachment 51688 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51688&action=edit Draft patch Patch works – but causes quite some fails in testsuites (at least in https://github.com/clang-ykt/