public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/30533]  New: minval, maxval missing for kind=1 and kind=2
@ 2007-01-21 23:03 tkoenig at gcc dot gnu dot org
  2007-01-22 21:30 ` [Bug libfortran/30533] " fxcoudert at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-01-21 23:03 UTC (permalink / raw)
  To: gcc-bugs

Yet another missing intrinsic kind...

Also watch out for PR 30512 when fixing this.

$ cat minval-1.f90
program main
  integer(kind=1), allocatable :: a(:,:)
  integer(kind=2), allocatable :: b(:,:)
  allocate (a(0:-1,1:1))
  allocate (b(0:-1,1:1))
  print *,maxval(a,dim=1) ,minval(a,dim=1)
  print *,maxval(b,dim=1) ,minval(b,dim=1)
end program main
$ gfortran minval-1.f90
/tmp/ccOKvSb7.o: In function `MAIN__':
minval-1.f90:(.text+0x17f): undefined reference to `_gfortran_maxval_i1'
minval-1.f90:(.text+0x20e): undefined reference to `_gfortran_minval_i1'
minval-1.f90:(.text+0x2e1): undefined reference to `_gfortran_maxval_i2'
minval-1.f90:(.text+0x371): undefined reference to `_gfortran_minval_i2'
collect2: ld returned 1 exit status


-- 
           Summary: minval, maxval missing for kind=1 and kind=2
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-02-28 21:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-21 23:03 [Bug libfortran/30533] New: minval, maxval missing for kind=1 and kind=2 tkoenig at gcc dot gnu dot org
2007-01-22 21:30 ` [Bug libfortran/30533] " fxcoudert at gcc dot gnu dot org
2007-01-23 13:27 ` fxcoudert at gcc dot gnu dot org
2007-01-29 22:42 ` tkoenig at gcc dot gnu dot org
2007-01-31 21:07 ` tkoenig at gcc dot gnu dot org
2007-02-07  8:10 ` fxcoudert at gcc dot gnu dot org
2007-02-07 20:08 ` tkoenig at gcc dot gnu dot org
2007-02-10 19:57 ` tkoenig at gcc dot gnu dot org
2007-02-11 19:43 ` tkoenig at gcc dot gnu dot org
2007-02-12 20:21 ` tkoenig at gcc dot gnu dot org
2007-02-12 20:23 ` tkoenig at gcc dot gnu dot org
2007-02-12 20:25 ` tkoenig at gcc dot gnu dot org
2007-02-19 20:50 ` tkoenig at gcc dot gnu dot org
2007-02-28 21:37 ` [Bug libfortran/30533] [4.2, 4.1 only] " tkoenig at gcc dot gnu dot org
2007-02-28 21:37 ` [Bug libfortran/30533] [4.1 " tkoenig at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).