From: Craig Burley Date: Fri, 2 Apr 1999 10:37:16 +0000 (+0000) Subject: The -malign-double option now works X-Git-Tag: prereleases/libgcj-0.1~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7cceca3288eed1bee6b0d258e7578b6a786ad7c4;p=thirdparty%2Fgcc.git The -malign-double option now works From-SVN: r26114 --- diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index a5ec4672a1c5..f54463cc69b7 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,9 @@ +Fri Apr 2 13:33:16 1999 Craig Burley + + * g77.texi: -malign-double now works. + Give URL for alignment-testing package. + * news.texi: -malign-double now works. + Fri Apr 2 12:49:12 1999 Craig Burley * g77.texi (Funding GNU Fortran): Dude's got a web page. diff --git a/gcc/f/g77.texi b/gcc/f/g77.texi index 8af940779e95..225345f33a08 100644 --- a/gcc/f/g77.texi +++ b/gcc/f/g77.texi @@ -2704,11 +2704,7 @@ and data sets. this option does not apply, generally speaking, to Fortran code compiled by @code{g77}. -@emph{Also note:} @samp{-malign-double} applies only to -statically-allocated data. -Double-precision data on the stack can still -cause problems due to misalignment. -@xref{Aligned Data}. +@xref{Aligned Data}, for more information on alignment issues. @emph{Also also note:} The negative form of @samp{-malign-double} is @samp{-mno-align-double}, not @samp{-benign-double}. @@ -10470,6 +10466,7 @@ it working). @node Aligned Data @subsection Aligned Data +@cindex alignment @cindex data, aligned @cindex stack, aligned @cindex aligned data @@ -10571,12 +10568,6 @@ of the FORTRAN 77 standard, or uses @code{EQUIVALENCE} or different layouts in ways that assume no padding is ever inserted by the compiler. -@emph{Note:} @samp{-malign-double} applies only to -statically-allocated data. -Double-precision data on the stack can still -cause problems due to misalignment. -@xref{Aligned Data}. - @item Ensure that @file{crt0.o} or @file{crt1.o} on your system guarantees a 64-bit @@ -10593,6 +10584,13 @@ Progress is being made on making this work @code{gcc}, and some of the relevant operating systems (such as GNU/Linux). +@cindex alignment testing +@cindex testing alignment +A package that tests the degree to which a Fortran compiler +(such as @code{g77}) +aligns 64-bit floating-point variables and arrays +is available at @uref{ftp://alpha.gnu.org/gnu/g77/align/}. + @node Prefer Automatic Uninitialized Variables @subsection Prefer Automatic Uninitialized Variables diff --git a/gcc/f/news.texi b/gcc/f/news.texi index a5c1e781ce24..8bfa4381223a 100644 --- a/gcc/f/news.texi +++ b/gcc/f/news.texi @@ -9,7 +9,7 @@ @c in the standalone derivations of this file (e.g. NEWS). @set copyrights-news 1995-1999 -@set last-update-news 1999-03-17 +@set last-update-news 1999-04-02 @include root.texi @@ -204,6 +204,14 @@ when the corresponding @emph{subsequent} function program unit disagrees with the reference concerning the type of the function. @end ifclear +@cindex alignment +@cindex double-precision performance +@cindex -malign-double +@item +The @code{-malign-double} option +now reliably aligns @emph{all} double-precision variables and arrays +on Intel x86 targets. + @ifclear USERVISONLY @item Improve documentation and indexing,