--- Comment #6 from pault at gcc dot gnu dot org 2007-10-14 19:27 ---
Fixed on trunk.
Thanks for the report.
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #5 from pault at gcc dot gnu dot org 2007-10-12 16:45 ---
Subject: Bug 33664
Author: pault
Date: Fri Oct 12 16:45:46 2007
New Revision: 129267
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129267
Log:
2007-10-12 Paul Thomas <[EMAIL PROTECTED]>
PR fortran/
--- Comment #4 from patchapp at dberlin dot org 2007-10-07 19:15 ---
Subject: Bug number PR33664
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-10/msg00375.html
--
http://gcc.gnu.org/bugzilla/sh
--- Comment #3 from pault at gcc dot gnu dot org 2007-10-06 11:14 ---
This fails in execution, for the same reason:
call func_1((/1,2/), 1)
contains
subroutine func_1(u,n)
integer :: n, u(n(1))
print *, u
end subroutine
end
n is determined to be a function and so must be
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-10-05 11:15
---
Confirmed. Reduced testcase:
$ cat a.f90
module test
contains
subroutine func_1(u,n)
integer :: n, u(n(1))
end subroutine
end module test
$ gfortran a.f90
f951: internal compiler error: Segmentation fault
--- Comment #1 from holst at matmech dot com 2007-10-05 09:51 ---
Created an attachment (id=14301)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14301&action=view)
invalid program which crashes latest trunk (gcc (GCC) 4.3.0 20070927
(experimental) [trunk revision 128829])
test.f:0