[Bug fortran/13240] New: wrong alignment of automatic adjustable DOUBLE PRECISION array
gcc-bug at vogtner dot de
gcc-bugzilla@gcc.gnu.org
Sun Nov 30 16:48:00 GMT 2003
The base address of a local (automatic) adjustable DOUBLE PRECISION
array ist not properly aligned. Please take a look into the files
enclosed. The program reports:
ADDRESS OF DBLE : BFDFF54C
indicating that the local array is only a multiple of 4 instead
of 8 bytes.
As a workaround a tried -mpreferred-stack-boundary=n for some n.
Only for n = 2 and 3 (in case of GCC 3.2.2 and 3.3.2) and only for n = 2
in case of GCC 2.95.3 the array is correctly aligned.
--
Summary: wrong alignment of automatic adjustable DOUBLE PRECISION
array
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc-bug at vogtner dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13240
More information about the Gcc-bugs
mailing list