------- Comment #6 from giese025 at umn dot edu 2010-03-10 16:07 ------- (In reply to comment #5) > (In reply to comment #4) > > > > > "Not all valid FORTRAN 95 programs will compile properly when using this > > option. If you want to ensure compliance with one of the FORTRAN standards, > > please see the -std= option." > > > > The problem is that your program does not conform to > the Fortran 95 standard. >
It compiles without error nor warning with gfortran -std=f95 -Wall bar.f90 I'm not trying to sound argumentative here but you can't have it both ways... so are you saying that this is really a problem with -std, as opposed to -pedantic? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43310