summaryrefslogtreecommitdiff
path: root/gcc/cccp.c
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/cccp.c
parent2c3751433731d06d2d4386bb79eb50ab1b1add64 (diff)
downloadgcc-4ed506a4f64ce97df9993560fe8b84cf19996fbd.tar.gz
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/cccp.c')
-rw-r--r--gcc/cccp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index b5f31a1ab2a..6f9c36cddb7 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++ = '-';
}