[Bug fortran/18565] gfortran: CONJG: false error message about standard violation
sgk at troutmask dot apl dot washington dot edu
gcc-bugzilla@gcc.gnu.org
Thu Jan 27 03:23:00 GMT 2005
------- Additional Comments From sgk at troutmask dot apl dot washington dot edu 2005-01-27 03:23 -------
FX,
The first of errors with COS() and friends is caused by marking
DCOS as GFC_STD_F77, which apparent is not a subset of GFC_STD_F95.
You did not show the code that gives the second set of errors,
but I can guess. It looked something like
implicit none
complex(8) z
z = (1.d0,1.d0)
print *, dimag(z)
end
If you compile with -std=f95 and dimag() is not a specific name
for the generic function aimag, then the errors you give are
indeed correct. The reason is that dimag is not added to the
list of intrinsics so gfortran does not know about it and you
specified implicit none.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18565
More information about the Gcc-bugs
mailing list