This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18565] gfortran: CONJG: false error message about standard violation
- From: "coudert at clipper dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2005 09:08:09 -0000
- Subject: [Bug fortran/18565] gfortran: CONJG: false error message about standard violation
- References: <20041119130711.18565.anlauf@hep.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From coudert at clipper dot ens dot fr 2005-01-26 09:08 -------
The same bug happens with aimag (and, as far as I can see, for the same reasons):
$ cat a.f90
program bug
implicit none
complex(8) x
write(*,*) aimag(x)
end
$ gfortran -std=f95 a.f90
In file a.f90:5
write(*,*) aimag(x)
1
Error: Type of argument 'z' in call to 'aimag' at (1) should be COMPLEX(4), not
COMPLEX(8)
Could a similar patch be applied?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |coudert at clipper dot ens
| |dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18565