------- Comment #7 from sgk at troutmask dot apl dot washington dot edu  
2006-06-13 00:35 -------
Subject: Re:  ICE on garbage in DATA statement

On Mon, Jun 12, 2006 at 11:26:16PM -0000, reichelt at gcc dot gnu dot org
wrote:
> 
> I can reproduce the bug also on i686-pc-linux-gnu.
> Does freebsd vs. linux really matter that much here?
> Or could GMP or MPFR be the culprit?
> 

I doubt it is gmp or mpfr.  There is nothing in
the program that uses either library.  Can you
run the executable under valgrind?  The difference
may be in the memory allocators, which do differ
between linux and freebsd.

Yep.  That's the problem.

troutmask:sgk[211] setenv MALLOC_OPTIONS AJ
troutmask:sgk[213] 
troutmask:sgk[213] gfc4x -c l.f90
 In file l.f90:3

      character*20 X  0
                   1
Error: Syntax error in data declaration at (1)
 In file l.f90:4

      data X /'A'/    0
                 1
Error: Syntax error in DATA statement at (1)
l.f90:0: internal compiler error: Bus error: 10
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27954

Reply via email to