summaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-28 12:25:21 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-28 12:25:21 +0000
commit350b17ef4ffedff588e2c5ff04c4220ef2729bc8 (patch)
treec975b4080bd3d5dadf4179b7b9ad2f7233bac1f2 /gcc/java
parent57132eee5c43009828515c533c86f7c2e712ecda (diff)
downloadgcc-350b17ef4ffedff588e2c5ff04c4220ef2729bc8.tar.gz
* rtlanal.c: Include flags.h
(may_trap_p): Do not mark FP operations if trapping if !flag_trapping_math * Makefile.in (rtlanal.o): Add dependency on flag.h * ifcvt.c (noce_operand_ok): Avoid the lameness. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51508 138bc75d-0d04-0410-961f-82ee72b054a4
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;
}