]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
The -malign-double option now works
authorCraig Burley <craig@jcb-sc.com>
Fri, 2 Apr 1999 10:37:16 +0000 (10:37 +0000)
committerCraig Burley <burley@gcc.gnu.org>
Fri, 2 Apr 1999 10:37:16 +0000 (05:37 -0500)
From-SVN: r26114

gcc/f/ChangeLog
gcc/f/g77.texi
gcc/f/news.texi

index a5ec4672a1c5eeb0c2aa57d2b95c655957f87bc0..f54463cc69b75fef91fa03d5f62ab4e777db29d1 100644 (file)
@@ -1,3 +1,9 @@
+Fri Apr  2 13:33:16 1999  Craig Burley  <craig@jcb-sc.com>
+
+       * 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  <craig@jcb-sc.com>
 
        * g77.texi (Funding GNU Fortran): Dude's got a web page.
index 8af940779e95d8dc886ddbdd6fad1660de06fdba..225345f33a08243633b3ce0c98382f7b5f8ceaad 100644 (file)
@@ -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
 
index a5c1e781ce24c3430dff0e85d80dc7f5b3160ba4..8bfa4381223a50cce3f039d494c388a7b41f8fbe 100644 (file)
@@ -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,