http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50407

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-09-15 
20:28:15 UTC ---
g95 fails with

In file pr50407.f90:10

      print 2.ip.8  ! gfortran gets confused, expects a comma
             1
Error: Syntax error in PRINT statement at (1)

      print *, 2.ip.8  ! gfortran gets confused, expects a comma
      print *, i.ip.2  ! compiles fine 
      print *, i.ip.j  ! compiles fine

compiles and gives

 ('ok 16')
 ('ok  6')
 ('ok 12')

So as Steve, I think the code is invalid.

Reply via email to