This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bug in g77 for at least IA64 and AMD64
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Winfrid Tschiedel <winfrid dot tschiedel at hpc dot fujitsu-siemens dot com>
- Cc: gcc at gcc dot gnu dot org, toon at moene dot indiv dot nluug dot nl
- Date: Thu, 30 Oct 2003 11:58:21 +0100
- Subject: Re: bug in g77 for at least IA64 and AMD64
- References: <200310301232.NAA04565@raptor.hpc.fujitsu-siemens.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Oct 30, 2003 at 01:32:42PM +0100, Winfrid Tschiedel wrote:
> Hi,
>
> This small fortran program causes a segmentation fault :
> program test
> parameter ( n3=257)
> common /abc/ a ,b
> real*8 a(1024,1024,n3),b(1024,1024,255)
> b(1,100,3)=1.0d0
> a(1,100,3)=1.0d0
> a(1024,1024,n3)=2.d0
> b(1024,1024,255)=3.0
> print *,a(1,100,3),b(1,100,3)
> print *,a(1024,1024,n3),b(1024,1024,255)
> end
>
> [winfrid@rxiX00-rhel ~]$ g77 big-mem.f
> [winfrid@rxiX00-rhel ~]$ ./a.out
> Segmentation fault (core dumped)
See http://gcc.gnu.org/ml/gcc-patches/2003-10/msg02054.html
I'll look into Toon's reply ASAP, sorry that I haven't got to it
earlier.
Jakub