[Bug fortran/18565] gfortran: CONJG: false error message about standard violation
coudert at clipper dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Wed Jan 26 19:23:00 GMT 2005
------- Additional Comments From coudert at clipper dot ens dot fr 2005-01-26 19:23 -------
Compiling with -std=f95, you can also get these errors:
Error: Type of argument 'x' in call to 'cos' at (1) should be REAL(4), not
COMPLEX(8)
Error: Type of argument 'x' in call to 'exp' at (1) should be REAL(4), not
COMPLEX(8)
Error: Type of argument 'x' in call to 'log' at (1) should be REAL(4), not
COMPLEX(8)
Error: Type of argument 'x' in call to 'sin' at (1) should be REAL(4), not
COMPLEX(8)
Error: Type of argument 'x' in call to 'sqrt' at (1) should be REAL(4), not
COMPLEX(8)
which are the same as the ones in this PR, as well as:
Error: Function 'dimag' at (1) has no implicit type
Error: Function 'dcmplx' at (1) has no implicit type
Error: Function 'dconjg' at (1) has no implicit type
Error: Function 'dreal' at (1) has no implicit type
which probably have similar causes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18565
More information about the Gcc-bugs
mailing list