diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-03-14 18:59:03 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2001-03-14 18:59:03 +0100 |
commit | 9cf218a30f2076faeeb43df2f3b422fc65f59c0e (patch) | |
tree | 598f3180a15448548c2aff0a6280b126fe50bfd6 /gcc/reg-stack.c | |
parent | a58dc194c8b0e7a0af35389e21d9d02b27301539 (diff) | |
download | gcc-9cf218a30f2076faeeb43df2f3b422fc65f59c0e.zip gcc-9cf218a30f2076faeeb43df2f3b422fc65f59c0e.tar.gz gcc-9cf218a30f2076faeeb43df2f3b422fc65f59c0e.tar.bz2 |
reg-stack.c (stack_result): Unconditionally use FUNCTION_OUTGOING_VALUE resp.
* reg-stack.c (stack_result): Unconditionally use
FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
* g++.old-deja/g++.other/regstack.C: New test.
From-SVN: r40457
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 1d14a01..2f00113 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 |