OSDN Git Service

* cccp.c (rescan): Fixed obp pointer handling around call to
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 1999 08:45:37 +0000 (08:45 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 1999 08:45:37 +0000 (08:45 +0000)
        check_expand subroutine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30230 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cccp.c

index 0d34409..cc0e61c 100644 (file)
@@ -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
index b5f31a1..6f9c36c 100644 (file)
@@ -3340,7 +3340,9 @@ randomchar:
 #endif
                
                if (output_marks) {
+                 op->bufp = obp;
                  check_expand (op, limit - ibp + 2);
+                 obp = op->bufp;
                  *obp++ = '\n';
                  *obp++ = '-';
                }