Re: [PATCH] fix a typo in rtl.def

2020-08-25 Thread Richard Sandiford
Wei Wentao  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.  */


[PATCH] fix a typo in rtl.def

2020-08-24 Thread Wei Wentao
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