This is the mail archive of the gcc-bugs@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]

[Bug fortran/13240] New: wrong alignment of automatic adjustable DOUBLE PRECISION array


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


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