From 01606a5aebb623fda7c8d991c7fbcb89a31a2a6c Mon Sep 17 00:00:00 2001 From: Zdenek Dvorak Date: Sat, 10 Jul 2004 22:35:47 +0200 Subject: [PATCH] calls.c (check_sibcall_argument_overlap_1): Handle pointers to incoming args space correctly. * calls.c (check_sibcall_argument_overlap_1): Handle pointers to incoming args space correctly. From-SVN: r84472 --- gcc/ChangeLog | 5 +++++ gcc/calls.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8089a55cda6..b6d0cdf5298 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-10 Zdenek Dvorak + + * calls.c (check_sibcall_argument_overlap_1): Handle pointers + to incoming args space correctly. + 2004-07-10 John David Anglin * pa.c (output_indirect_call): Only use %r2 as the link register in diff --git a/gcc/calls.c b/gcc/calls.c index 6795840ddf1..79e78f24a30 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1671,7 +1671,7 @@ check_sibcall_argument_overlap_1 (rtx x) && GET_CODE (XEXP (XEXP (x, 0), 1)) == CONST_INT) i = INTVAL (XEXP (XEXP (x, 0), 1)); else - return 0; + return 1; #ifdef ARGS_GROW_DOWNWARD i = -i - GET_MODE_SIZE (GET_MODE (x)); -- 2.30.2