1. 05 Sep, 2000 9 commits
    • aoliva's avatar
      * gcse.c (hash_string_1): Add prototype. · ec53a6f8
      aoliva authored
      * cse.c (canon_hash_string): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36154 138bc75d-0d04-0410-961f-82ee72b054a4
      ec53a6f8
    • samuel's avatar
      * cp-demangle.c (demangle_template_arg): Eat an `E' after an · 804ddfd1
      samuel authored
      	<expression>.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36153 138bc75d-0d04-0410-961f-82ee72b054a4
      804ddfd1
    • jason's avatar
      tweak · c405dc58
      jason authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36152 138bc75d-0d04-0410-961f-82ee72b054a4
      c405dc58
    • samuel's avatar
      * cp-demangle.c (demangle_type_ptr): Increment position past · e015a852
      samuel authored
      	pointer and reference characters.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36151 138bc75d-0d04-0410-961f-82ee72b054a4
      e015a852
    • samuel's avatar
      * cp-demangle.c (demangle_nv_offset): New function. · 2b6805b4
      samuel authored
      	(demangle_v_offset): Likewise.
      	(demangle_call_offset): Likewise.
      	(demangle_special_name): Update thunk demangling to comply with
      	ABI changes.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36150 138bc75d-0d04-0410-961f-82ee72b054a4
      2b6805b4
    • jason's avatar
      * cp-tree.def (BOUND_TEMPLATE_TEMPLATE_PARM): New tree code. · 1e93ca27
      jason authored
              (TEMPLATE_TEMPLATE_PARM): Adjust comment.
              * cp-tree.h (TYPE_BINFO): Adjust comment.
              (TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO): Likewise.
              (TEMPLATE_TYPE_PARM_INDEX): Likewise.
              (IS_AGGR_TYPE): Use BOUND_TEMPLATE_TEMPLATE_PARM instead.
              (TYPE_TEMPLATE_INFO): Likewise.
              (TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL): Likewise.
              * class.c (push_nested_class): Likewise.
              * decl.c (lookup_name_real): Likewise.
              (grokdeclarator): Likewise.
              (grok_op_properties): Likewise.
              (xref_tag): Likewise.
              (xref_basetypes): Likewise.
              * decl2.c (constructor_name_full): Likewise.
              (arg_assoc_template_arg): Add TEMPLATE_TEMPLATE_PARM case.
              (arg_assoc_type): Use BOUND_TEMPLATE_TEMPLATE_PARM instead.
              * error.c (dump_type): Split TEMPLATE_TEMPLATE_PARM case.
              (dump_type_prefix): Add BOUND_TEMPLATE_TEMPLATE_PARM.
              (dump_type_suffix): Likewise.
              * init.c (is_aggr_type): Use BOUND_TEMPLATE_TEMPLATE_PARM
              instead.
              (get_aggr_from_typedef): Likewise.
              * mangle.c (write_type): Split TEMPLATE_TEMPLATE_PARM case.
              (write_expression): Add BOUND_TEMPLATE_TEMPLATE_PARM.
              (write_template_parm): Likewise.
              (write_template_template_parm): Check tree code instead of
              using TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO.
              * method.c (build_overload_nested_name): Add
              BOUND_TEMPLATE_TEMPLATE_PARM.
              (process_overload_item): Split TEMPLATE_TEMPLATE_PARM case.
              * parse.y (bad_parm): Add BOUND_TEMPLATE_TEMPLATE_PARM.
              * pt.c (convert_template_argument): Check tree code instead of
              using TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO.
              (for_each_template_parm_r): Split TEMPLATE_TEMPLATE_PARM case.
              (for_each_template_parm): Adjust comment.
              (tsubst): Add BOUND_TEMPLATE_TEMPLATE_PARM.  Reorganize.
              (tsubst_copy): Add BOUND_TEMPLATE_TEMPLATE_PARM.
              (unify): Add BOUND_TEMPLATE_TEMPLATE_PARM.  Reorganize.  Use
              template_args_equal to compare template template parameter cases.
              * ptree.c (print_lang_type): Add BOUND_TEMPLATE_TEMPLATE_PARM.
              * search.c (lookup_field_1): Use BOUND_TEMPLATE_TEMPLATE_PARM
              instead.
              * tree.c (copy_template_template_parm): Decide whether to create
              a TEMPLATE_TEMPLATE_PARM or BOUND_TEMPLATE_TEMPLATE_PARM node.
              (walk_tree): Add BOUND_TEMPLATE_TEMPLATE_PARM.
              (copy_tree_r): Likewise.
              * typeck.c (comptypes): Likewise.  Check tree code instead of
              using TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36149 138bc75d-0d04-0410-961f-82ee72b054a4
      1e93ca27
    • samuel's avatar
      In include: · 40e00cb0
      samuel authored
              * dyn-string.h: Adjust formatting.
              (dyn_string_insert_char): New macro.  New declaration.
      
      In libiberty:
      
              * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
              (substitution_def): Remove template_parm_number.
              (NOT_TEMPLATE_PARM): Remove.
              (result_insert_string): New macro.
              (result_insert): Likewise.
              (result_insert_char): Likewise.
              (substitution_add): Remove last parameter.  Don't store template
              parm number.
              (BFT_NO_RETURN_TYPE): Define as NULL.
              (demangle_encoding): Adjust call to demangle_bare_function_type.
              (demangle_name): Adjust substitution.  Adjust call to
              substitution_add.
              (demangle_prefix): Adjust call to substitution_add.
              (demangle_identifier): Handle anonymous namespaces.
              (demangle_operator_name): Change demangling of vendor-extended
              operator to match ABI changes.
              (demangle_type_ptr): Change parameters.  Make recursive.  Handle
              substitutions here.
              (demangle_type): Adjust calls to demangle_template_param,
              substitution_add, and demangle_type_ptr.  Fix substitution of
              templated types.
              (demangle_function_type): Change parameter to a pointer.
              (demangle_bare_function_type): Likewise.  Adjust insertion point.
              (demangle_template_param): Remove last parameter.
              (demangle_expr_primary): Remove unused variable.  Adjust call to
              demangle_template_param.
              (is_mangled_char): Accept `$' and `.'.
              * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
              * dyn-string.c (dyn_string_insert_char): New function.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36148 138bc75d-0d04-0410-961f-82ee72b054a4
      40e00cb0
    • jason's avatar
      * decl.c (finish_function): Move the code for handling functions · a084c69e
      jason authored
              marked with the constructor and destructor attributes inside the
              expand_p block.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36147 138bc75d-0d04-0410-961f-82ee72b054a4
      a084c69e
    • jason's avatar
      * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it. · 109a9026
      jason authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36146 138bc75d-0d04-0410-961f-82ee72b054a4
      109a9026
  2. 04 Sep, 2000 22 commits
  3. 03 Sep, 2000 6 commits
    • green's avatar
      Configure changes required for zlib. · add841d2
      green authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36122 138bc75d-0d04-0410-961f-82ee72b054a4
      add841d2
    • green's avatar
      Sun Sep 3 12:37:12 2000 Anthony Green <green@redhat.com> · 4583874f
      green authored
      	* configure.in: Add TARGET_LIBRARY conditional.
      	* configure: Rebuilt.
      	* Makefile.am: If we're building a build host library, call the
      	library libz.a and don't use libtool.
      	* Makefile.in: Rebuilt.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36121 138bc75d-0d04-0410-961f-82ee72b054a4
      4583874f
    • rearnsha's avatar
      * arm.c (final_prescan_insn): If the form of a jump insn isn't · 5e3840e1
      rearnsha authored
      recognized, don't try to conditionally execute it.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36120 138bc75d-0d04-0410-961f-82ee72b054a4
      5e3840e1
    • denisc's avatar
      * config/avr/avr.md ("*tablejump_lib"): New pattern. · 7b078663
      denisc authored
      	(call_value_insn): Right length claculation.
      	(call_insn): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36119 138bc75d-0d04-0410-961f-82ee72b054a4
      7b078663
    • law's avatar
      Daily bump. · 1424ee99
      law authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36118 138bc75d-0d04-0410-961f-82ee72b054a4
      1424ee99
    • denisc's avatar
      * config/avr/avr-protos.h, config/avr/avr.c (unique_section, · 37ac04dc
      denisc authored
      	gas_output_limited_string, gas_output_ascii, output_movqi,
      	output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
      	out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
      	out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
      	ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
      	lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
      	out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
      	Add "const" as needed to remove warnings.
      
      	* config/avr/avr.c (avr_override_options, avr_init_once,
      	function_prologue, function_epilogue, frame_pointer_required_p,
      	class_likely_spilled_p, order_regs_for_local_alloc,
      	avr_address_cost, avr_ret_register): Use K&R style arguments.
      	(initial_elimination_offset, gas_output_limited_string):
      	Remove ATTRIBUTE_UNUSED from the used arguments.
      	(output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
      	Use local variables src, dest, base to access operands[].
      	Rename reg_dest to reg_src if that's what it is.
      	(output_movhi, output_movsisf): Optimize loading 8-bit immediate
      	constants to LD_REGS if reg_was_0.
      	(output_reload_insisf): Change arg 3 to insn length and set it.
      	(out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
      	access to 16-bit I/O register pairs.
      	(avr_address_cost): Lower cost for the above case.
      	(out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
      	may be clobbered, also for LD_REGS.
      	(adjust_insn_length): Correct insn length for iorhi3 and iorsi3
      	with a CONST_INT.
      
      	* config/avr/avr.h (PTRDIFF_TYPE): Make signed.
      
      	* config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
      	macro to test_hard_reg_class function.
      	(*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
      	for loading immediate constants to LD_REGS.
      	(andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36117 138bc75d-0d04-0410-961f-82ee72b054a4
      37ac04dc
  4. 02 Sep, 2000 3 commits