This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g77: dreal, dimag, and dcmplx
- To: Craig Burley <burley at gnu dot org>
- Subject: g77: dreal, dimag, and dcmplx
- From: "Dr H. T. Leung" <htl10 at cus dot cam dot ac dot uk>
- Date: Thu, 16 Jul 1998 17:42:41 +0100 (BST)
- cc: egcs-bugs at cygnus dot com
For
complex*16 Z
real*8 a, b
a = real (Z)
b = imag (Z)
g77 -Wall only complains about real should be "dreal" (okay, it says it is
ambiguous and point you to "info -f g77 complex" or something like that),
but it doesn't moan about imag should be "dimag". Surely that should be
implemented for uniform behaviour?