calls.c (check_sibcall_argument_overlap_1): Handle pointers to incoming args space...
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
Sat, 10 Jul 2004 20:35:47 +0000 (22:35 +0200)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Sat, 10 Jul 2004 20:35:47 +0000 (20:35 +0000)
* calls.c (check_sibcall_argument_overlap_1): Handle pointers
to incoming args space correctly.

From-SVN: r84472

gcc/ChangeLog
gcc/calls.c

index 8089a55cda6c6ff6fe8dc384f6cd5455ed3b0da3..b6d0cdf529847a97236655cbbbb550ad02e4bc3f 100644 (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
index 6795840ddf16985ca1f4eedb0b7f7fe2af0d87e0..79e78f24a303149d98d4ae0670956b089192c92a 100644 (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));