And another update; I removed the global variable, which was only used for checking at the end – and reconstruct its value in a local variable just before calling gfc_check_omp_requires. (Following a suggestion by Jakub and removing a kind-of left over from the first implementation.) Tobias On 7/28/20 5:12 PM, Tobias Burnus wrote: > I just realized that supporting 'acq_rel' is simple; while > 'omp atomic' parsing needs to be updated quite a bit for the > OpenMP 5 changes, just adding ACQ_REL support for 'requires' > is trivial. > > Hence, I updated the requires-9.c testcase for 'acq_rel', > adjusted trans-openmp.c and did some openmp.c adjustments. > > Thus: New version with this trivial change and being > able to tick-off the 'atomic_default_mem_order' clause :-) > > Tobias > ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter