This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/18271]: PING and additional info


Hi,
since 4 months this bug is pending, so I dare to do a PING.

I did some additional experiments:
      SUBROUTINE SPFFT1(IMAX)
        IMPLICIT NONE
        INTEGER,INTENT(IN):: IMAX
        REAL AUX1(25000+INT(0.82*float(IMAX)))
      END SUBROUTINE

surprisingly, this compiles! So when doing the conversion explicitly
it works (also with dble(IMAX)), otherwise not:

      SUBROUTINE SPFFT1(IMAX)
        IMPLICIT NONE
        INTEGER,INTENT(IN):: IMAX
        REAL:: AUX1(25000+INT(0.82*IMAX))
      END SUBROUTINE

this gives (still) an ICE, both with
GNU Fortran 95 (GCC 4.1.0 20050304 (experimental))
and
GNU Fortran 95 (GCC 4.0.0 20050224 (experimental))

regards
Manfred




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]