Using linear (added by the compiler) + explicit lastprivate gives an error. To quote Jakub from the PR: "If it is the FE that adds the linear clause, then it shouldn't when there is explicit lastprivate clause. This is a new thing in OpenMP 5.0, in 4.5 it was invalid to make the iterate anything but linear in this case, now it can be made private or lastprivate." Actually, the check which permitted this was committed early during GCC 11 development, but the some updates of trans-openmp.c were missing. OK? Tobias ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter