Closed oroppas closed 1 year ago
imag
is an GNU F77 extension. Currently there is no plan for f18 semantics to support many of these GNU F77 extensions.
Can you use AIMAG(z)
or z%im
?
Does -Dimag=aimag
work around this problem successfully?
No flang-new
doesn't understand -Dimag=aimag
.
That's strange; the arm driver is reported to be feature-complete w/r/t f18. Did the arm driver give you an error message?
You might also need a -cpp
option.
Ah. You're absolutely right. We need -cpp
.
Closed as implemented on llvm ToT.
from
https://github.com/QcmPlab/SciFortran/blob/69a9711e21c50d4f2768dfb981cfd21b38f88863/src/SF_SPECIAL/special_functions.f90#L1673