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
* [Bug libfortran/22143] missing kinds 1 and 2 for eoshift and cshift 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 ` fxcoudert at gcc dot gnu dot org 2005-07-30 21:18 ` fxcoudert at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2005-06-23 12:40 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-06-23 12:40:23 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22143 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/22143] missing kinds 1 and 2 for eoshift and cshift 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 ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2005-07-30 21:18 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-07-30 20:59 ------- Thomas, I guess your patch is doing the right thing. Could you submit it to gcc- patches so that it gets reviewed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22143 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/22143] missing kinds 1 and 2 for eoshift and cshift 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 ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-08-10 20:16 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-10 20:16 ------- Subject: Bug 22143 CVSROOT: /cvs/gcc Module name: gcc Changes by: tkoenig@gcc.gnu.org 2005-08-10 20:16:29 Modified files: gcc/fortran : ChangeLog gfortran.h resolve.c iresolve.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/gfortran.dg: shift-kind.f90 Log message: 2005-08-10 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/22143 gfortran.h: Declare new function gfc_resolve_dim_arg. resolve.c: New function gfc_resolve_dim_arg. iresolve.c (gfc_resolve_all): Use gfc_resolve_dim_arg. (gfc_resolve_any): Likewise. (gfc_resolve_count): Likewise. (gfc_resolve_cshift): Likewise. If the kind of shift is less gfc_default_integer_kind, convert it to default integer type. (gfc_resolve_eoshift): Likewise. (gfc_resolve_maxloc): Use gfc_resolve_dim_arg. (gfc_resolve_maxval): Likewise. (gfc_resolve_minloc): Likewise. (gfc_resolve_minval): Likewise. (gfc_resolve_product): Likewise. (gfc_resolve_spread): Likewise. (gfc_resolve_sum): Likewise. 2005-08-10 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/22143 gfortran.dg/shift-kind.f90: New testcase. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.518&r2=1.519 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.h.diff?cvsroot=gcc&r1=1.78&r2=1.79 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&r1=1.50&r2=1.51 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/iresolve.c.diff?cvsroot=gcc&r1=1.37&r2=1.38 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5903&r2=1.5904 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/shift-kind.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22143 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/22143] missing kinds 1 and 2 for eoshift and cshift 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 ` (2 preceding siblings ...) 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 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-08-10 20:25 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-10 20:25 ------- Subject: Bug 22143 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: tkoenig@gcc.gnu.org 2005-08-10 20:25:02 Modified files: gcc/fortran : ChangeLog gfortran.h resolve.c iresolve.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/gfortran.dg: shift-kind.f90 Log message: 2005-08-10 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/22143 gfortran.h: Declare new function gfc_resolve_dim_arg. resolve.c: New function gfc_resolve_dim_arg. iresolve.c (gfc_resolve_all): Use gfc_resolve_dim_arg. (gfc_resolve_any): Likewise. (gfc_resolve_count): Likewise. (gfc_resolve_cshift): Likewise. If the kind of shift is less gfc_default_integer_kind, convert it to default integer type. (gfc_resolve_eoshift): Likewise. (gfc_resolve_maxloc): Use gfc_resolve_dim_arg. (gfc_resolve_maxval): Likewise. (gfc_resolve_minloc): Likewise. (gfc_resolve_minval): Likewise. (gfc_resolve_product): Likewise. (gfc_resolve_spread): Likewise. (gfc_resolve_sum): Likewise. 2005-08-10 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/22143 gfortran.dg/shift-kind.f90: New testcase. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.335.2.103&r2=1.335.2.104 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.58.2.12&r2=1.58.2.13 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.34.2.13&r2=1.34.2.14 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/iresolve.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.32.2.3&r2=1.32.2.4 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.327&r2=1.5084.2.328 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/shift-kind.f90.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22143 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/22143] missing kinds 1 and 2 for eoshift and cshift 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 ` (3 preceding siblings ...) 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 5 siblings, 0 replies; 7+ messages in thread From: tkoenig at gcc dot gnu dot org @ 2005-08-10 20:32 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-10 20:32 ------- Fixed in mainline and 4.0. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22143 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/22143] missing kinds 1 and 2 for eoshift and cshift 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 ` (4 preceding siblings ...) 2005-08-10 20:32 ` tkoenig at gcc dot gnu dot org @ 2005-08-11 14:20 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-08-11 14:20 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.2 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).