diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-14 17:59:03 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-14 17:59:03 +0000 |
commit | 6e5b5ba9a72a35a941abf23bed60b8ef140ec927 (patch) | |
tree | 598f3180a15448548c2aff0a6280b126fe50bfd6 /gcc/reg-stack.c | |
parent | 090a3cbc4783aebb80c3a4fd5243150036965a33 (diff) | |
download | gcc-6e5b5ba9a72a35a941abf23bed60b8ef140ec927.tar.gz |
* reg-stack.c (stack_result): Unconditionally use
FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
* g++.old-deja/g++.other/regstack.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40457 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r-- | gcc/reg-stack.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 1d14a013cee..2f00113bab5 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -786,11 +786,7 @@ stack_result (decl) return 0; result = DECL_RTL (DECL_RESULT (decl)); - /* ?!? What is this code supposed to do? Can this code actually - trigger if we kick out aggregates above? */ - if (result != 0 - && ! (GET_CODE (result) == REG - && REGNO (result) < FIRST_PSEUDO_REGISTER)) + if (result != 0) { #ifdef FUNCTION_OUTGOING_VALUE result |