[PATCH] fix a typo in rtl.def

Richard Sandiford richard.sandiford@arm.com
Tue Aug 25 10:42:42 GMT 2020


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.  */


More information about the Gcc-patches mailing list