------- Comment #5 from tkoenig at gcc dot gnu dot org  2007-01-31 18:08 -------
This is a bug in the program (as noted in comment #3).

We warn about this with the right options:

$ gfortran -O2 -Wall tr30654.f
tr30654.f:35.17:

         iii1=ii1+i1-1
                1
Error: Symbol 'ii1' at (1) has no IMPLICIT type
$ vi tr30654.f
$ gfortran -O2 -Wall tr30654.f
tr30654.f: In function 'MAIN__':
tr30654.f:35: warning: 'ii1' is used uninitialized in this function
$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../../gcc/trunk/configure --prefix=/home/ig25
--enable-maintainer-mode --enable-languages=c,fortran
Thread model: posix
gcc version 4.3.0 20070127 (experimental)

Closing.


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to