1. 22 Feb, 2000 6 commits
    • Daily bump. · 7fc4240a
      From-SVN: r32102
      Jeff Law committed
    • pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference for arguments… · 24e971f6
      pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference for arguments with a mode, but no type.
      
              * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
              for arguments with a mode, but no type.
              (FUNCTION_ARG_CALLEE_COPIES): Similarly.
              * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
              * pa/long_double.h: New file.
              * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
              both have 128bit wide long doubles.
              * configure: Rebuilt.
      
      From-SVN: r32101
      Jeffrey A Law committed
    • Refer to the standard as an ISO document, not an ANSI one. · cab1f180
      	* decl.c (grokdeclarator): Change ANSI to ISO.
      	* lex.c (consume_string, readescape, do_identifier): Likewise.
      	(parse_float, real_yylex): Likewise.
      	* parse.y (paren_expr_or_null, paren_cond_or_null): Likewise.
      	(unary_expr, new_initializer, cast_expr, primary, primary_no_id,
      	new_type_id, maybe_label_decls, simple_stmt,
      	for.init.statement): Likewise.
      	* pt.c (do_decl_instantiation, do_type_instantiation): Likewise.
      	* semantics.c (finish_named_return_value): Likewise.
      	* parse.c: Regenerate.
      
      From-SVN: r32100
      Martin v. Löwis committed
    • cp-tree.h (CPTI_VTABLE_INDEX_TYPE): New macro. · c7e266a6
      	* cp-tree.h (CPTI_VTABLE_INDEX_TYPE): New macro.
      	(CPTI_CLASS_STAR_TYPE): Remove.
      	(vtable_index_type): Likewise.
      	(class_star_type_node): Remove.
      	(TYPE_PTRMEMFUNC_FN_TYPE): Adjust for the new ABI.
      	(build_binary_op_nodefault): Remove.
      	* call.c (build_new_op): Use build_binary_op instead of
      	build_binary_op_nodefault.
      	* decl.c (init_decl_processing): Remove class_star_type_node
      	initialization.  Make delta_type_node ptrdiff_type_node under the
      	new ABI.  Initialize vtable_index_type.
      	(build_ptrmemfunc_type): Build different structures for the new
      	ABI.
      	(build_enumerator): Use build_binary_op instead of
      	build_binary_op_nodefault.
      	* method.c (build_overload_value): Mangle pointers-to-members
      	appropriately under the new ABI.
      	* typeck.c (build_array_ref): Use build_binary_op instead of
      	build_binary_op_nodefault.
      	(get_member_function_from_ptrfunc): Adjust for the new ABI.
      	(build_binary_op_nodefault): Rename to ...
      	(build_binary_op): ... this.  Remove old version.  Adjust for
      	pointer-to-member comparisons under the new ABI.
      	(build_ptrmemfunc1): Remove dead code.  Adjust for the new ABI.
      	(build_ptrmemfunc): Adjust for the new ABI.
      	(expand_ptrmemfunc_cst): Likewise.
      	(delta2_from_ptrmemfunc): Assert that we're not using the new ABI.
      	(pfn_from_ptrmemfunc): Adjust for the new ABI.
      
      From-SVN: r32099
      Mark Mitchell committed
    • re GNATS gcj/147 (Problem parsing comments) · 2323b28b
      2000-02-15  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* lex.c (java_parse_doc_section): Alway unget the last unicode
      	when returning 0.
      	(java_lex): Call java_parse_end_comment with fetched unicode.
      
      This is a fix to the Java PR #47
      (http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00042.html)
      
      From-SVN: r32097
      Alexandre Petit-Bianco committed
    • Remove conflict marker · 7d612b1e
      From-SVN: r32096
      Martin v. Löwis committed
  2. 21 Feb, 2000 13 commits
    • [multiple changes] · 2a1ed9c1
      Thu Feb 17 14:30:37 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* jcf-write.c (generate_bytecode_insns): Don't generate empty
       	`finally' clauses.
      
      Thu Feb 17 13:20:58 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* jcf-parse.c (load_class): Call `fatal' if no file containing
      	the target class are found.
      
      From-SVN: r32095
      Alexandre Petit-Bianco committed
    • defaults.h (ASM_OUTPUT_ASCII): Constify a char*. · 47ee9bcb
      	* defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
      
      	* flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
      	fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
      	(life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
      
      	* haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
      
      	* integrate.c (compare_blocks, find_block): Likewise.
      
      	* rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
      
      	* rtl.h (set_file_and_line_for_stmt): Constify a char*.
      
      	* stmt.c (stmt_status, set_file_and_line_for_stmt,
      	expand_asm_operands): Likewise.
      
      From-SVN: r32094
      Kaveh R. Ghazi committed
    • predict.c (estimate_probability): Added the pointer heuristic to the collection… · 24c3bf68
      predict.c (estimate_probability): Added the pointer heuristic to the collection of static branch predictors.
      
              * predict.c (estimate_probability): Added the pointer heuristic to
              the collection of static branch predictors.
      
      From-SVN: r32093
      Jason Eckhardt committed
    • mips.h (ASM_SPEC): Add -mfix700. · 1e387156
              * config/mips/mips.h (ASM_SPEC): Add -mfix700.
              * invoke.texi (-mfix7000): Document.
      
      From-SVN: r32092
      Catherine Moore committed
    • diagnostic.c (init_output_buffer): Make it possible to output at least 32… · abcabbbf
      diagnostic.c (init_output_buffer): Make it possible to output at least 32 characters if we're given a too long prefix.
      
      2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
      
              * diagnostic.c (init_output_buffer): Make it possible to output at
              least 32 characters if we're given a too long prefix.
      
      From-SVN: r32091
      Gabriel Dos Reis committed
    • call.c (build_object_call): Compress consecutive calls to cp_error. · cb9a3ff8
      2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
      
              * call.c (build_object_call): Compress consecutive calls to
              cp_error.
              (build_conditional_expr): Say 'ISO C++' not 'ANSI C++'.
              (build_op_delete_call): Adjust message formatting.
      
              * class.c (check_bases): Compress consecutive calls to
              cp_pedwarn.
              (finish_struct_anon): Say 'ISO C++'.
      
              * decl.c (start_decl): Same here.
              (grok_reference_init): Likewise.
              (grokfndecl): Correct message formatting.
              (grokfndecl): Improve diagnostic.
              (check_static_variable_definition): Likewise. Say 'ISO C++'
              (compute_array_index_type): Say 'ISO C++'
              (create_array_type_for_decl): Compress consecutive calls to
              cp_error.
              (grokdeclarator): Say 'ISO C++'
              (grok_op_properties): Likewise.
      
              * decl2.c (delete_sanity): Clairify diagnostic.
              (check_member_template): Same here.
              (grok_function_init): Use consistent terminology.
      
              * expr.c (do_case): Say 'ISO C++'
      
              * friend.c (do_friend): Compress consecutive calls to warning.
      
      From-SVN: r32090
      Gabriel Dos Reis committed
    • jcf-dump.c (main): Test for correct condition after output file creation. · c801c87c
      Mon Jan 18 14:30:09 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>
      
      	* jcf-dump.c (main): Test for correct condition after
      	output file creation.
      
      From-SVN: r32089
      Joerg Brunsmann committed
    • Daily bump. · 3759b292
      From-SVN: r32088
      Jeff Law committed
    • Forgot to commit ChangeLog · 9b90451b
      From-SVN: r32087
      Anthony Green committed
    • Makefile.in: Rebuilt. · 06440a12
      
              * Makefile.in: Rebuilt.
      	* Makefile.am (ordinary_java_source_files): Add
              gnu/gcj/io/DefaultMimeTypes.java and gnu/gcj/io/MimeTypes.java
      
              * scripts/MakeDefaultMimeTypes.java: New file.
              * scripts/mime.types: New file.
      	* scripts/classes.pl: Moved from top level.
              * classes.pl: Moved to scripts directory.
      
              * java/net/URLConnection.java: Implement guessContentTypeFromName.
      
              * gnu/gcj/io/MimeTypes.java: New file.
              * gnu/gcj/io/DefaultMimeTypes.java: New file.
      
      From-SVN: r32086
      Anthony Green committed
    • * boehm.cc (_Jv_AllocBytes): Clear returned memory. · 38b3a2c0
      From-SVN: r32085
      Tom Tromey committed
    • varasm.c (initializer_constant_valid_p): Call lang_expand_constant to simplify the constant. · 99740276
      	* varasm.c (initializer_constant_valid_p): Call
      	lang_expand_constant to	simplify the constant.
      
      From-SVN: r32084
      Mark Mitchell committed
    • cp-tree.h (merge_primary_and_secondary_vtables_p): New macro. · 8d7a5379
      	* cp-tree.h (merge_primary_and_secondary_vtables_p): New macro.
      	* class.c (build_secondary_vtable): Reorganize.  Don't create a
      	new vtable under the new ABI.
      	(layout_vtable_decl): Don't add num_extra_vtbl_entries when
      	computing the size.
      	(build_vtbl_initializer): Don't return a CONSTRUCTOR; just return
      	the initializing elements.
      	(initialize_vtable): New function.
      	(dfs_finish_vtbls): Use it.
      	(dfs_accumulate_vtbl_inits): New function.
      	(finish_vtbls): Merge primary and secondary vtables under the new
      	ABI.
      	(finish_struct_1): Remove redundant call to layout_vtable_decl.
      	* init.c (expand_virtual_init): Deal with BINFO_VTABLEs that
      	aren't VAR_DECLs.
      
      From-SVN: r32083
      Mark Mitchell committed
  3. 20 Feb, 2000 15 commits
    • class.c (build_vtable): New function, split out from ... · b9f39201
      	* class.c (build_vtable): New function, split out from ...
      	(get_vtable_decl): ... here, and ...
      	(build_secondary_vtable): ... here.
      
      	* pt.c (tsubst_decl): Fix formatting.
      
      From-SVN: r32082
      Mark Mitchell committed
    • regenerate · b6412bae
      From-SVN: r32081
      Bruce Korb committed
    • va_list typedef needs to be disabled · 2260b683
      From-SVN: r32080
      Bruce Korb committed
    • print-rtl.c (print_rtx): Don't print addresses when flag_dump_unnumbered. · f76ca83c
      * print-rtl.c (print_rtx): Don't print addresses when
      flag_dump_unnumbered.
      
      From-SVN: r32079
      Geoff Keating committed
    • sparc.c (sparc_output_scratch_registers): Mark parameter with ATTRIBUTE_UNUSED. · fbd039b2
      	* sparc.c (sparc_output_scratch_registers): Mark parameter with
      	ATTRIBUTE_UNUSED.
      	(sparc_va_arg, sparc_flat_output_function_prologue,
      	sparc_flat_output_function_epilogue): Cast value to unsigned in
      	comparison.
      	(sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
      
      	* sparc.md: Add default case in switch.
      
      From-SVN: r32078
      Kaveh R. Ghazi committed
    • Daily bump. · ce26960a
      From-SVN: r32077
      Jeff Law committed
    • c-typeck.c (add_pending_init): Don't abort for multiple fields at the same offset. · 83b091c7
              * c-typeck.c (add_pending_init): Don't abort for multiple
              fields at the same offset.
              (pending_init_member): Test the correct member.
      
      From-SVN: r32076
      Richard Henderson committed
    • New test. · 4a6cfa63
      From-SVN: r32075
      Richard Henderson committed
    • except.c (start_dynamic_handler): Use TYPE_MODE (integer_type_node) instead of SImode. · a0ec56b7
              * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
              instead of SImode.
              (start_catch_handler) : Same.
      
      From-SVN: r32074
      Herman A.J. ten Brugge committed
    • * Makefile.in: Have flow.o depend on $(EXPR_H) · db01dcfa
      From-SVN: r32073
      Brad Lucier committed
    • * jcf-depend.c (add_entry): Fix test for first list entry. · 7b227604
      From-SVN: r32072
      Anthony Green committed
    • Move language-specific entries · 64e92991
      From-SVN: r32071
      Richard Kenner committed
    • c-common.c (decl_attributes): Set DECL_SIZE_UNIT. · 4559fd9e
      	* c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
      	* c-decl.c (duplicate_decls, finish_enum): Likewise.
      	(finish_decl): Remove -Wlarger-than code from here.
      	* flags.h (id_clash_len): Now int.
      	(larger_than_size): Now HOST_WIDE_INT.
      	* fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
      	Clean up checking to see if in table.
      	(make_bit_field_ref): Remove extra parm to bitsize_int.
      	* ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
      	* print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
      	* stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
      	and for computing size of decl.
      	* stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
      	Move -Wlarger-than code to here.
      	(layout_record): Remove extra arg to bitsize_int.
      	Set TYPE_BINFO_SIZE_UNIT.
      	(layout_union): Remove extra arg to bitsize_int.
      	Use proper type for size of QUAL_UNION.
      	(layout_type): Remove extra arg to bitsize_int.
      	* toplev.c (id_clash_len): Now int.
      	(larger_than_size): Now HOST_WIDE_INT.
      	(decode_W_option): Clean up id-clash and larger-than- cases.
      	* tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
      	(expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
      	* tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
      	(struct tree_decl): New field size_unit.
      	(size_int_wide): No HIGH operand; NUMBER is now signed.
      	(size_int_2): Deleted.
      	(size_int, bitsize_int): Don't use it and rework args.
      	* varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
      	* ch/decl.c (layout_enum): Set DECL_SIZE_UNIT.
      	* ch/satisfy.c (safe_satisfy_decl): Likewise.
      	* cp/class.c (build_primary_vtable, layout_vtable_decl): Likewise.
      	(avoid_overlap, build_base_field): Likewise.
      	(build_base_field, build_base_fields, is_empty_class):
      	Test DECL_SIZE with integer_zero.
      	(layout_class_type): Set CLASSTYPE_SIZE_UNIT.
      	* cp/cp-tree.h (struct lang_type): New field size_unit.
      	(CLASSTYPE_SIZE_UNIT): New macro.
      	* cp/decl.c (init_decl_processing): Set DECL_SIZE_UNIT.
      	(cp_finish_decl): Delete -Wlarger-than processing.
      	* cp/optimize.c (remap_decl): Walk DECL_SIZE_UNIT.
      	* cp/pt.c (tsubst_decl): Set DECL_SIZE_UNIT.
      	* cp/tree.c (make_binfo): binfo vector is one entry longer.
      	(walk_tree): Walk DECL_SIZE_UNIT.
      	* f/com.c (ffecom_sym_transform): Use DECL_SIZE_UNIT.
      	(ffecom_transform_common_, ffecom_transform_equiv_): Likewise.
      	(duplicate_decls): Likewise.
      	(ffecom_tree_canonize_ptr_): Delete extra arg to bitsize_int.
      	(finish_decl): Delete -Wlarger-than processing.
      	* java/class.c (build_class_ref, push_super_field): Set DECL_SIZE_UNIT.
      	* java/constants.c (build_constants_constructor): Likewise.
      
      From-SVN: r32070
      Richard Kenner committed
    • class.c (dfs_build_vcall_offset_vtbl_entries): Fix typo in comment. · 7d52ae23
      	* class.c (dfs_build_vcall_offset_vtbl_entries): Fix typo in
      	comment.
      	(build_vtable_entry): Don't assume all vtable entries are
      	functions.
      	(build_vtbl_initializer): Adjust accordingly.
      	(get_vtable_decl): Fix formatting.
      
      From-SVN: r32069
      Mark Mitchell committed
    • c-common.c (decl_attributes): Set DECL_SIZE_UNIT. · 06ceef4e
      	* c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
      	* c-decl.c (duplicate_decls, finish_enum): Likewise.
      	(finish_decl): Remove -Wlarger-than code from here.
      	* flags.h (id_clash_len): Now int.
      	(larger_than_size): Now HOST_WIDE_INT.
      	* fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
      	Clean up checking to see if in table.
      	(make_bit_field_ref): Remove extra parm to bitsize_int.
      	* ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
      	* print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
      	* stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
      	and for computing size of decl.
      	* stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
      	Move -Wlarger-than code to here.
      	(layout_record): Remove extra arg to bitsize_int.
      	Set TYPE_BINFO_SIZE_UNIT.
      	(layout_union): Remove extra arg to bitsize_int.
      	Use proper type for size of QUAL_UNION.
      	(layout_type): Remove extra arg to bitsize_int.
      	* toplev.c (id_clash_len): Now int.
      	(larger_than_size): Now HOST_WIDE_INT.
      	(decode_W_option): Clean up id-clash and larger-than- cases.
      	* tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
      	(expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
      	* tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
      	(struct tree_decl): New field size_unit.
      	(size_int_wide): No HIGH operand; NUMBER is now signed.
      	(size_int_2): Deleted.
      	(size_int, bitsize_int): Don't use it and rework args.
      	* varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
      	* ch/decl.c (layout_enum): Set DECL_SIZE_UNIT.
      	* ch/satisfy.c (safe_satisfy_decl): Likewise.
      	* cp/class.c (build_primary_vtable, layout_vtable_decl): Likewise.
      	(avoid_overlap, build_base_field): Likewise.
      	(build_base_field, build_base_fields, is_empty_class):
      	Test DECL_SIZE with integer_zero.
      	(layout_class_type): Set CLASSTYPE_SIZE_UNIT.
      	* cp/cp-tree.h (struct lang_type): New field size_unit.
      	(CLASSTYPE_SIZE_UNIT): New macro.
      	* cp/decl.c (init_decl_processing): Set DECL_SIZE_UNIT.
      	(cp_finish_decl): Delete -Wlarger-than processing.
      	* cp/optimize.c (remap_decl): Walk DECL_SIZE_UNIT.
      	* cp/pt.c (tsubst_decl): Set DECL_SIZE_UNIT.
      	* cp/tree.c (make_binfo): binfo vector is one entry longer.
      	(walk_tree): Walk DECL_SIZE_UNIT.
      	* f/com.c (ffecom_sym_transform): Use DECL_SIZE_UNIT.
      	(ffecom_transform_common_, ffecom_transform_equiv_): Likewise.
      	(duplicate_decls): Likewise.
      	(ffecom_tree_canonize_ptr_): Delete extra arg to bitsize_int.
      	(finish_decl): Delete -Wlarger-than processing.
      	* java/class.c (build_class_ref, push_super_field): Set DECL_SIZE_UNIT.
      	* java/constants.c (build_constants_constructor): Likewise.
      
      From-SVN: r32068
      Richard Kenner committed
  4. 19 Feb, 2000 6 commits