From: Peter Bergner Date: Wed, 9 Apr 2008 13:42:43 +0000 (-0500) Subject: PR middle-end/PR28690 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a3a1fe1f8ed06d2ea69734c8f22a874eeb80b36;p=gcc.git PR middle-end/PR28690 PR middle-end/PR28690 * explow.c (break_out_memory_refs): Use simplify_gen_binary rather than gen_rtx_fmt_ee to perform more canonicalizations. From-SVN: r134139 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e90b2db819e..7a8132f4b4a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-04-09 Peter Bergner + + PR middle-end/PR28690 + * explow.c (break_out_memory_refs): Use simplify_gen_binary rather + than gen_rtx_fmt_ee to perform more canonicalizations. + 2008-04-08 John David Anglin PR driver/35665 diff --git a/gcc/explow.c b/gcc/explow.c index 612fb1bb5db..e92da9f86ff 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -305,7 +305,7 @@ break_out_memory_refs (rtx x) rtx op1 = break_out_memory_refs (XEXP (x, 1)); if (op0 != XEXP (x, 0) || op1 != XEXP (x, 1)) - x = gen_rtx_fmt_ee (GET_CODE (x), Pmode, op0, op1); + x = simplify_gen_binary (GET_CODE (x), Pmode, op0, op1); } return x;