* [PATCH] Fix an error in extend.texi
@ 2020-03-31 20:32 Zackery Spytz
2020-04-01 17:12 ` Richard Sandiford
0 siblings, 1 reply; 2+ messages in thread
From: Zackery Spytz @ 2020-03-31 20:32 UTC (permalink / raw)
To: gcc-patches
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index e0e7f540c219..f1f2064df459 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)));
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix an error in extend.texi
2020-03-31 20:32 [PATCH] Fix an error in extend.texi Zackery Spytz
@ 2020-04-01 17:12 ` Richard Sandiford
0 siblings, 0 replies; 2+ messages in thread
From: Richard Sandiford @ 2020-04-01 17:12 UTC (permalink / raw)
To: Zackery Spytz via Gcc-patches
Zackery Spytz via Gcc-patches <gcc-patches@gcc.gnu.org> writes:
> diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
> index e0e7f540c219..f1f2064df459 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)));
Thanks for the patch. Pushed to master and gcc-9 branch.
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-01 17:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-31 20:32 [PATCH] Fix an error in extend.texi Zackery Spytz
2020-04-01 17:12 ` Richard Sandiford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).