[Bug fortran/30964] optional arguments to random_seed

2007-08-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #12 from fxcoudert at gcc dot gnu dot org 2007-08-12 20:46 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|ASS

[Bug fortran/30964] optional arguments to random_seed

2007-08-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #11 from fxcoudert at gcc dot gnu dot org 2007-08-12 20:45 --- Subject: Bug 30964 Author: fxcoudert Date: Sun Aug 12 20:45:29 2007 New Revision: 127383 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127383 Log: PR fortran/30964 PR fortran/33054

[Bug fortran/30964] optional arguments to random_seed

2007-08-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2007-08-12 16:41 --- Complete patch submitted: http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00782.html -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/30964] optional arguments to random_seed

2007-08-11 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2007-08-12 00:16 --- Haven't yet had time to regtest this patch, but it should fix the bug: Index: trans-expr.c === --- trans-expr.c(revision 127363) +++ trans-e

[Bug fortran/30964] optional arguments to random_seed

2007-08-11 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2007-08-11 23:33 --- (In reply to comment #7) > The reason for that is in gfc_trans_call This should be: gfc_conv_function_call -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30964

[Bug fortran/30964] optional arguments to random_seed

2007-08-11 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-08-11 23:22 --- (In reply to comment #6) > For the first one, gfc_conv_missing_dummy() is called, which leads to correct > code. For the second one, gfc_conv_missing_dummy() is not called, leading to > wrong-code. The reason for

[Bug fortran/30964] optional arguments to random_seed

2007-05-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-05-28 20:48 --- The following two codes are handled differently: $ cat u.f90 call foo() contains subroutine foo(x) integer, dimension(:), optional :: x interface subroutine bar(x) integer, dimension(:),

[Bug fortran/30964] optional arguments to random_seed

2007-05-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-05-22 09:23 --- There's more to it. When generate wrong-code for optional arguments, as shown by the following code: $ cat b.f90 program trs implicit none integer :: size, ierr integer, allocatable, dimension(:) :: seed

[Bug fortran/30964] optional arguments to random_seed

2007-05-21 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-05-21 15:21 --- Created an attachment (id=13595) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13595&action=view) Patch for that issue; not tested yet -- fxcoudert at gcc dot gnu dot org changed: What|Re

[Bug fortran/30964] optional arguments to random_seed

2007-03-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-03-15 12:59 --- (In reply to comment #1) > I have a patch to permit gfc_check_random_seed to deal with arguments > with the optional attribute set. I was waiting on pault's size0/size1 > patch to hit the tree to see if it does t

[Bug fortran/30964] optional arguments to random_seed

2007-03-03 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 recon

[Bug fortran/30964] optional arguments to random_seed

2007-02-26 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2007-02-26 19:53 --- (In reply to comment #1) > I have a patch to permit gfc_check_random_seed to deal with arguments > with the optional attribute set. I was waiting on pault's size0/size1 > patch to hit the tree to see if it does the

[Bug fortran/30964] optional arguments to random_seed

2007-02-25 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-02-26 00:14 --- I have a patch to permit gfc_check_random_seed to deal with arguments with the optional attribute set. I was waiting on pault's size0/size1 patch to hit the tree to see if it does the right thing. -- http://gcc.g