1. 26 Jul, 1999 11 commits
  2. 25 Jul, 1999 5 commits
  3. 24 Jul, 1999 2 commits
    • Daily bump. · 2ac4184c
      From-SVN: r28231
      Jeff Law committed
    • lex.c: Sync with C frontend. · 1ceb5ff3
      	* lex.c: Sync with C frontend.
      	(whitespace_cr): New fn.
      	(skip_white_space): Use it.
      	(init_parse): Reorder.
      	(yyprint): Support CONSTANT.
      	(pragma_getc, pragma_ungetc): Bring back.
      	(read_line_number): Change in_system_header directly.
      	(handle_generic_pragma, handle_cp_pragma, yyerror): Move up in file.
      	(parse_float): Update to C version.
      	(yylex): Handle '$' under the letter case.
      	Remove looking_for_typename handling.
      	Support hex floating point constants.
      	Follow C's lead for choosing type of integer constants.
      	Rearrange stuff to match C frontend.
      	(yyungetc, reinit_parse_for_block, yylex): Support indent_level.
      	* spew.c (yylex): Clear looking_for_typename if we see a TYPESPEC.
      
      From-SVN: r28230
      Jason Merrill committed
  4. 23 Jul, 1999 7 commits
    • call.c (reference_binding): Tweak. · b0385db8
      	* call.c (reference_binding): Tweak.
      	(mayble_handle_implicit_object): Use direct_reference_binding to
      	create the right implicit conversion sequence.
      
      From-SVN: r28228
      Mark Mitchell committed
    • arm.h (TARGET_SWITCHES): Add -m{no-}single-pic-base. · ed0e6530
      * config/arm/arm.h (TARGET_SWITCHES): Add
      -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
      (TARGET_OPTIONS): Add -mpic-register=.
      (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
      (arm_pic_register_string): Declare.
      (NEED_PLT_GOT): Delete, replace with ...
      (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
      (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
      (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
      * config/arm/arm.c (arm_override_options): Add new option
      -mpic-register=N.
      (arm_pic_register_string): New variable.
      (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
      (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
      register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
      (output_return_instruction): Likewise.
      * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
      (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
      * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
      
      * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
      mention of -msched-prolog.  Document new options -msingle-pic-base
      and -mpic-register=.
      
      From-SVN: r28227
      Philip Blundell committed
    • Daily bump. · 59ba45cd
      From-SVN: r28225
      Jeff Law committed
    • pt.c (convert_nontype_argument): Don't call decl_constant_value if we're… · 638dd8fc
      pt.c (convert_nontype_argument): Don't call decl_constant_value if we're converting to a reference type.
      
      	* pt.c (convert_nontype_argument): Don't call decl_constant_value
      	if we're converting to a reference type.
      
      From-SVN: r28224
      Mark Mitchell committed
    • haifa-sched.c (reemit_notes): Tidy. · 19699da4
              * haifa-sched.c (reemit_notes): Tidy.
              * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
              haifa's routine.
      
      From-SVN: r28223
      Richard Henderson committed
    • explow.c (trunc_int_for_mode): New function. · 7e4ce834
              * explow.c (trunc_int_for_mode): New function.
              (plus_constant_wide): Use it.
              * combine.c (simplify_and_const_int): Likewise.
              (merge_outer_ops): Likewise.
              (simplify_shift_const): Likewise.
              * cse.c (simplify_unary_operation): Likewise.
              (simplify_binary_operation): Likewise.
              * emit-rtl.c (operand_subword): Likewise.
              * rtl.h: Declare it.
      
      From-SVN: r28222
      Richard Henderson committed
    • call.c (NEED_TEMPORARY_P): New macro. · 27b8d0cd
      	* call.c (NEED_TEMPORARY_P): New macro.
      	(standard_conversion): Set it, for derived-to-base conversions.
      	(reference_related_p): New function.
      	(reference_compatible_p): Likewise.
      	(convert_class_to_reference): Likewise.
      	(direct_reference_binding): Likewise.
      	(reference_binding): Rework for standards-compliance.
      	(convert_like): Adjust accordingly.
      	(maybe_handle_ref_bind): Simplify; the right conversion sequences
      	are now built up in reference_binding.
      	(initialize_reference): New function.
      	* cp-tree.h (ICS_USER_FLAG): Document.
      	(ICS_THIS_FLAG): Likewise.
      	(ICS_BAD_FLAG): Likewise.
      	(NEED_TEMPORARY_P): Likewise.
      	(cp_lvalue_kind): New type.
      	(real_lvalue_p): Return it.
      	* error.c (dump_expr): Provide more accurate representation for
      	AGGR_INIT_EXPRs.
      	* init.c (expand_default_init): Do not try to perform implicit
      	conversions for a brace-enclosed initializer.
      	* search.c (lookup_conversions): Document.
      	* tree.c (lvalue_p_1): Return a cp_lvalue_kind.  Calculate
      	appropriately.
      	(real_lvalue_p): Adjust accordingly.
      	(lvalue_p): Likewise.
      	(build_cplus_new): Don't allow the creation of an abstract class.
      	* typeck.c (convert_for_initialization): Use initialize_reference.
      
      From-SVN: r28221
      Mark Mitchell committed
  5. 22 Jul, 1999 7 commits
  6. 21 Jul, 1999 8 commits
    • Print the names of the hardcoded virtural registers · a6c7a886
      From-SVN: r28212
      Michael Meissner committed
    • prims.cc (JvRunMain): Always initialize arithexception. · d342a2e1
      1999-07-19  Andrew Haley  <aph@cygnus.com>
      
              * prims.cc (JvRunMain): Always initialize arithexception.
              (_Jv_divI): New function.
              (_Jv_remI): New function.
              (_Jv_divJ): New function.
              (_Jv_remI): New function.
              * include/jvm.h: Add these new functions.
      
              Makefile.am: add DIVIDESPEC.
              aclocal.m4: ditto.
              configure.host: set DIVIDESPEC.
              libgcj.spec.in: pass DIVIDESPEC to compiler.
              configure: rebuilt.
              Makefile.in: rebuilt.
      
      From-SVN: r28211
      Andrew Haley committed
    • Fix typo in previous delta · 9daca635
      From-SVN: r28210
      Nick Clifton committed
    • lang.c (flag_use_divide_subroutine): New variable. · 0b094f65
      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
      Andrew Haley committed
    • lang.c (flag_use_divide_subroutine): New variable. · aa4759c1
      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.
      
      From-SVN: r28208
      Andrew Haley committed
    • c-lang.c (finish_file): Rename void_list_node to void_list_node_1 to avoid name clash. · 9c1ce433
      	* c-lang.c (finish_file): Rename void_list_node to void_list_node_1
      	to avoid name clash.
      
      From-SVN: r28207
      Bernd Schmidt committed
    • For gcc: · cc144655
      	* c-lex.c (yylex) : Correct the test for overflow when lexing
      	integer literals.
      
      For gcc/cp:
      	* lex.c (real_yylex) : Correct the test for overflow when lexing
      	integer literals.
      
      From-SVN: r28206
      Gavin Romig-Koch committed
    • x · 0f037763
      From-SVN: r28205
      Jason Merrill committed