aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/lang-options.h
diff options
context:
space:
mode:
authorAndrew Haley <aph@cygnus.com>1999-07-21 14:51:24 +0000
committerAndrew Haley <aph@gcc.gnu.org>1999-07-21 14:51:24 +0000
commit0b094f655adbcfc286d1e03937814129dd5fa640 (patch)
treec27a832be3b216288616a1f5fd5aa1334bcc9bca /gcc/java/lang-options.h
parentaa4759c11cc78443455b69fca236c24ff89c91a1 (diff)
downloadgcc-0b094f655adbcfc286d1e03937814129dd5fa640.zip
gcc-0b094f655adbcfc286d1e03937814129dd5fa640.tar.gz
gcc-0b094f655adbcfc286d1e03937814129dd5fa640.tar.bz2
lang.c (flag_use_divide_subroutine): New variable.
1999-07-15 Andrew Haley <aph@cygnus.com> * lang.c (flag_use_divide_subroutine): New variable. * typeck.c: (convert_ieee_real_to_integer): Bounds check fp-to-integer conversion. (convert): Call convert_ieee_real_to_integer when flag_fast_math is not set. * expr.c (build_java_soft_divmod): New function. (build_java_binop): Call build_java_soft_divmod if flag_use_divide_subroutine is set. * decl.c: soft_idiv_node, soft_irem_node, soft_ldiv_node, tree soft_lrem_node: new builtin functions. (init_decl_processing) Initialize the new builtins. * java-tree.h soft_idiv_node, soft_irem_node, soft_ldiv_node, tree soft_lrem_node: new builtin functions. (build_java_soft_divmod): New function. * parse.y: Call build_java_soft_divmod if flag_use_divide_subroutine is set. * parse.c: Rebuilt. * jvspec.c (lang_specific_driver): Always allow an extra arg (for a --specs= arg) even if not linking. * lang-options.h (DEFINE_LANG_NAME ("Java")): Add -fuse-divide-subroutine From-SVN: r28209
Diffstat (limited to 'gcc/java/lang-options.h')
-rw-r--r--gcc/java/lang-options.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/java/lang-options.h b/gcc/java/lang-options.h
index db80b01..7ebc7ee 100644
--- a/gcc/java/lang-options.h
+++ b/gcc/java/lang-options.h
@@ -43,6 +43,8 @@ DEFINE_LANG_NAME ("Java")
{ "-fCLASSPATH", "Set class path" },
{ "-I", "Add directory to class path" },
{ "-foutput-class-dir", "Directory where class files should be written" },
+ { "-fuse-divide-subroutine", "" },
+ { "-fno-use-divide-subroutine", "Use built-in instructions for division" },
{ "-Wredundant-modifiers",
"Warn if modifiers are specified when not necessary"},
- { "-Wunsupported-jdk11", "Warn if `final' local variables are specified"},
+ { "-Wunsupported-jdk11", "Warn if `final' local variables are specified"}