aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-05-10 17:36:24 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-05-10 17:36:24 -0400
commit819f43e6c7398bfc19899dc4e670e62e9473b9b6 (patch)
tree1e05bf2adc8dc6f4f2b17eb53a69122045e3e4dc /gcc
parent5c828fb74c4121f741effac5be4a8587db5d74e9 (diff)
downloadgcc-819f43e6c7398bfc19899dc4e670e62e9473b9b6.zip
gcc-819f43e6c7398bfc19899dc4e670e62e9473b9b6.tar.gz
gcc-819f43e6c7398bfc19899dc4e670e62e9473b9b6.tar.bz2
(output_epilog): Fix minor error in instructions used to restore stack
pointer. From-SVN: r4415
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/alpha/alpha.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 13c5e54..c3a90a6 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -1398,10 +1398,10 @@ output_epilog (file, size)
fprintf (file, "\tldq $15,%d($30)\n", fp_offset);
/* Now update the stack pointer, if needed. This must be done in
- one, styalized, instruction. */
+ one, stylized, instruction. */
if (frame_size > 32768)
fprintf (file, "\taddq $28,$30,$30\n");
- else
+ else if (frame_size != 0)
fprintf (file, "\tlda $30,%d($30)\n", frame_size);
/* Finally return to the caller. */