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]

Re: g77 alignment bug (egcs-1.1.1)


In a message dated 2/1/99 4:53:33 PM Pacific Standard Time, josip@icase.edu
writes:

<< egcs-1.1.1 version of g77
 does not produce properly aligned REAL*8 arrays.  >>
In egcs/g77 (I think), and in some commercial f90/95 compilers, the only way
to get consistently aligned doubles is to be lucky or use COMMON.  I think
people are working on fixing this for egcs/linux.  It looks like this needs
mainly to have a scheme to make the stack pointer have 64-bit alignment when
entering a subroutine, at least when linking with -malign-double.  I certainly
won't be dropping the use of COMMON until it happens.  I've seen it argued
that M$ compatibility rules out double alignment, but I'm not entirely
convinced.  After all, those aligned COMMONs haven't broken anything.


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