This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/14976] [gfortran] .space is wrong
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2004 20:18:53 -0000
- Subject: [Bug fortran/14976] [gfortran] .space is wrong
- References: <20040416151920.14976.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2004-05-16 20:18 -------
Reduced testcase:
CHARACTER*80 DL(2)
DATA DL /'$file',
1 'oms omsmc.i2'/
dl(1) = "HI"
END
The assembly generated for
DATA DL /'$file',
looks like
.ascii "$file"
.zero 75
.zero 4294967228 ;; asm complains here
Where does the second .zero come from?
This doesn't happen if dl is a scalar.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14976