This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27954] ICE on garbage in DATA statement
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2006 23:04:20 -0000
- Subject: [Bug fortran/27954] ICE on garbage in DATA statement
- References: <bug-27954-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from sgk at troutmask dot apl dot washington dot edu 2006-06-12 23:04 -------
Subject: Re: ICE on garbage in DATA statement
On Mon, Jun 12, 2006 at 03:32:15PM -0000, reichelt at gcc dot gnu dot org
wrote:
>----- Comment #4 from reichelt at gcc dot gnu dot org 2006-06-12 15:32 -------
> Maybe it's target dependent?
I'm guessing this is the case.
> Are you using --enable-checking?
I had not checking on i386-*-freebsd and this morning
I rebuilt with --enable-checking on amd64-*-freebsd.
I do not see the Internal Compiler Error.
troutmask:sgk[203] gfc4x -v
Using built-in specs.
Target: amd64-unknown-freebsd7.0
Configured with: ../gcc4x/configure --prefix=/home/sgk/work/4x
--enable-languages=c,fortran --enable-checking
Thread model: posix
gcc version 4.2.0 20060612 (experimental)
troutmask:sgk[204] 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)
In file l.f90:4
data X /'A'/ 0
1
Error: Incompatible types in assignment at (1), CHARACTER(1) to REAL(4)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27954