diff options
| author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-28 23:19:12 +0000 |
|---|---|---|
| committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-28 23:19:12 +0000 |
| commit | 063757bc15d43c33861f9e5142871c19446cf9d8 (patch) | |
| tree | 5a7643808835bfe7d9700d561c2ff9243ecd563e | |
| parent | 1fe422382597368124aae13372ed05e409265bfa (diff) | |
| download | ppe42-gcc-063757bc15d43c33861f9e5142871c19446cf9d8.tar.gz ppe42-gcc-063757bc15d43c33861f9e5142871c19446cf9d8.zip | |
PR target/18321
* config/mmix/mmix.c (mmix_expand_epilogue): Change type of
variable offset to HOST_WIDE_INT. Remove obsolete comment. Fix
spacing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92685 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 7 | ||||
| -rw-r--r-- | gcc/config/mmix/mmix.c | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba2abe3d67d..7b44126c745 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-12-28 Hans-Peter Nilsson <hp@bitrange.com> + + PR target/18321 + * config/mmix/mmix.c (mmix_expand_epilogue): Change type of + variable offset to HOST_WIDE_INT. Remove obsolete comment. Fix + spacing. + 2004-12-28 Andrew Pinski <pinskia@physics.uc.edu> * fold-const.c (fold_build_cleanup_point_expr): For a RETURN_EXPR, diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index e28c3b806f7..fc9adb6e177 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -2093,11 +2093,8 @@ mmix_expand_epilogue (void) + current_function_pretend_args_size + locals_size + 7) & ~7; - /* The assumption that locals_size fits in an int is asserted in - mmix_expand_prologue. */ - /* The first address to access is beyond the outgoing_args area. */ - int offset = current_function_outgoing_args_size; + HOST_WIDE_INT offset = current_function_outgoing_args_size; /* Add the space for global non-register-stack registers. It is assumed that the frame-pointer register can be one of these @@ -2156,7 +2153,6 @@ mmix_expand_epilogue (void) might be of an unaligned size. */ offset += (locals_size + 7) & ~7; - /* The saved register stack pointer is just below the frame-pointer register. We don't need to restore it "manually"; the POP instruction does that. */ |

