[Bug fortran/32002] [4.2/4.3 regression] insufficient conformance check when assigning the result of an elemental function to an array

2007-05-21 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2007-05-21 22:37 --- Related report: PR26976 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32002

[Bug fortran/32002] [4.2/4.3 regression] insufficient conformance check when assigning the result of an elemental function to an array

2007-05-21 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2007-05-21 23:25 --- Subject: Bug 32002 Author: dfranke Date: Mon May 21 22:24:55 2007 New Revision: 124924 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124924 Log: gcc/fortran: 2005-05-21 Jerry DeLisle [EMAIL PROTECTED]

[Bug fortran/32002] [4.2/4.3 regression] insufficient conformance check when assigning the result of an elemental function to an array

2007-05-20 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-05-20 13:12 --- This triggers the error ... real :: a(3), b(2) a = COS(b(:)) end -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32002

[Bug fortran/32002] [4.2/4.3 regression] insufficient conformance check when assigning the result of an elemental function to an array

2007-05-20 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2007-05-21 00:16 --- Subject: Bug number PR32002 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-05/msg01315.html --

[Bug fortran/32002] [4.2/4.3 regression] insufficient conformance check when assigning the result of an elemental function to an array

2007-05-19 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-05-19 21:31 --- $ cat assign.f90 real :: a(3), b(2) a = 5.0 b = (/ 0.0, 0.1 /) a = cos(b) print *, a end $ gfortran-svn assign.f90 assign.f90:4.1: a = cos(b) 1 Error: different shape for array assignment at (1) on dimension 1

[Bug fortran/32002] [4.2/4.3 regression] insufficient conformance check when assigning the result of an elemental function to an array

2007-05-19 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-05-20 01:21 --- I have observed the problem with no initialization. This may be a hint. real :: a(3), b(2) a = COS(b) print *, a end -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32002