public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] fix a typo in rtl.def
@ 2020-08-25  2:37 Wei Wentao
  2020-08-25 10:42 ` Richard Sandiford
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Wentao @ 2020-08-25  2:37 UTC (permalink / raw)
  To: gcc-patches

Hi,

This patch fix a typo in rtl.def.

Regards!

Weiwt

---
 gcc/rtl.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/rtl.def b/gcc/rtl.def
index 9754333eafb..7ec94a95105 100644
--- a/gcc/rtl.def
+++ b/gcc/rtl.def
@@ -380,7 +380,7 @@ DEF_RTL_EXPR(PC, "pc", "", RTX_OBJ)
 
 /* A register.  The "operand" is the register number, accessed with
    the REGNO macro.  If this number is less than FIRST_PSEUDO_REGISTER
-   than a hardware register is being referred to.  The second operand
+   then a hardware register is being referred to.  The second operand
    points to a reg_attrs structure.
    This rtx needs to have as many (or more) fields as a MEM, since we
    can change REG rtx's into MEMs during reload.  */
-- 
2.18.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fix a typo in rtl.def
  2020-08-25  2:37 [PATCH] fix a typo in rtl.def Wei Wentao
@ 2020-08-25 10:42 ` Richard Sandiford
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Sandiford @ 2020-08-25 10:42 UTC (permalink / raw)
  To: Wei Wentao; +Cc: gcc-patches

Wei Wentao <weiwt.fnst@cn.fujitsu.com> writes:
> Hi,
>
> This patch fix a typo in rtl.def.

Thanks, pushed.  Looks like it had gone unnoticed (or at least unfixed)
for almost 30 years. :-)

Richard

>
> Regards!
>
> Weiwt
>
> ---
>  gcc/rtl.def | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/rtl.def b/gcc/rtl.def
> index 9754333eafb..7ec94a95105 100644
> --- a/gcc/rtl.def
> +++ b/gcc/rtl.def
> @@ -380,7 +380,7 @@ DEF_RTL_EXPR(PC, "pc", "", RTX_OBJ)
>  
>  /* A register.  The "operand" is the register number, accessed with
>     the REGNO macro.  If this number is less than FIRST_PSEUDO_REGISTER
> -   than a hardware register is being referred to.  The second operand
> +   then a hardware register is being referred to.  The second operand
>     points to a reg_attrs structure.
>     This rtx needs to have as many (or more) fields as a MEM, since we
>     can change REG rtx's into MEMs during reload.  */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-25 10:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25  2:37 [PATCH] fix a typo in rtl.def Wei Wentao
2020-08-25 10:42 ` 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).