From 4ed506a4f64ce97df9993560fe8b84cf19996fbd Mon Sep 17 00:00:00 2001 From: Glen Nakamura Date: Thu, 28 Oct 1999 08:45:37 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/cccp.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0d344096d9a..cc0e61cb9bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Oct 28 02:44:03 1999 Glen Nakamura + + * 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 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++ = '-'; }