https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121975
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
If I try reproduce to manually reproduce
> FAIL: c-c++-common/goacc-gomp/nesting-1.c -std=c++17 at line 30 (test for
> warnings, line 31)
I see (a) that there is '*/' missing in the first line. And I see (b) a warning
only for line 28 (with '-Wall), which looks odd:
c-c++-common/goacc-gomp/nesting-1.c:28:9: warning: ‘i’ is used uninitialized
[-Wuninitialized]
28 | int i;
| ^
c-c++-common/goacc-gomp/nesting-1.c:28:9: note: ‘i’ was declared here
28 | int i;
| ^
'i' seems to be unused on the host but due to the firstprivate it is read –
while inside the region it is assigned a value 'i = 0'.
But I have only glanced at it.