diff options
author | Anthony Green <green@cygnus.com> | 2000-01-09 22:25:54 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2000-01-09 22:25:54 +0000 |
commit | b11f64301ac5a915a3803c6d6d4fa33b6733d187 (patch) | |
tree | 643466db439a80706c0651653ca6f845432f490d /libjava/configure.host | |
parent | 0e3dd56798d7650cafc05c87ccf429d85dd092f2 (diff) | |
download | gcc-b11f64301ac5a915a3803c6d6d4fa33b6733d187.zip gcc-b11f64301ac5a915a3803c6d6d4fa33b6733d187.tar.gz gcc-b11f64301ac5a915a3803c6d6d4fa33b6733d187.tar.bz2 |
natString.cc (init): Test for overflow condition during out of bounds check.
2000-01-09 Anthony Green <green@cygnus.com>
* java/lang/natString.cc (init): Test for overflow condition
during out of bounds check.
(getChars): Throw StringIndexOutOfBoundsException, not
ArrayIndexOutOfBoundsException.
(getBytes): Ditto.
(regionMatches): Obey case option during string comparison.
* configure.host (ligcj_interpreter): New variable. Enable
interpreter by default on IA-32.
* configure.in: Examine libgcj_interpreter.
* configure: Rebuilt.
From-SVN: r31300
Diffstat (limited to 'libjava/configure.host')
-rw-r--r-- | libjava/configure.host | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/configure.host b/libjava/configure.host index 05afbc7..348d54a 100644 --- a/libjava/configure.host +++ b/libjava/configure.host @@ -24,6 +24,7 @@ libgcj_cflags= libgcj_cxxflags= libgcj_javaflags= libgcj_sjlj= +libgcj_interpreter= case "${target_optspace}:${host}" in yes:*) @@ -58,6 +59,7 @@ case "${host}" in ;; i686-*|i586-*) libgcj_flags="${libgcj_flags} -ffloat-store" + libgcj_interpreter=yes DIVIDESPEC=-fno-use-divide-subroutine ;; sparc-*) |