This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ping some of my patches


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]