This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Fix match_dup handling in web.c
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 25 Mar 2010 14:53:07 +0100
- Subject: Re: Patch: Fix match_dup handling in web.c
- References: <4BAA9155.1080508@codesourcery.com>
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