This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Committed: Documentation for -fsign-zero
- From: Jerry DeLisle <jvdelisle at verizon dot net>
- To: Fortran List <fortran at gcc dot gnu dot org>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 29 Jul 2007 16:05:26 -0700
- Subject: Committed: Documentation for -fsign-zero
I committed the attached patch to invoke.texi. Tested with make info and make dvi.
Regards,
Jerry
Index: gcc/fortran/invoke.texi
===================================================================
--- gcc/fortran/invoke.texi (revision 126662)
+++ gcc/fortran/invoke.texi (working copy)
@@ -148,7 +148,7 @@ and warnings}.
@item Runtime Options
@xref{Runtime Options,,Options for influencing runtime behavior}.
@gccoptlist{-fconvert=@var{conversion} -frecord-marker=@var{length} @gol
--fmax-subrecord-length=@var{length}}
+-fmax-subrecord-length=@var{length} -fsign-zero}
@item Code Generation Options
@xref{Code Gen Options,,Options for code generation conventions}.
@@ -660,6 +660,12 @@ with earlier versions of @command{gfortr
Specify the maximum length for a subrecord. The maximum permitted
value for length is 2147483639, which is also the default. Only
really useful for use by the gfortran testsuite.
+
+@item -fsign-zero
+@opindex @code{fsign-zero}
+When writing zero values, show the negative sign if the sign bit is set.
+@code{fno-sign-zero} does not print the negative sign of zero values for
+compatibility with F77. Default behavior is to show the negative sign.
@end table
@node Code Gen Options