[Bug fortran/23151] print (buf, format), expression should be invalid
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 2 21:59:00 GMT 2005
------- Comment #1 from tkoenig at gcc dot gnu dot org 2005-11-02 21:59 -------
g77 groks this:
$ cat prt.f
program main
character*80 line
print (line,'(A)'), 'hello'
end
$ g77 prt.f
prt.f: In program `main':
prt.f:3:
print (line,'(A)'), 'hello'
^
Real part of complex constant at (^) must be a real or integer constant --
otherwise use CMPLX() or COMPLEX() in place of ()
prt.f:3:
print (line,'(A)'), 'hello'
^
Imaginary part of complex constant at (^) must be a real or integer constant --
otherwise use CMPLX() or COMPLEX() in place of ()
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |19292
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23151
More information about the Gcc-bugs
mailing list