Hi! On 2019-12-10T15:23:01+0100, Frederik Harwath wrote: > On 09.12.19 16:58, Harwath, Frederik wrote: >> [use] the location of clauses in warnings instead of the location of the loop to which the clause belongs. > Frederik Harwath (2): > Use clause locations in OpenACC nested reduction warnings Basically: -warning_at (gimple_location (stmt), 0, +warning_at (OMP_CLAUSE_LOCATION (clause), 0, > Add tests to verify OpenACC clause locations Similar changes are desirable for other directives/clauses, too. I've just pushed "[OpenACC] More precise diagnostics for 'gang', 'worker', 'vector' clauses with arguments on 'loop' only allowed in 'kernels' regions" to master branch in commit beddd1762ad2bbe84dd776c54489153f83f21e56, and backported to releases/gcc-10 in commit 8d09f49006ce4c2f8d4018206c12e131c49ca6ce, see attached. Grüße Thomas ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter