From: Steve.Lionel@compaq.com (Steve Lionel)
Subject: Re: Memory usage limitation with the Beta compilers from Compaq
Date: 1999/10/22 [thread overview]
Message-ID: <38196ad4.321139015@news.compaq.com> (raw)
In-Reply-To: 38102D64.CAA5EBCA@nospam.com
On Fri, 22 Oct 1999 18:24:52 +0900, "G. Hugh SONG" <ghsong@nospam.com>
wrote:
>The official bug-report place for Compaq's Beta compilers is
>http://www.iol.unh.edu/linux/Fortran or something and C.
>
>Unfortunately, there is no Steve Lionel there. So, when I reported a
>serious limiation of their Beta compilers there, there was actually no
>useful response except one message from someone reporting that he
>had a similar experience.
>
>So, please someone from Compaq, please clear up this issue:
>With cfal(rtl) version 1.0-2, I could run my program which has a
>subroutine
>where a lot of automatic arrays are declared, and a sizable number for
>the size of those arrays is transferred. However, with version 1.0-3
>and 1.0-4,
>it gives SEGV on the first line of the subroutine. If the number is
>small,
>it runs OK with the newer versions. If I compile the subroutine with
>the
>old version, it runs OK. My conclusion is that Compaq imposed on the
>newer
>versions a strange limitation of stacksize or size of the memory it
>uses.
Your conclusion is mistaken. We don't impose any fixed limitation on
the size of stack or dynamic-allocated data. Any such restrictions
come from the operating system or linker. As far as I know, you have
not submitted to the beta support site an example that reproduces the
problem you complained about. If you do so, it will be investigated.
I do know that on Tru64 UNIX, at least (not sure about Linux - I'll
have to check), we've recently implemented an RTL feature where if it
looks as if you've run out of stack, we automatically extend the
stack, up to the limit imposed by the OS. This should eliminate a lot
of the "segv on large automatic arrays or array temps" issue that has
been annoying for so long. This change will show up in a release
coming out in December or January. (OpenVMS users don't need this,
since the OS takes care of it automatically. I don't think we can do
it on Windows.)
--
Steve Lionel (mailto:Steve.Lionel@compaq.com)
Fortran Engineering
Compaq Computer Corporation, Nashua NH
Compaq Fortran web site: http://www.compaq.com/fortran
next prev parent reply other threads:[~1999-10-22 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-22 4:00 Memory usage limitation with the Beta compilers from Compaq G. Hugh SONG
1999-10-22 4:00 ` Steve Lionel [this message]
1999-10-22 4:00 ` Greg Lindahl
1999-10-23 4:00 ` G. Hugh SONG
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox