From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,c503c765187f9673 X-Google-Attributes: gid1094ba,public X-Google-Thread: 111c93,c503c765187f9673 X-Google-Attributes: gid111c93,public From: Steve.Lionel@compaq.com (Steve Lionel) Subject: Re: Memory usage limitation with the Beta compilers from Compaq Date: 1999/10/22 Message-ID: <38196ad4.321139015@news.compaq.com>#1/1 X-Deja-AN: 539264266 Content-Transfer-Encoding: 7bit References: <38102D64.CAA5EBCA@nospam.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 940600559 5940 16.31.64.86 (22 Oct 1999 13:55:59 GMT) Organization: Compaq Computer Corporation Mime-Version: 1.0 NNTP-Posting-Date: 22 Oct 1999 13:55:59 GMT Newsgroups: comp.os.linux.alpha,comp.lang.fortran On Fri, 22 Oct 1999 18:24:52 +0900, "G. Hugh SONG" 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