[EMAIL PROTECTED] ac_avionics]$ cat a.f REAL*4 EW REAL*8 ED REAL*4 TEMP TEMP = ATAN2(EW,ED) END [EMAIL PROTECTED] ac_avionics]$ g77 a.f [EMAIL PROTECTED] ac_avionics]$ gfortran a.f In file a.f:4
TEMP = ATAN2(EW,ED) 1 Error: 'x' argument of 'atan2' intrinsic at (1) must be the same type and kind as 'y' [EMAIL PROTECTED] ac_avionics]$ gfortran --version GNU Fortran 95 (GCC) 4.2.0 20060311 (experimental) Copyright (C) 2006 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING i will let the language lawyers decide if this is a bug or if g77 was too lenient. -- Summary: requires both arguments to ATAN2 to be of same type Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bdavis at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26815