Call for testers for pch-branch
Geoff Keating
geoffk@geoffk.org
Mon Dec 2 10:51:00 GMT 2002
> ../../gcc/java/jcf-reader.c:266: warning: implicit declaration of function `ggc_alloc'
It turns out that powerpc-eabisim does at least build gcjh, so I was
able to test that this patch didn't cause build failures, and
hopefully it fixes this problem. I've committed the patch.
--
- Geoffrey Keating <geoffk@geoffk.org>
===File ~/patches/apple/pchbranch-javahggc.patch============
2002-12-02 Geoffrey Keating <geoffk@apple.com>
* Make-lang.in (java/gjavah.o): Update dependencies.
* gjavah.c: Include ggc.h.
cvs server: Diffing .
Index: Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Make-lang.in,v
retrieving revision 1.78.6.12
diff -u -p -u -p -r1.78.6.12 Make-lang.in
--- Make-lang.in 3 Sep 2002 23:05:58 -0000 1.78.6.12
+++ Make-lang.in 2 Dec 2002 18:45:23 -0000
@@ -266,7 +266,7 @@ java/parse.o: java/parse.c java/jcf-read
java/jcf-dump.o: $(CONFIG_H) $(SYSTEM_H) $(JAVA_TREE_H) java/jcf-dump.c \
java/jcf-reader.c java/jcf.h java/javaop.h java/javaop.def version.h $(GGC_H)
java/gjavah.o: $(CONFIG_H) $(SYSTEM_H) $(JAVA_TREE_H) java/gjavah.c \
- java/jcf-reader.c java/jcf.h java/javaop.h version.h
+ java/jcf-reader.c java/jcf.h java/javaop.h version.h $(GGC_H)
java/boehm.o: java/boehm.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(JAVA_TREE_H) \
java/parse.h toplev.h
java/buffer.o: java/buffer.c $(CONFIG_H) java/buffer.h $(SYSTEM_H) toplev.h
Index: gjavah.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/gjavah.c,v
retrieving revision 1.80.6.7
diff -u -p -u -p -r1.80.6.7 gjavah.c
--- gjavah.c 26 Nov 2002 22:30:08 -0000 1.80.6.7
+++ gjavah.c 2 Dec 2002 18:45:23 -0000
@@ -33,6 +33,7 @@ The Free Software Foundation is independ
#include "javaop.h"
#include "java-tree.h"
#include "java-opcodes.h"
+#include "ggc.h"
#include "hashtab.h"
#include <getopt.h>
============================================================
More information about the Gcc
mailing list