[Bug fortran/23092] New: scalar mask for minval/maxval

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 27 15:20:00 GMT 2005


$ cat minval.f90
program main
  real, dimension(2) :: a
  logical  :: m
  a = (/ 1.0, 2.0 /)
  m = .true.
  print *,minval(a, m)
end program main
$ gfortran minval.f90
minval.f90: In function 'MAIN__':
minval.f90:6: internal compiler error: in gfc_conv_intrinsic_minmaxval, at 
fortran/trans-intrinsic.c:1597
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gfortran -v
Using built-in specs.
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.1-20050723/configure --prefix=/home/zfkts --enable-
languages=c,f95
Thread model: posix
gcc version 4.1.0 20050723 (experimental)

-- 
           Summary: scalar mask for minval/maxval
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list