summaryrefslogtreecommitdiffstats
path: root/gcc/function.c
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-27 10:46:47 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-27 10:46:47 +0000
commit8aa692e017a777c6d4d958c1ffd60e4b0c90c8b6 (patch)
tree6831d5ca3a91185d236823ddcd6781c25bd64ebe /gcc/function.c
parenta3af0c0e4bf44af8e5f4b27c50beef65f07ad7ed (diff)
downloadppe42-gcc-8aa692e017a777c6d4d958c1ffd60e4b0c90c8b6.tar.gz
ppe42-gcc-8aa692e017a777c6d4d958c1ffd60e4b0c90c8b6.zip
PR optimization/9090
* function.c (purge_addressof_1): After pushing an addressed register onto the stack, simplify the result. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61881 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/function.c b/gcc/function.c
index c57ad6dc659..fe5394ec036 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -3007,10 +3007,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. */
OpenPOWER on IntegriCloud