This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Some cleanups, mostly loop.c related
At Mon, 1 Nov 2004 22:03:00 +0100, Steven Bosscher wrote:
> On Monday 01 November 2004 21:45, Zack Weinberg wrote:
> > Abstractly, this is fine, but I would like to know why it is necessary
> > to move prototypes from expr.h to rtl.h. That bit seems gratuitous.
>
> Because the 1st line of expr.h says,
>
> /* Definitions for code generation pass of GNU compiler.
>
> And neither get_condition() nor canonicalize_condition() is part of
> the code generation pass. They're RTL analysis functions. Most of
> the functions in rtlanal.c (all of them??) have their prototype in
> rtl.h so it seemed like TRTD to move these prototypes there as well.
All right then. Patch is approved.
zw