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
This commit is contained in:
Zdenek Dvorak 2004-07-10 22:35:47 +02:00 committed by Zdenek Dvorak
parent 2c774817bd
commit 01606a5aeb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* calls.c (check_sibcall_argument_overlap_1): Handle pointers
to incoming args space correctly.
2004-07-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.c (output_indirect_call): Only use %r2 as the link register in

View File

@ -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));