summaryrefslogtreecommitdiff
path: root/gcc/java/lang.c
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-30 14:57:43 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-30 14:57:43 +0000
commit4770b4b70e757113c478d68f5e8eb22613eeef27 (patch)
tree4cb01f295ad7fd212fe7d141eec414cf205cef3b /gcc/java/lang.c
parent7832abdcde73d037e78e997d5c7cd8033773bece (diff)
downloadgcc-4770b4b70e757113c478d68f5e8eb22613eeef27.tar.gz
Add -fno-assert flag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57649 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r--gcc/java/lang.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index d08aca8a9da..c6fbb44ddd8 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -147,6 +147,9 @@ int flag_use_boehm_gc = 0;
object to its synchronization structure. */
int flag_hash_synchronization;
+/* When nonzero, permit the use of the assert keyword. */
+int flag_assert = 1;
+
/* When nonzero, assume all native functions are implemented with
JNI, not CNI. */
int flag_jni = 0;
@@ -205,7 +208,8 @@ lang_f_options[] =
{"force-classes-archive-check", &flag_force_classes_archive_check, 1},
{"optimize-static-class-initialization", &flag_optimize_sci, 1 },
{"indirect-dispatch", &flag_indirect_dispatch, 1},
- {"store-check", &flag_store_check, 1}
+ {"store-check", &flag_store_check, 1},
+ {"assert", &flag_assert, 1}
};
static const struct string_option