[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-08 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2010-07-08 18:07 --- (In reply to comment #5) > Subject: Re: INQUIRE EXIST variable must be default > LOGICAL > > By the way, the NUMBER variable must be default INTEGER as well. > Do you agree there is the same problem as with

[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-08 Thread zeccav at gmail dot com
--- Comment #5 from zeccav at gmail dot com 2010-07-08 14:49 --- Subject: Re: INQUIRE EXIST variable must be default LOGICAL By the way, the NUMBER variable must be default INTEGER as well. Do you agree there is the same problem as with the EXIST variable? Vittorio -- htt

[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-05 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2010-07-05 20:24 --- Closing as fix. The default behavior of gfortran is to accept any logical kind supported by gfortran. If either -std=f95 or -std=f2003 is given on the command line, gfortran will issue an error. Vittorio thanks for

[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-04 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-07-04 07:25 --- (In reply to comment #0) > INQUIRE_5.f90 lines 22, 26, and 28 use an EXIST variable which is not default > LOGICAL. I believe this is not standard. For completeness: Since F2008 it is allowed: F95: R924 inquire-sp

[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-03 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2010-07-04 06:07 --- A patch has been posted here http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00291.html laptop:kargl[208] gfc4x -o z -std=f2003 inquire_5.f90 inquire_5.f90:22.59: inquire (file = 'inquire_5.txt', number = unit8, exis

[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-03 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2010-07-03 16:04 --- I believe that this is an intended extension. However, laptop:kargl[238] gfc4x -o z -std=f95 -fall-intrinsics inquire_5.f90 laptop:kargl[239] ./z Thus, an error should have been emitted when enforcing f95 or f2003.