summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-25 21:10:31 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-25 21:10:31 +0000
commit0e79b5aba2c5e5bed37efa563c207550531220f7 (patch)
tree4b44e371b2630f4ed4bc4a41a72524895781d684
parentf2c21d56ae43c27995c86a975e2998a9cd62f7d5 (diff)
downloadppe42-gcc-0e79b5aba2c5e5bed37efa563c207550531220f7.tar.gz
ppe42-gcc-0e79b5aba2c5e5bed37efa563c207550531220f7.zip
* pa.c (compute_frame_size): Scan all the used callee saved registers,
not just the first one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28237 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f47bb6f5824..645d23d7e88 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
+
+ * pa.c (compute_frame_size): Scan all the used callee saved registers,
+ not just the first one.
+
Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
* config/arm/arm.h (TARGET_SWITCHES): Add
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index af942f9a151..5db584c9dba 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -2558,10 +2558,7 @@ compute_frame_size (size, fregs_live)
for (i = 18; i >= 3; i--)
if (regs_ever_live[i])
- {
- fsize += UNITS_PER_WORD;
- break;
- }
+ fsize += UNITS_PER_WORD;
/* Round the stack. */
fsize = (fsize + 7) & ~7;
@@ -2573,7 +2570,6 @@ compute_frame_size (size, fregs_live)
*fregs_live = 1;
fsize += 8;
- break;
}
fsize += current_function_outgoing_args_size;
OpenPOWER on IntegriCloud