aboutsummaryrefslogtreecommitdiff
path: root/libjava/Makefile.am
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-04-26 22:39:29 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-04-26 22:39:29 +0000
commitb446a5f1693fa10ea19c1731ae30e3f8619d2208 (patch)
treee10df97a16d840f306fafb0e4f11baec69c4c52c /libjava/Makefile.am
parent9e84766671f922ebddb93731e4b6928705a86c0d (diff)
downloadgcc-b446a5f1693fa10ea19c1731ae30e3f8619d2208.tar.gz
gcc-b446a5f1693fa10ea19c1731ae30e3f8619d2208.tar.bz2
gcc-b446a5f1693fa10ea19c1731ae30e3f8619d2208.zip
verify.cc (construct_primitive_array_type): New case.
* verify.cc (construct_primitive_array_type) [void_type]: New case. (branch_prepass): Added dummy entries for unused instruction values. (verify_instructions_0): Likewise. * interpret.cc (continue1): Comment fix. * include/java-insns.h (op_xxxunusedxxx1): Removed. * Makefile.in: Rebuilt. * Makefile.am: Added -Wswitch-enum. From-SVN: r52814
Diffstat (limited to 'libjava/Makefile.am')
-rw-r--r--libjava/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index 3caec30f672..92432eff22a 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -91,6 +91,8 @@ WARNINGS = -W -Wall
AM_CXXFLAGS = -fno-rtti -fnon-call-exceptions \
## Some systems don't allow `$' in identifiers by default, so we force it.
-fdollars-in-identifiers \
+## Detect bugs in the verifier implementation, and maybe other places.
+ -Wswitch-enum \
@LIBGCJ_CXXFLAGS@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE \
-DPREFIX="\"$(prefix)\""
if USING_GCC