- 05 Sep, 2000 3 commits
-
-
* 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 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 -
From-SVN: r36146
Craig Newell committed
-
- 04 Sep, 2000 22 commits
-
-
Fix for PR libgcj/230: * mark.c (GC_mark_from_mark_stack): Remove call to GC_debug_object_start. * gc_priv.h (GC_debug_object_start): Remove prototype. From-SVN: r36145
Anthony Green committed -
* java/util/zip/ZipFile.java (ZipFile): Delete file when opened in DELETE mode. From-SVN: r36144
Tom Tromey committed -
Fix for PR java.io/203: * java/io/File.java (createTempFile): Obey directory argument. Use java.io.tmpdir if needed. Don't leave FileDescripators open. * java/lang/natSystem.cc (init_properties): Use TMPDIR environment variable to set java.io.tmpdir on non-WIN32 systems. From-SVN: r36143
Anthony Green committed -
From-SVN: r36142
Anthony Green committed -
* java/io/File.java (deleteOnExit): New method. * gnu/gcj/runtime/FileDeleter.java: New class. * java/lang/natRuntime.cc (exit): Call FileDeleter.deleteOnExitNow() * Makefile.am: Add FileDeleter.java. * Makefile.in: Rebuilt. From-SVN: r36141
Anthony Green committed -
* Makefile.in (STAGESTUFF): Remove libgcc. (stage1-start, stage2-start, stage3-start): Copy the contents of the libgcc directory explicitly. (mostlyclean): Clean libgcc. From-SVN: r36139
Andreas Schwab committed -
2000-09-04 Andrew Haley <aph@redhat.com> * dwarf2out.c: (stack_adjust_offset): New prototype. From-SVN: r36138
Andrew Haley committed -
From-SVN: r36137
Nathan Sidwell committed -
From-SVN: r36136
Nathan Sidwell committed -
From-SVN: r36135
Nathan Sidwell committed -
* pt.c (lookup_template_class): Remove abort. * tree.c (get_type_decl): Allow error_mark_node. From-SVN: r36134
Nathan Sidwell committed -
From-SVN: r36133
Nathan Sidwell committed -
* decl2.c (arg_assoc): Deal with COMPONENT_REFs inside TEMPLATE_ID_EXPRs. From-SVN: r36132
Nathan Sidwell committed -
* combine.c (make_extraction): Fix rtx_cost comparison to match the comment. From-SVN: r36131
Jan Hubicka committed -
From-SVN: r36130
Jakub Jelinek committed -
* i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf, umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1): Add '*' to insn pattern name. From-SVN: r36129
Jan Hubicka committed -
cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context, use posn - 1 to index into tokens array. * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context, use posn - 1 to index into tokens array. (maybe_paste_with_next): Adjust caller. * gcc.dg/cpp/paste8.c: New test. From-SVN: r36128
Jakub Jelinek committed -
From-SVN: r36127
Jeff Law committed -
* Makefile.in: Rebuilt. * Makefile.am (GCJCOMPILE): Use -fclasspath, not the CLASSPATH environment variable. From-SVN: r36126
Tom Tromey committed -
* operators.def (ALIGNOF_EXPR, MAX_EXPR, MIN_EXPR): Change new ABI mangling. From-SVN: r36125
Mark Mitchell committed -
From-SVN: r36124
Geoff Keating committed -
* config/rs6000/rs6000.h: Update various comments about XER_REGNO. (REGNO_REG_CLASS): Use symbolic register names. From-SVN: r36123
Geoff Keating committed
-
- 03 Sep, 2000 6 commits
-
-
From-SVN: r36122
Anthony Green committed -
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 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 -
* config/avr/avr.md ("*tablejump_lib"): New pattern. (call_value_insn): Right length claculation. (call_insn): Likewise. From-SVN: r36119
Denis Chertykov committed -
From-SVN: r36118
Jeff Law committed -
* 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
-
- 02 Sep, 2000 8 commits
-
-
* 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 -
From-SVN: r36115
Jeff Law committed -
From-SVN: r36114
Alexandre Oliva committed -
* 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 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 -
* 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. * 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 -
From-SVN: r36109
Alexandre Oliva committed
-
- 01 Sep, 2000 1 commit
-
-
fix-header.c (write_rbrac): Add putc and getc to list of functions to protect against prior definition as a... * fix-header.c (write_rbrac): Add putc and getc to list of functions to protect against prior definition as a macro. From-SVN: r36108
Fred Fish committed
-