Hi Tobias,

Attached is a long overdue bug fix, given that OpenMP's declare variant
is supported in gfortran sincer12-4409-g724ee5a0093da4 (Oct 2021). (and in C/C++ since r10-3744-g94e7f906ca5c73, Oct 2019). While 'omp declare simd' was already handled in the .mod file, 'declare variant' was not. It is easily missed in single-file testcases (esp. after the commitr15-7595-g8268c8256) as the
whole-file handling mostly hides it.

Just one question - as this will change the module file, will we
still be compatible with reading gfortran 8 to gfortran 14-written
module files?  Or, in other words, will PR118337 not rear its ugly
head again?

Best regards

        Thomas

Reply via email to