This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ping some of my patches
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Pinski <apinski at apple dot com>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 12 Sep 2004 11:38:22 -0700
- Subject: Re: ping some of my patches
- References: <062D2F7D-04E8-11D9-8D58-00039351ED8A@apple.com>
On Sun, Sep 12, 2004 at 11:17:36AM -0700, Andrew Pinski wrote:
> http://gcc.gnu.org/ml/gcc-patches/2004-08/msg02207.html
> Speedup make_decl_rtl, speeds up bootstrap, compiling java code
I think this should be rewritten
if (TREE_CODE (decl) != FUNCTION_DECL && DECL_REGISTER (decl))
{
reg_number = decode_reg_name (name);
...
return;
}
/* If a specific register prefix exists, then the user really has to
try to create a conflict. But note that decode_reg_name accepts
NAME with and without the prefix, so for instance we don't want to
reject "eax" as a variable name when the assembler only recognizes
"%eax" as a register name. */
else if (name[0] == '*' && strlen (REGISTER_PREFIX) == 0)
{
reg_number = decode_reg_name (name);
// error check
}
r~