8
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Nov 1998 17:16:05 +0000 (17:16 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Nov 1998 17:16:05 +0000 (17:16 +0000)
* jvgenmain.c:  Need to #include "gansidecl.h" (to get PROTO).
* jcf-write.c (perform_relocations):  Move check out one loop.

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

gcc/java/jcf-write.c
gcc/java/jvgenmain.c

index 64c9e06..c4d5ca1 100644 (file)
@@ -2258,9 +2258,9 @@ perform_relocations (state)
              *--new_ptr = 0;
              *--new_ptr = - reloc->kind;
            }
-         if (new_ptr != chunk->data)
-           fatal ("internal error - perform_relocations");
        }
+      if (new_ptr != chunk->data)
+       fatal ("internal error - perform_relocations");
     }
   state->code_length = pc;
 }
index 43b8d7b..abf1777 100644 (file)
@@ -27,6 +27,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc.  */
 #include "config.h"
 #include "system.h"
 #include "obstack.h"
+#include "gansidecl.h"
 
 const char main_method_prefix[] = "main__";
 const char main_method_suffix[] = "Pt6JArray1ZPQ34java4lang6String";