aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4fa04ff..e58b0ab 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -21,6 +21,11 @@
2005-01-31 Dale Johannesen <dalej@apple.com>
+ * doc/extend.texi (nested functions): Fix linkage description.
+ Clarify that static is not allowed.
+
+2005-01-31 Dale Johannesen <dalej@apple.com>
+
* config/rs6000/darwin.md (movsf_low_di): Make work.
(movdf_low_di): Make work.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 8a3decd..47eb8a3 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -449,8 +449,8 @@ bar (int *array, int offset, int size)
@end group
@end smallexample
-A nested function always has internal linkage. Declaring one with
-@code{extern} is erroneous. If you need to declare the nested function
+A nested function always has no linkage. Declaring one with
+@code{extern} or @code{static} is erroneous. If you need to declare the nested function
before its definition, use @code{auto} (which is otherwise meaningless
for function declarations).