[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-02-19 Thread tkoenig at gcc dot gnu dot org
--- Comment #11 from tkoenig at gcc dot gnu dot org 2007-02-19 20:49 --- Subject: Bug 30533 Author: tkoenig Date: Mon Feb 19 20:49:10 2007 New Revision: 122137 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122137 Log: 2007-02-19 Thomas Koenig [EMAIL PROTECTED] PR

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-02-12 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2007-02-12 20:21 --- Created an attachment (id=13044) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13044action=view) combined patch for this and PR 30765 Regression-test is OK, file generation is OK. -- tkoenig at gcc dot gnu

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-02-12 Thread tkoenig at gcc dot gnu dot org
--- Comment #9 from tkoenig at gcc dot gnu dot org 2007-02-12 20:23 --- Created an attachment (id=13045) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13045action=view) Test case Test case. I'll be away for a few days, I'll submit it as a proper patch then. --

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-02-12 Thread tkoenig at gcc dot gnu dot org
--- Comment #10 from tkoenig at gcc dot gnu dot org 2007-02-12 20:25 --- (In reply to comment #8) Created an attachment (id=13044) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13044action=view) [edit] combined patch for this and PR 30765 Regression-test is OK, file

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-02-11 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2007-02-11 19:42 --- Created an attachment (id=13036) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13036action=view) patch This fixes the missing intrinsics, and removes type conversion from minloc. This also reverses

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-02-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2007-02-10 19:57 --- sum is also missing: $ cat sum.f90 program main integer(kind=1), dimension(2,2) :: a a = 1 print *,sum(a,dim=2) end program main $ gfortran sum.f90 /tmp/ccQgrJa3.o: In function `MAIN__':

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-02-07 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-02-07 08:09 --- (In reply to comment #3) I'm not yet sure how to deal with matmul, wether by converting its arguments or by creating kind=1 and kind=2 versions. I think converting wil have a huge performance hit, so we'd

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-02-07 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-02-07 20:08 --- I think converting wil have a huge performance hit, so we'd better havec kind=1 and kind=2 versions. I agree, here's a patch to do this. For speed reasons, we should also reverse the conversions through the

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-01-31 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-01-31 21:07 --- Created an attachment (id=12990) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12990action=view) patch for minval and maxval Here's a solution for minval and maxval. I'm not yet sure how to deal with matmul,

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-01-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2007-01-29 22:42 --- For maxval, the usual method of converting the arguments to default integer kind will have an interesting side effect with an all-false mask: The value will be a conversion of the default integer minimum value (soon

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-01-23 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-01-23 13:26 --- matmul also has this problem: $ cat a.f90 integer(kind=1) :: x(2,2), y(2,2), i integer :: z(2,2) print *, matmul(x,y) !pack !unpack print *, maxval(x,dim=2), minval(x,dim=2) print *, (1.2,0.2)**i

[Bug libfortran/30533] minval, maxval missing for kind=1 and kind=2

2007-01-22 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last