Does anyone know whether the "new" Flang LLVM Fortran frontend (available since LLVM 12) or the "old"/"classic" Flang compiler (based on PGI/NVIDIA) support the SIZEOF()
function as a Fortran extension?
This inquiry function is not in the Fortran standard. A lot of compilers support it as an extension (not an exhaustive list): GFortran, Intel Fortran Classic (ifort
), IBM XL Fortran, PGI (rest in pieces), NVIDIA HPC SDK.
Asked
Active
Viewed 63 times
1
-
1Might be easiest to just try it (e.g. on godbolt.org)? – Andrea Jun 12 '21 at 12:00
-
@Andrea It's not there for Fortran :/ – wyphan Jun 13 '21 at 12:44