public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/22143] New: missing kinds 1 and 2 for eoshift and cshift
@ 2005-06-22 12:22 tkoenig at gcc dot gnu dot org
  2005-06-23 12:40 ` [Bug libfortran/22143] " fxcoudert at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2005-06-22 12:22 UTC (permalink / raw)
  To: gcc-bugs

$ cat shift-kind.f90
program main
  implicit none
  integer, dimension (3,3) :: a, b, w
  integer(kind=2), dimension (3) :: sh2
  integer(kind=1), dimension (3) :: sh1
  integer, dimension(3) :: bo
  integer :: i,j

  a = reshape((/(i,i=1,9)/),shape(a))
  sh1 = (/ -3, -1, 3 /)
  sh2 = (/ -3, -1, 3 /)
  bo = (/-999, -99, -9 /)
  b = cshift(a, shift=sh1)
  b = cshift(a, shift=sh2)

  b = eoshift(a, shift=sh1)
  b = eoshift(a, shift=sh1, boundary=bo)
  b = eoshift(a, shift=sh2)
  b = eoshift(a, shift=sh2, boundary=bo)

end program main
$ gfortran shift-kind.f90
/tmp/cceMvPmd.o(.text+0xa42): In function `MAIN__':
: undefined reference to `_gfortran_cshift1_1'
/tmp/cceMvPmd.o(.text+0xc82): In function `MAIN__':
: undefined reference to `_gfortran_cshift1_2'
/tmp/cceMvPmd.o(.text+0xed2): In function `MAIN__':
: undefined reference to `_gfortran_eoshift1_1'
/tmp/cceMvPmd.o(.text+0x11a2): In function `MAIN__':
: undefined reference to `_gfortran_eoshift3_1'
/tmp/cceMvPmd.o(.text+0x13f2): In function `MAIN__':
: undefined reference to `_gfortran_eoshift1_2'
/tmp/cceMvPmd.o(.text+0x16c2): In function `MAIN__':
: undefined reference to `_gfortran_eoshift3_2'
collect2: ld returned 1 exit status

-- 
           Summary: missing kinds 1 and 2 for eoshift and cshift
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        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=22143


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

end of thread, other threads:[~2005-08-11 14:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-22 12:22 [Bug libfortran/22143] New: missing kinds 1 and 2 for eoshift and cshift tkoenig at gcc dot gnu dot org
2005-06-23 12:40 ` [Bug libfortran/22143] " fxcoudert at gcc dot gnu dot org
2005-07-30 21:18 ` fxcoudert at gcc dot gnu dot org
2005-08-10 20:16 ` cvs-commit at gcc dot gnu dot org
2005-08-10 20:25 ` cvs-commit at gcc dot gnu dot org
2005-08-10 20:32 ` tkoenig at gcc dot gnu dot org
2005-08-11 14:20 ` pinskia 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).