This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] emit-rtl.c: Remove gen_rtx().
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 03 Feb 2004 23:03:45 -0800
- Subject: Re: [patch] emit-rtl.c: Remove gen_rtx().
- References: <20040204.001621.34368877.kazu@cs.umass.edu>
Kazu Hirata <kazu@cs.umass.edu> writes:
> Hi,
>
> Attached is a patch to remove gen_rtx() as the only references to it
> are in comments.
>
> Bootstrapped on i686-pc-linux-gnu (on top of my obsolete-port-removal
> patch). OK to apply?
RTH already approved this and I don't object, but I'd like to point
out that the comment at the top of the file is not very accurate
anymore -- not that it really was before, either. There's rather a
lot more in emit-rtl.c than just gen_label_rtx and gen_reg_rtx, and
they aren't the "usual ways of creating rtl expressions for most
purposes."
zw