diff options
| author | Jeffrey A Law <law@cygnus.com> | 1999-07-25 21:10:31 +0000 |
|---|---|---|
| committer | Jeff Law <law@gcc.gnu.org> | 1999-07-25 15:10:31 -0600 |
| commit | 0a35e2fdece90e3f5677b7c69857944da4a5887b (patch) | |
| tree | 4b44e371b2630f4ed4bc4a41a72524895781d684 /gcc/config/pa/pa.c | |
| parent | 6c9c5c1f7aa85d8e21108406ea507dfcb0d5c831 (diff) | |
| download | gcc-0a35e2fdece90e3f5677b7c69857944da4a5887b.zip gcc-0a35e2fdece90e3f5677b7c69857944da4a5887b.tar.gz gcc-0a35e2fdece90e3f5677b7c69857944da4a5887b.tar.bz2 | |
pa.c (compute_frame_size): Scan all the used callee saved registers, not just the first one.
* pa.c (compute_frame_size): Scan all the used callee saved registers,
not just the first one.
From-SVN: r28237
Diffstat (limited to 'gcc/config/pa/pa.c')
| -rw-r--r-- | gcc/config/pa/pa.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index af942f9..5db584c 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; |
