Re: bug in g95 with character arrays?



In article <1ij8l2t.nne55b1lf9o00N%nospam@xxxxxxxxxxxxx>,
Richard Maine <nospam@xxxxxxxxxxxxx> wrote:

... Gfortran actually implements that f2003
feature now. I haven't checked for it in g95; suppose I ought to.

character(len=5), parameter :: test(5) = &
[character(len=5) :: "tan","atan2","atan","sin","asin"]

That's OK in g95.

-- John Harper, School of Mathematics, Statistics and Computer Science,
Victoria University, PO Box 600, Wellington 6140, New Zealand
e-mail john.harper@xxxxxxxxx phone (+64)(4)463 6780 fax (+64)(4)463 5045
.



Relevant Pages

  • using the functionality of 2 compilers
    ... I have recently come across a very useful feature in the g95 compiler ... executable called 'dump' which allows the user to restart a job if you ...
    (comp.lang.fortran)
  • Re: stop the Fortran standards train
    ... | you hadn't obfusicated your code drops), you would be testing g95 on ... the fact is that g95, fortran feature wise, has come far ...
    (comp.lang.fortran)
  • Re: allocatable array in a type definition?
    ... > feature, ... ifort does support it, and maybe g95 soon. ... Nicolas LIMARE ...
    (comp.lang.fortran)
  • Re: Are these messages anything to worry about?
    ... > feature of g95. ... we use g95 to do nightly builds of our program ... (CP2K, 300K lines of Fortran 95) ...
    (comp.lang.fortran)
  • Re: Machine/Compiler Independent Results
    ... The four compilers I can use (g95, and NAG, Compaq and Sun f95) all ... What f95 compilers do print "Oops!"? ... Does g95 support GCC's -ffast-math ... -- John Harper, School of Mathematics, Statistics and Computer Science, ...
    (comp.lang.fortran)