public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/22143] New: missing kinds 1 and 2 for eoshift and cshift
Date: Wed, 22 Jun 2005 12:22:00 -0000	[thread overview]
Message-ID: <20050622122227.22143.tkoenig@gcc.gnu.org> (raw)

$ 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


             reply	other threads:[~2005-06-22 12:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22 12:22 tkoenig at gcc dot gnu dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050622122227.22143.tkoenig@gcc.gnu.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).