[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-10-11 Thread pault at gcc dot gnu dot org
--- Comment #17 from pault at gcc dot gnu dot org 2008-10-11 10:02 --- Fixed on trunk and 4.3 Thanks for the report, FX (I hope that you still keep an eye on the PRs!) Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-10-11 Thread pault at gcc dot gnu dot org
--- Comment #16 from pault at gcc dot gnu dot org 2008-10-11 09:59 --- Subject: Bug 35680 Author: pault Date: Sat Oct 11 09:58:38 2008 New Revision: 141056 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=141056 Log: 2008-10-11 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-10-05 Thread pault at gcc dot gnu dot org
--- Comment #15 from pault at gcc dot gnu dot org 2008-10-05 18:54 --- Subject: Bug 35680 Author: pault Date: Sun Oct 5 18:53:19 2008 New Revision: 140892 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140892 Log: 2008-10-05 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-10-04 Thread pault at gcc dot gnu dot org
--- Comment #14 from pault at gcc dot gnu dot org 2008-10-04 11:56 --- (In reply to comment #13) In fact the ICE is precisely due to the argument not being a restricted expression, since the size of x and its kind are unavailable to the caller and the interfacing cannot be

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-10-03 Thread pault at gcc dot gnu dot org
--- Comment #12 from pault at gcc dot gnu dot org 2008-10-03 12:12 --- (In reply to comment #11) Happily, I have come to the conclusion that the code is invalid no matter which order the declarations come in; In a restricted expression... (7.1.6.2): (7) A reference to an intrinsic

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-10-03 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2008-10-03 22:23 --- Happily, I have come to the conclusion that the code is invalid no matter which order the declarations come in; (a) a restricted expression or (b) a variable whose properties inquired about are not the

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-10-02 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2008-10-02 15:20 --- (In reply to comment #9) As usual, the DEC manual puts in succinctly: If MOLD is an array and SIZE is omitted, the result is a rank-one array. Its size is the smallest that is possible to hold all of SOURCE. This

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-10-02 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2008-10-02 15:48 --- If the physical representation of the result is smaller than SOURCE, ... From the xlf manual, I read this for scalar cases, i.e., transfer(x,i) with x real(4) and i integer(8), or when size is given:

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-09-29 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2008-09-29 20:25 --- Although I am not familiar with the gfortran code, gfc_array_size (mold, tmp)I think the reason why gfortran.dg/transfer_array_intrinsic_4.f90 fails with the patch in comment #6, is because gfc_array_size (mold, tmp)

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-09-28 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2008-09-28 19:33 --- Created an attachment (id=16421) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16421action=view) A tentative fix for this PR This allows the testcase to compile and run correctly. I am now not sure if x does

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-09-28 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2008-09-28 19:48 --- Why don't I take it too? :-) paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-09-28 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2008-09-28 20:49 --- With the patch in comment #6, gfortran.dg/transfer_array_intrinsic_4.f90 fails: /opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/transfer_array_intrinsic_4.f90:16.8: ia = TRANSFER (s1, (/ 0_4 /)) 1 Error:

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-09-17 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2008-09-17 08:55 --- (In reply to comment #4) 4.3.2 is released, changing milestones to 4.3.3. Although this passes Lahey with only a warning that the return value is not set, it manifestly is standard defying according to 7.1.6.2 A

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-08-27 Thread jsm28 at gcc dot gnu dot org
--- Comment #4 from jsm28 at gcc dot gnu dot org 2008-08-27 22:03 --- 4.3.2 is released, changing milestones to 4.3.3. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-07-22 12:11 --- Analogously for: integer foo(size([x])) real x As ifort writes: error #6279: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-03-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35680

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-03-25 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2008-03-25 20:45 --- g95 correctly gives: In file pr35680.f90:5 integer foo(size(transfer(x, [1]))) 1 Error: Variable 'x' cannot appear in restricted expression at (1) Lahey gives: 1175-S:

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-03-25 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35680