------- 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

Reply via email to