From: Richard Earnshaw Date: Mon, 27 Jan 2003 20:31:57 +0000 (+0000) Subject: function.c (purge_addressof_1): After pushing anaddressed register onto the stack... X-Git-Tag: releases/gcc-3.2.2~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9ac64cdd360bbfba7b7c7a12abc1689ea100ba2;p=thirdparty%2Fgcc.git function.c (purge_addressof_1): After pushing anaddressed register onto the stack, simplify the result. 2003-01-27 Richard Earnshaw * function.c (purge_addressof_1): After pushing anaddressed register onto the stack, simplify the result. From-SVN: r61900 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b1d3ec2d347b..61cea4dd2360 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-27 Richard Earnshaw + + * function.c (purge_addressof_1): After pushing anaddressed register + onto the stack, simplify the result. + 2003-01-25 Eric Botcazou * combine.c (nonzero_bits): Revert 2003-01-25 change. diff --git a/gcc/function.c b/gcc/function.c index b326d10e69da..f7330762d1a8 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -3071,10 +3071,7 @@ purge_addressof_1 (loc, insn, force, store, ht) rtx sub, insns; if (GET_CODE (XEXP (x, 0)) != MEM) - { - put_addressof_into_stack (x, ht); - return true; - } + put_addressof_into_stack (x, ht); /* We must create a copy of the rtx because it was created by overwriting a REG rtx which is always shared. */