[gcc(refs/vendors/ARM/heads/arm-struct-reorg-wip)] doc: Fix a typo in the documentation of the copy attribute
Tamar Christina
tnfchris@gcc.gnu.org
Fri Jul 17 14:06:00 GMT 2020
https://gcc.gnu.org/g:dd5da57173141290632a9f924c44662aac62c312
commit dd5da57173141290632a9f924c44662aac62c312
Author: Zackery Spytz <zspytz@gmail.com>
Date: Wed Apr 1 18:06:16 2020 +0100
doc: Fix a typo in the documentation of the copy attribute
2020-04-01 Zackery Spytz <zspytz@gmail.com>
gcc/
* doc/extend.texi: Fix a typo in the documentation of the
copy function attribute.
Diff:
---
gcc/ChangeLog | 5 +++++
gcc/doc/extend.texi | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 654356c8dc8..6313be4f8ab 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2020-04-01 Zackery Spytz <zspytz@gmail.com>
+
+ * doc/extend.texi: Fix a typo in the documentation of the
+ copy function attribute.
+
2020-04-01 Jakub Jelinek <jakub@redhat.com>
PR middle-end/94423
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index e0e7f540c21..f1f2064df45 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -2817,7 +2817,7 @@ the same type as the target function. As a result of the @code{copy}
attribute the alias also shares the same attributes as the target.
@smallexample
-#define StrongAlias(TagetFunc, AliasDecl) \
+#define StrongAlias(TargetFunc, AliasDecl) \
extern __typeof__ (TargetFunc) AliasDecl \
__attribute__ ((alias (#TargetFunc), copy (TargetFunc)));
More information about the Gcc-cvs
mailing list