aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2014-06-09 09:49:01 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2014-06-09 09:49:01 +0000
commit8f44990250f458c849ba2cffefc86505c3491f84 (patch)
tree059fa5660053c72933c8e6daccf6db8038f0945f /gcc
parentf84c6bd9208814d9680f05d7fb4d9c79bc14e15a (diff)
downloadgcc-8f44990250f458c849ba2cffefc86505c3491f84.zip
gcc-8f44990250f458c849ba2cffefc86505c3491f84.tar.gz
gcc-8f44990250f458c849ba2cffefc86505c3491f84.tar.bz2
re PR fortran/36096 (F2008 Bessel: Documentation/diagnostic errors)
PR fortran/36096 * intrinsic.texi: Fix documentation of BESSEL_J0, BESSEL_J1, BESSEL_Y0, and BESSEL_Y1. From-SVN: r211368
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/intrinsic.texi16
2 files changed, 13 insertions, 9 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d7d5e24..f84cd8e 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,5 +1,11 @@
2014-06-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+ PR fortran/36096
+ * intrinsic.texi: Fix documentation of BESSEL_J0, BESSEL_J1,
+ BESSEL_Y0, and BESSEL_Y1.
+
+2014-06-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
PR fortran/45187
* trans-decl.c (gfc_create_module_variable): Don't create
Cray-pointee decls twice.
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi
index 8402a1f..5c66aab 100644
--- a/gcc/fortran/intrinsic.texi
+++ b/gcc/fortran/intrinsic.texi
@@ -1701,7 +1701,7 @@ Elemental function
@item @emph{Arguments}:
@multitable @columnfractions .15 .70
-@item @var{X} @tab The type shall be @code{REAL}, and it shall be scalar.
+@item @var{X} @tab The type shall be @code{REAL}.
@end multitable
@item @emph{Return value}:
@@ -1750,11 +1750,11 @@ Elemental function
@item @emph{Arguments}:
@multitable @columnfractions .15 .70
-@item @var{X} @tab The type shall be @code{REAL}, and it shall be scalar.
+@item @var{X} @tab The type shall be @code{REAL}.
@end multitable
@item @emph{Return value}:
-The return value is of type @code{REAL} and it lies in the
+The return value is of type @code{REAL} and lies in the
range @math{ - 0.5818... \leq Bessel (0,x) \leq 0.5818 }. It has the same
kind as @var{X}.
@@ -1865,12 +1865,11 @@ Elemental function
@item @emph{Arguments}:
@multitable @columnfractions .15 .70
-@item @var{X} @tab The type shall be @code{REAL}, and it shall be scalar.
+@item @var{X} @tab The type shall be @code{REAL}.
@end multitable
@item @emph{Return value}:
-The return value is a scalar of type @code{REAL}. It has the same
-kind as @var{X}.
+The return value is of type @code{REAL}. It has the same kind as @var{X}.
@item @emph{Example}:
@smallexample
@@ -1913,12 +1912,11 @@ Elemental function
@item @emph{Arguments}:
@multitable @columnfractions .15 .70
-@item @var{X} @tab The type shall be @code{REAL}, and it shall be scalar.
+@item @var{X} @tab The type shall be @code{REAL}.
@end multitable
@item @emph{Return value}:
-The return value is a scalar of type @code{REAL}. It has the same
-kind as @var{X}.
+The return value is of type @code{REAL}. It has the same kind as @var{X}.
@item @emph{Example}:
@smallexample