Indeed, I somehow managed to use the wrong of the two enums in the cast ... Fixed in r12-1760-gcac3527793b38164e2a83c7ccbfe0cfcf5ac95b8 On 23.06.21 16:13, Martin Liška wrote: > I noticed the patch causes the following clang warnings: > gcc/fortran/dump-parse-tree.c:1786:11: warning: comparison of > different enumeration types in switch statement ('enum > gfc_omp_defaultmap' and 'gfc_omp_defaultmap_category') > [-Wenum-compare-switch] Thanks for reporting! Tobias ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank Thürauf