[patch] Do not generate useless branches for multi-word comparison
Richard Henderson
rth@redhat.com
Thu Mar 24 20:25:00 GMT 2011
On 03/24/2011 07:38 AM, Eric Botcazou wrote:
> + /* Deal with the special case 0 > x: only one comparison is necessary and
> + we reverse it to avoid jumping to the drop-through label. */
> + if (op0 == const0_rtx && drop_through_if_true && !drop_through_if_false)
> + {
> + code = LE;
> + if_true_label = if_false_label;
> + if_false_label = drop_through_label;
> + drop_through_if_false = true;
> + }
Missing drop_through_if_true = false.
Otherwise ok.
r~
More information about the Gcc-patches
mailing list