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: Winfrid Tschiedel <winfrid dot tschiedel at hpc dot fujitsu-siemens dot com>
- To: jakub at redhat dot com
- Cc: winfrid dot tschiedel at hpc dot fujitsu-siemens dot com, gcc at gcc dot gnu dot org, toon at moene dot indiv dot nluug dot nl
- Date: Thu, 30 Oct 2003 14:44:18 +0100 (MET)
- Subject: Re: bug in g77 for at least IA64 and AMD64
- Reply-to: Winfrid dot Tschiedel at hpc dot fujitsu-siemens dot com
Many thanks for your help, I installed already gcc-g77-3.2.3-23
quick and dirty - and it works.
Winfrid
>
> 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
>
--
_______________________________________________________________________________
Fujitsu Siemens Computers
SMCS G LE PCO Süd Email: winfrid.tschiedel@hpc.fujitsu-siemens.com
Otto-Hahn-Ring 6 Tel. : ++49-89-636-45652
81739 Muenchen Fax : ++49-89-636-43604
MS Exchange : winfrid.tschiedel@fujitsu-siemens.com