1. 05 Sep, 2000 3 commits
    • In include: · 31e0ab1f
              * 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.
      
      From-SVN: r36148
      Alex Samuel committed
    • decl.c (finish_function): Move the code for handling functions marked with the… · c9672d45
      decl.c (finish_function): Move the code for handling functions marked with the constructor and destructor...
      
              * decl.c (finish_function): Move the code for handling functions
              marked with the constructor and destructor attributes inside the
              expand_p block.
      
      From-SVN: r36147
      Mark Elbrecht committed
    • * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it. · af7f0fde
      From-SVN: r36146
      Craig Newell committed
  2. 04 Sep, 2000 22 commits
  3. 03 Sep, 2000 6 commits
    • Configure changes required for zlib. · 3c809ba4
      From-SVN: r36122
      Anthony Green committed
    • configure.in: Add TARGET_LIBRARY conditional. · e093c992
      Sun Sep  3 12:37:12 2000  Anthony Green  <green@redhat.com>
      
      	* 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.
      
      From-SVN: r36121
      Anthony Green committed
    • arm.c (final_prescan_insn): If the form of a jump insn isn't recognized, don't… · 4e67550b
      arm.c (final_prescan_insn): If the form of a jump insn isn't recognized, don't try to conditionally execute it.
      
      * arm.c (final_prescan_insn): If the form of a jump insn isn't
      recognized, don't try to conditionally execute it.
      
      From-SVN: r36120
      Richard Earnshaw committed
    • avr.md ("*tablejump_lib"): New pattern. · 150f4100
      	* config/avr/avr.md ("*tablejump_lib"): New pattern.
      	(call_value_insn): Right length claculation.
      	(call_insn): Likewise.
      
      From-SVN: r36119
      Denis Chertykov committed
    • Daily bump. · 2c9f8482
      From-SVN: r36118
      Jeff Law committed
    • avr-protos.h, avr.c (unique_section, [...]): Add "const" as needed to remove warnings. · 5fecfd8d
      	* config/avr/avr-protos.h, config/avr/avr.c (unique_section,
      	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.
      
      From-SVN: r36117
      Marek Michalkiewicz committed
  4. 02 Sep, 2000 8 commits
    • avr.md ("*negsi2"): substitute %@ to __zero_reg__ · bad3869a
      	* config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
      	* config/avr/libgcc.S: Lost part of the previous patch.
      
      From-SVN: r36116
      Marek Michalkiewicz committed
    • Daily bump. · e8d228dc
      From-SVN: r36115
      Jeff Law committed
    • Oops, committed with wrong date · 10ad78a0
      From-SVN: r36114
      Alexandre Oliva committed
    • configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian crosses... · afd7db25
      * configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian
      crosses, but add gcc/include to the header search path for them.
      
      From-SVN: r36113
      Alexandre Oliva committed
    • gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t object… · 802a8181
      gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t object before calling pthread_mutex_init.
      
      2000-08-31  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
      
      	* gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
      	object before calling pthread_mutex_init.
      
      From-SVN: r36112
      J. David Anglin committed
    • t-elf, [...]: New files. · 1a66cd67
      * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
      config/sh/crtn.asm: New files.
      * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
      (crt1.o, crti.o, crtn.o): New targets.
      * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
      sh/t-elf.
      * configure: Rebuilt.
      * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
      STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
      * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
      Undefine for config/elfos.h to redefine.
      (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
      
      
      * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
      legitimize_pic_address, output_pic_addr_const): Declare.
      * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
      (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
      (TARGET_SWITCHES): New switch -mprefergot.
      (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
      (PIC_OFFSET_TABLE_REGNUM): Define.
      (GOT_SYMBOL_TABLE): Likewise.
      (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
      (ENCODE_SECTION_INFO): Define.
      (FINALIZE_PIC): New macros.
      (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
      (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
      * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
      (prepare_move_operands): Call emit_pic_move or
      emit_pic_const_move if appropriate.
      (output_far_jump): For PIC, use braf and output long offset.
      (machine_dependent_reorg):
      (sh_expand_prologue): Save and initialize the PIC register.
      (sh_expand_epilogue): Restore it.
      (initial_elimination_offset): Account for it.
      (nonpic_symbol_mentioned_p): New function.
      (legitimize_pic_address): Likewise.
      (output_pic_addr_const): Likewise.
      * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
      (call, call_value): Use them.
      (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
      symPLT_label2reg): New expands.
      * invoke.texi (SH Options): Document -mprefergot.
      
      From-SVN: r36111
      Alexandre Oliva committed
    • rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro. · 6462bb43
      * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
      * gcse.c (hash_string_1): New function.
      (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
      (expr_equiv_p) <ASM_OPERANDS>: Likewise.
      * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
      (canon_hash_string): New function.
      (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
      (exp_equiv_p) <ASM_OPERANDS>: Likewise.
      (fold_rtx): Use ASM_OPERANDS accessor macros.
      * emit-rtl.c (copy_insn_1): Likewise.
      * integrate.c (copy_rtx_and_substitute): Likewise.
      * stmt.c (expand_asm_operands): Likewise.  Give an
      ASM_OPERANDS rtx the mode of the output reg being set from it.
      
      From-SVN: r36110
      Alexandre Oliva committed
    • * gcc.c-torture/compile/20000827-1.c: New test. · 298ec8f4
      From-SVN: r36109
      Alexandre Oliva committed
  5. 01 Sep, 2000 1 commit