[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-23 Thread patchapp at dberlin dot org
--- Comment #17 from patchapp at dberlin dot org 2007-11-23 15:15 --- Subject: Bug number PR33317 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-11/msg01228.html --

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #20 from jvdelisle at gcc dot gnu dot org 2007-11-24 00:36 --- Fixed on trunk. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #19 from jvdelisle at gcc dot gnu dot org 2007-11-24 00:29 --- Subject: Bug 33317 Author: jvdelisle Date: Sat Nov 24 00:29:14 2007 New Revision: 130392 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130392 Log: 2007-11-23 Tobias Burnus [EMAIL PROTECTED] PR

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #18 from jvdelisle at gcc dot gnu dot org 2007-11-24 00:25 --- Subject: Bug 33317 Author: jvdelisle Date: Sat Nov 24 00:25:01 2007 New Revision: 130391 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130391 Log: 2007-11-23 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-19 Thread patchapp at dberlin dot org
--- Comment #16 from patchapp at dberlin dot org 2007-11-20 05:04 --- Subject: Bug number PR33317 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00962.html --

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-19 Thread jvdelisle at gcc dot gnu dot org
--- Comment #15 from jvdelisle at gcc dot gnu dot org 2007-11-20 04:46 --- Created an attachment (id=14583) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14583action=view) New patch for testing on Darwin and ppc This patch regrssion tests OK on powerpc-linux-gnu. Please test on

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-11-18 20:59 --- Subject: Bug 33317 Author: jvdelisle Date: Sun Nov 18 20:59:41 2007 New Revision: 130277 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130277 Log: 2007-11-18 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-11-18 21:15 --- Fixed on trunk. Rev 130276 http://gcc.gnu.org/viewcvs/trunk/gcc/fortran/check.c?view=logpathrev=130276 -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-18 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2007-11-18 22:46 --- Sorry to reopen the bug, but I have a lot of failures in my tests. A reduced case is: integer(8) :: i i = 1_8 print *, cshift((/.true.,.false.,.true.,.false./),1,dim=i) end which fails at runtime with: Fortran

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2007-11-18 23:45 --- No sorry necessary. Could you post the -fdump-tree-original for your test case? In the mean time I will get logged on to a linux PPC machine and see if I see it there. --

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2007-11-19 01:22 --- I found the problem. We key off of the kind of shift to determine which version of the runtime to resolve to. In your test case, shift is kind=4 so we load in the cshift0_4 instead of the cshift0_8 version of

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-17 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-11-17 18:22 --- The problem here is that when we resolve cshift and eoshift we convert dim from a EXPR_VARIABLE to a EXPR_FUNCTION that converts the type to match up with the runtime function. Later in trans-expr.c, code is not

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-15 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-11-16 06:23 --- program test implicit none call sub(1) call sub() contains subroutine sub(dimmy) integer, optional :: dimmy logical :: lotto(4) lotto = .false. lotto =

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-13 Thread jvdelisle at gcc dot gnu dot org
-- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot |dot org

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-10-25 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-09-05 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-09-05 21:20 --- Correction: gfortran rejects this currently and does not accept it and crash; better than crashing but still wrong. (I modified check.c's dim_check and enabled it accidentally.) -- burnus at gcc dot gnu dot org