]> git.ipfire.org Git - thirdparty/gcc.git/commit
lang.c (flag_use_divide_subroutine): New variable.
authorAndrew Haley <aph@cygnus.com>
Wed, 21 Jul 1999 14:51:24 +0000 (14:51 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Wed, 21 Jul 1999 14:51:24 +0000 (14:51 +0000)
commit0b094f655adbcfc286d1e03937814129dd5fa640
treec27a832be3b216288616a1f5fd5aa1334bcc9bca
parentaa4759c11cc78443455b69fca236c24ff89c91a1
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
gcc/java/ChangeLog
gcc/java/jvspec.c
gcc/java/lang-options.h
gcc/java/parse.c