aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCraig Burley <craig@jcb-sc.com>1999-04-02 10:37:16 +0000
committerCraig Burley <burley@gcc.gnu.org>1999-04-02 05:37:16 -0500
commit7cceca3288eed1bee6b0d258e7578b6a786ad7c4 (patch)
tree6806eeaa3b42f49a96f53b48f34af9b6a41281f5 /gcc
parent68b14c7178614d82f353c63497e556d7f84f5c4f (diff)
downloadgcc-7cceca3288eed1bee6b0d258e7578b6a786ad7c4.zip
gcc-7cceca3288eed1bee6b0d258e7578b6a786ad7c4.tar.gz
gcc-7cceca3288eed1bee6b0d258e7578b6a786ad7c4.tar.bz2
The -malign-double option now works
From-SVN: r26114
Diffstat (limited to 'gcc')
-rw-r--r--gcc/f/ChangeLog6
-rw-r--r--gcc/f/g77.texi20
-rw-r--r--gcc/f/news.texi10
3 files changed, 24 insertions, 12 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index a5ec467..f54463c 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -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.
diff --git a/gcc/f/g77.texi b/gcc/f/g77.texi
index 8af9407..225345f 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 a5c1e78..8bfa438 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,