This is the mail archive of the
mailing list for the GCC project.
The most unpopular suggestion ever (was Re: SPARC, register renaming, __builtin_return_address)
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: The most unpopular suggestion ever (was Re: SPARC, register renaming, __builtin_return_address)
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Mon, 14 May 2001 06:55:11 -0400
- Cc: gcc at gcc dot gnu dot org
- References: <20010513165032R.email@example.com>
On Sun, May 13, 2001 at 04:50:32PM -0700, Mark Mitchell wrote:
> (It's wasn't clear what *good* this was supposed to do, so I looked at
> the register renaming code. The comment on regrename_optimize is the
> /* Perform register renaming on the current function. */
> Hmm. Lucky I already knew what this optimization was about.)
> - The documentation for regrename.c is, shall we say, minimal.
> There is not even a basic description of the optimization being
> performed. There is no mention of this pass in the `passes'
> section in the manual.
> The best overall description actually shows up with the
> -frename-registers documentation in the manual.
> Whoever originally wrote this code should write some
> documentation for it. In addition to the lack of global
> description, there are no comments on many of the functions
> and variables in regrename.c.
> - The name and documentation for current_function_uses_only_leaf_regs
> is less-than-complete.
Hey everyone. After 3.0, how about totally freezing all development, no
checkins to code at all, until the comments and $%!&#@ manual are brought
up to a much higher level of correctness and usefulness?
*ducks the thrown tomatoes*
Yesterday I was asked (in person) a question about GCC, and when I responded
with, "not sure, have you checked the manual?" they laughed out loud.
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.