This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: I.C.E. caused SUBROUTINE argument with same name as PARAMETER
- From: Vivek Rao <vivekrao4 at yahoo dot com>
- To: fortran at gcc dot gnu dot org
- Date: Sat, 13 Nov 2004 11:40:50 -0800 (PST)
- Subject: Re: I.C.E. caused SUBROUTINE argument with same name as PARAMETER
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=maBu6rzoQ0SpV9wAM3qrzF7SJlNGQ+Zkc+nPakdfSk4xHFHP432O5QyYFva2JmAkXiZic2boLi/3iV8/XTJcj5j2111OPLDD6FHjWjXsczFf63m6syT9lJkMiQ74cWyFwOA0xTCIPRqjA7EjviPce+C+rZ4j9YzWsuaW4c2udLw= ;
One line of code was munged in my email. The code
should be
module zz
integer, parameter :: n=2 ! causes ICE
contains
subroutine xx(n)
call yy(n)
end subroutine xx
end module zz