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: Fix match_dup handling in web.c


On 03/24/2010 11:25 PM, Bernd Schmidt wrote:

Ok for 4.6 but from here on...

+ for (ref = type == OP_IN ? use_link : def_link; *ref; ref++)

please reformat like this:


  ref = (type == OP_IN ? use_link : def_link);
  entry = (type == OP_IN ? use_entry : def_entry);
  for (; *ref; ref++)
    if (DF_REF_LOC (*ref) == recog_data.operand_loc[op])
      break;

(*fun) (use_entry + DF_REF_ID (*dupref), entry + DF_REF_ID (*ref));


Paolo



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