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: [PATCH] Sign extension elimination


Leehod, Mircea, just for future reference:


A better way to do the union-find stuff, rather than put a member in
struct web for extra info, would probably be to do the following:


struct sign_extension_web
{
  struct web web;
  <your extra fields>
};

You should be able to pass pointers to sign_extension_web to the union
find functions without any problems, and wouldn't need to have "void
*extra_info" in struct web.


--Dan


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