This is the mail archive of the 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][PATCH][REVISED] Fix PR middle-end/PR28690, modify swap_commutative_operands_p

Peter Bergner <> writes:

> 2007-07-18  Peter Bergner  <>
> 	    Jakub Jelinek  <>
>         PR middle-end/PR28690
>         * optabs.c (expand_binop): (emit_cmp_and_jump_insns): Allow EQ compares.
>         * rtlanal.c (commutative_operand_precedence): Prefer both REG_POINTER
>         and MEM_POINTER operands over REG and MEM operands.
>         (swap_commutative_operands_p): Change return value to bool.
>         * rtl.h: Update the corresponding prototype.
>         * tree-ssa-address.c (gen_addr_rtx): Use simplify_gen_binary
>         instead of gen_rtx_PLUS.
> 	* simplify-rtx.c (simplify_plus_minus_op_data_cmp): Change return
> 	value to bool.  Change function arguments to rtx's and update code
> 	to match.
> 	(simplify_plus_minus): Update the simplify_plus_minus_op_data_cmp
> 	calls to match the new declaration.
>         * simplify-rtx.c (simplify_associative_operation): Don't
>         reorder simplify_binary_operation arguments.

This is OK.



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