aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2002-02-27 18:48:07 +0000
committerZack Weinberg <zack@gcc.gnu.org>2002-02-27 18:48:07 +0000
commitf458d1d5d7bd85e412689858ea5d5de681608fbb (patch)
treeaff434354f9eafe5065d231d996385e95f0669b4 /gcc/java
parente0b3a8ff40c97c0b633185e6d0872468504a7a1a (diff)
downloadgcc-f458d1d5d7bd85e412689858ea5d5de681608fbb.zip
gcc-f458d1d5d7bd85e412689858ea5d5de681608fbb.tar.gz
gcc-f458d1d5d7bd85e412689858ea5d5de681608fbb.tar.bz2
c-common.c, [...]: Delete code implementing -traditional mode.
* c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in, c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h, cppmacro.c, objc/lang-specs.h, objc/objc-act.c, builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c, gcc.c, toplev.c: Delete code implementing -traditional mode. * ada/misc.c, ch/ch-tree.h, ch/decl.c, cp/decl2.c, f/com.c, f/lex.c, f/top.c, java/builtins.c, java/decl.c: Delete traditional-mode-related code copied from the C front end but not used, or used only to permit the compiler to link. * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi, doc/invoke.texi, doc/standards.texi, doc/trouble.texi: Document removal of -traditional mode for compilation, and remove documentation only relevant to that mode. * config/nextstep.h, config/ptx4.h, config/svr4.h, config/convex/convex.h, config/d30v/d30v.h, config/i386/dgux.h, config/i386/osf1elf.h, config/i386/osfelf.h, config/i386/osfrose.h, config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h, config/m68k/hp310.h, config/m88k/dgux.h, config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c, config/m88k/m88k.h, config/m88k/openbsd.h, config/mips/abi64.h, config/mips/osfrose.h, config/mips/svr4-5.h, config/mips/svr4-t.h, config/sparc/sol2-sld-64.h, config/sparc/sol2.h, config/stormy16/stormy16.h: Remove all references to -traditional from target specs. Delete all mention of the no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also delete a couple of commented-out definitions of DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring to -traditional. * system.h: Poison TRADITIONAL_RETURN_FLOAT. * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro. * testsuite/gcc.c-torture/execute/920730-1t.c, testsuite/gcc.c-torture/execute/920730-1t.x, testsuite/gcc.dg/ext-glob.c: Delete test cases, only relevant to -traditional. From-SVN: r50110
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog6
-rw-r--r--gcc/java/builtins.c3
-rw-r--r--gcc/java/decl.c2
3 files changed, 6 insertions, 5 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index ffd0b6b..4076a77 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,9 @@
+2002-02-27 Zack Weinberg <zack@codesourcery.com>
+
+ * builtins.c, decl.c: Delete traditional-mode-related code
+ copied from the C front end but not used, or used only to
+ permit the compiler to link.
+
2002-02-22 Tom Tromey <tromey@redhat.com>
Fix for PR java/2369:
diff --git a/gcc/java/builtins.c b/gcc/java/builtins.c
index 1ac37fb..832e643 100644
--- a/gcc/java/builtins.c
+++ b/gcc/java/builtins.c
@@ -281,11 +281,8 @@ initialize_builtins ()
/* Work around C-specific junk in builtin-types.def. */
#define intmax_type_node NULL_TREE
-#define traditional_ptr_type_node NULL_TREE
-#define traditional_cptr_type_node NULL_TREE
#define c_size_type_node NULL_TREE
#define const_string_type_node NULL_TREE
-#define traditional_len_type_node NULL_TREE
#define va_list_ref_type_node NULL_TREE
#define va_list_arg_type_node NULL_TREE
#define flag_isoc99 0
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index b76f46f..f9bbc9f 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -323,8 +323,6 @@ static tree named_labels;
static tree shadowed_labels;
#endif
-int flag_traditional;
-
tree java_global_trees[JTI_MAX];
/* Build (and pushdecl) a "promoted type" for all standard