diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/ip2k/ip2k.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ed343cd3f7b..f6b7c9187a9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-09-24 Denis Chertykov <denisc@overta.ru> + + * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in + cases of optimizing "add sp,w" to "inc sp". + 2002-09-24 Adam Nemet <anemet@lnxw.com> * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate diff --git a/gcc/config/ip2k/ip2k.c b/gcc/config/ip2k/ip2k.c index 7730ee4438f..9b392f59132 100644 --- a/gcc/config/ip2k/ip2k.c +++ b/gcc/config/ip2k/ip2k.c @@ -353,7 +353,7 @@ function_epilogue (file, size) /* fall-thru */ case 0: break; - case 1: + case 0x100: OUT_AS1 (inc, sph); epilogue_size += 2; } @@ -490,7 +490,7 @@ function_epilogue (file, size) case 0: break; - case 1: + case 0x100: OUT_AS1 (inc, sph); epilogue_size += 2; } |