summaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/lang.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index b284d0c8a5e..c1d3908a711 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+Thu Mar 28 13:22:22 CET 2002 Jan Hubicka <jh@suse.cz>
+
+ * java/lang.c (java_init_options): Set flag_trapping_math to 0.
+
2002-03-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* parse.y (resolve_package): Initialize "decl".
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index 56f16195a0d..fd197235cd4 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -752,4 +752,7 @@ java_init_options ()
flag_bounds_check = 1;
flag_exceptions = 1;
flag_non_call_exceptions = 1;
+
+ /* In Java floating point operations never trap. */
+ flag_trapping_math = 0;
}