aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGlen Nakamura <glen.nakamura@usa.net>1999-10-28 08:45:37 +0000
committerJeff Law <law@gcc.gnu.org>1999-10-28 02:45:37 -0600
commit4ed506a4f64ce97df9993560fe8b84cf19996fbd (patch)
tree0d5c867172072e9a518570f7ae3b92aad7a1ca4d /gcc
parent2c3751433731d06d2d4386bb79eb50ab1b1add64 (diff)
downloadgcc-4ed506a4f64ce97df9993560fe8b84cf19996fbd.zip
gcc-4ed506a4f64ce97df9993560fe8b84cf19996fbd.tar.gz
gcc-4ed506a4f64ce97df9993560fe8b84cf19996fbd.tar.bz2
cccp.c (rescan): Fixed obp pointer handling around call to check_expand subroutine.
* cccp.c (rescan): Fixed obp pointer handling around call to check_expand subroutine. From-SVN: r30230
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cccp.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0d34409..cc0e61c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
+
+ * cccp.c (rescan): Fixed obp pointer handling around call to
+ check_expand subroutine.
+
Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
* arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
diff --git a/gcc/cccp.c b/gcc/cccp.c
index b5f31a1..6f9c36c 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -3340,7 +3340,9 @@ randomchar:
#endif
if (output_marks) {
+ op->bufp = obp;
check_expand (op, limit - ibp + 2);
+ obp = op->bufp;
*obp++ = '\n';
*obp++ = '-';
}