[Bug fortran/31683] bogus warnings / miscompilation

2007-04-24 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-24 19:58 --- > > This example is not valid. As NAG f95 claims: > it is not supposed to be a runable example Well, for hunting miscompilation bugs, a runable example helps. I think there are at leastfour problems: a) The program

[Bug fortran/31683] bogus warnings / miscompilation

2007-04-24 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2007-04-24 19:07 --- (In reply to comment #1) > This example is not valid. As NAG f95 claims: it is not supposed to be a runable example, of course. Just remove the 'PRIVATE' from the module definition. -- http://gcc.gnu.org/bugzilla/s

[Bug fortran/31683] bogus warnings / miscompilation

2007-04-24 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-24 18:46 --- This example is not valid. As NAG f95 claims: Error: foo.f90, line 45: ALLOCATABLE array NCOSET used but never ALLOCATEd (gfortran actually misses such an error/warning. -- http://gcc.gnu.org/bugzilla/show_bug.c