aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2000-09-11 01:50:49 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-09-11 01:50:49 +0000
commitd8ea8f2871301b84310b2c37cbc394343db1af8a (patch)
tree1746104004f6580995ab9046ee3aa23a808b8152 /gcc/java
parentfe5e3b9714a2ef529f5d514dab61747137c89527 (diff)
downloadgcc-d8ea8f2871301b84310b2c37cbc394343db1af8a.zip
gcc-d8ea8f2871301b84310b2c37cbc394343db1af8a.tar.gz
gcc-d8ea8f2871301b84310b2c37cbc394343db1af8a.tar.bz2
defaults.h: Provide default definitions for...
* defaults.h: Provide default definitions for: CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED. * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c, profile.c, sdbout.c, tradcif.y, tree.c, ch/decl.c, ch/timing.c, cp/decl.c, cp/rtti.c, f/com.c, f/com.h, java/decl.c, java/expr.c: Include defaults.h if not already included. Don't define the above macros. * Makefile.in, ch/Makefile.in, cp/Makefile.in, f/Makefile.in: Update dependencies. From-SVN: r36307
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/decl.c4
-rw-r--r--gcc/java/expr.c4
3 files changed, 5 insertions, 8 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 9645d55..2f248f4 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
+
+ * decl.c, expr.c: Include defaults.h if not already included.
+ Don't define the *_TYPE_SIZE macros.
+
2000-09-09 Geoffrey Keating <geoffk@cygnus.com>
* typeck.c (build_java_array_type): Correct first parameter
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index f57ed01..a96ff94 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -54,10 +54,6 @@ static tree create_primitive_vtable PARAMS ((const char *));
before static field references. */
extern int always_initialize_class_p;
-#ifndef INT_TYPE_SIZE
-#define INT_TYPE_SIZE BITS_PER_WORD
-#endif
-
/* The DECL_MAP is a mapping from (index, type) to a decl node.
If index < max_locals, it is the index of a local variable.
if index >= max_locals, then index-max_locals is a stack slot.
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index a9c074f..ebba1ac 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -984,10 +984,6 @@ expand_java_pushc (ival, type)
push_value (value);
}
-#ifndef INT_TYPE_SIZE
-#define INT_TYPE_SIZE BITS_PER_WORD
-#endif
-
static void
expand_java_return (type)
tree type;