This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in g77 for at least IA64 and AMD64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]