- 11 Jul, 2001 35 commits
-
-
* Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h. * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug hooks directly. * dbxout.c (dbx_debug_hooks): Add new hooks. (dbxout_start_new_source_file): Rename dbxout_start_source_file, make static. (dbxout_resume_previous_source_file): Rename dbxout_end_source_file, make static. * dbxout.h (dbxout_start_new_source_file, dbxout_resume_previous_source_file): Delete. * debug.c (do_nothing_debug_hooks): Add new hooks. (debug_nothing_init_finish): Rename debug_nothing_file_charstar. (debug_nothing_int_charstar, debug_nothing_int): New. * debug.h (gcc_debug_hooks): New hooks define, undef, start_source_file and end_source_file. (debug_nothing_init_finish): Rename debug_nothing_file_charstar. (debug_nothing_int_charstar, debug_nothing_int): New. * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. (dwarf2out_start_source_file, dwarf2out_end_source_file, dwarf2out_define, dwarf2out_undef): Make static. * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file, dwarf2out_define, dwarf2out_undef): Remove. * dwarfout.c (dwarf_debug_hooks): Add new hooks. (dwarfout_start_source_file, dwarfout_end_source_file, dwarfout_define, dwarfout_undef): Make static. (dwarfout_start_source_file_check, dwarfout_end_source_file_check): New. (dwarfout_define, dwarfout_finish): Update. * dwarfout.h (dwarfout_start_new_source_file, dwarfout_resume_previous_source_file, dwarfout_define, dwarfout_undef): Remove. * sdbout.c (sdb_debug_hooks): Add new hooks. (sdbout_start_new_source_file): Rename sdbout_start_source_file, make static. (sdbout_resume_previous_source_file): Rename sdbout_end_source_file, make static, take an arg. * sdbout.h (sdbout_start_new_source_file, sdbout_resume_previous_source_file): Delete. * toplev.c (debug_start_source_file, debug_end_source_file, debug_define, debug_undef): Delete. * toplev.h (debug_start_source_file, debug_end_source_file, debug_define, debug_undef): Delete. * java/jcf-parse.c: Include debug.h. (parse_class_file): Update to use debug hooks directly. * java/Make-lang.in (jcf-parse.o): Depend on debug.h. From-SVN: r43952
Neil Booth committed -
* alias.c (set_mem_alias_set): New function. * rtl.h (set_mem_alias_set): Declare it. * builtins.c (expand_builtin_return_addr): Call it instead of using MEM_ALIAS_SET accessor. (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise. (get_memory_rtx, expand_builtin_va_arg): Likewise. (expand_builtin_va_copy):Likewise. * caller-save.c (setup_save_areas): Likewise. * calls.c (compute_argument_addresses): Likewise. * explow.c (set_mem_attributes): Likewise. * expr.c (emit_single_push_insn, emit_push_insn): Likewise. (expand_assignment, store_constructor_field, store_field): Likewise. (expand_expr_unaligned): Likewise. * function.c (assign_stack_temp_for_type): Likewise. (put_reg_into_stack, gen_mem_addressof): Likewise. * ifcvt.c (noce_try_cmove_arith): Likewise. * reload1.c (reload, alter_reg): Likewise. * config/alpha/alpha.c (get_aligned_mem): Likewise. (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise. (alpha_expand_unaligned_store): Likewise (alpha_expand_unaligned_load_words): Likewise. (alpha_expand_unaligned_store_words): Likewise. (alpha_expand_block_clear, alpha_expand_prologue): Likewise. (alpha_expand_epilogue): Likewise. * config/arc/arc.c (arc_setup_incoming_varargs): Likewise. * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise. * config/i386/i386.c (legitimize_pic_address): Likewise. * config/i960/i960.c (setup_incoming_varargs): Likewise. * config/ia64/ia64.c (spill_restore_mem): Likewise. * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise. * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise. * config/mips/mips.c (mips_va_arg): Likewise. * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise. * config/pa/pa.c (hppa_builtin_saveregs): Likewise. * config/rs6000/rs6000.c (rs6000_emit_move): Likewise. (setup_incoming_varargs, rs6000_va_arg): Likewise. (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise. (rs6000_emit_epilogue): Likewise. * config/sh/sh.c (sh_builtin_saveregs): Likewise. * config/sparc/sparc.c (sparc_va_arg): Likewise. * config/v850/v850.c (v850_va_arg): Likewise. From-SVN: r43951
Richard Kenner committed -
* flow.c (merge_blocks_move_successor_nojumps): Do not crash when fallthru edge is present. (mege_blocks): Handle case where creation of jump insn is required. * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP, CLEANUP_POST_REGSTACK): New constants. * except.c (finish_eh_generation): Update call of cleanup_cfg, * jump.c (rtx_renumbered_equal_p): Handle 't' fields. * output.h (cleanup_cfg): Update prototype. * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize * sibcall.c (optimize_sibling_and_tail_recursive_call): Update cleanup_cfg call; kill missleading comment. * toplev.c (rest_of_compilation): Update all cleanup_cfg calls. * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode parameter; control optimizations performed using it. (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb): New functions. From-SVN: r43950
Jan Hubicka committed -
2001-07-11 Phil Edwards <pme@sources.redhat.com> * docs/doxygen/run_doxygen: Don't keep output from previous run. * docs/doxygen/user.cfg.in: Tweaks. * include/bits/c++config: Documentation comments for Doxygen. * include/bits/char_traits.h: Likewise. * include/bits/limits_generic.h: Likewise. * include/bits/std_stdexcept.h: Likewise. * include/bits/stl_pair.h: Likewise. * libsupc++/exception: Likewise. * libsupc++/new: Likewise. * libsupc++/typeinfo: Likewise. * libmath/Makefile.am: Update and correct copyright. From-SVN: r43948
Phil Edwards committed -
* pa.c (pa_output_function_prologue): Delete prototype. Make function extern. * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to pa_output_function_prologue. * pa-protos.h (pa_output_function_prologue): New prototype. From-SVN: r43947
John David Anglin committed -
2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com> * g77.f-torture/execute/intrinsic77.f: New test. From-SVN: r43946
David Billinghurst committed -
stmt.c (emit_case_nodes): Widen high and low instead of new_bound and low to get correct sign extension... * stmt.c (emit_case_nodes): Widen high and low instead of new_bound and low to get correct sign extension in low+high test. From-SVN: r43945
John David Anglin committed -
* gcov.c (arcdata): Use gcov_type to fix branch percentage for large hit count. From-SVN: r43944
Janis Johnson committed -
From-SVN: r43943
Janis Johnson committed -
* profile.c (branch_prob): Fix .bbg info for computed gotos and C++ EH code. From-SVN: r43942
Janis Johnson committed -
* stmt.c (parse_output_constraint): New function, split out from ... (expand_asm_operands): ... here. Use parse_output_constraint. * tree.h (parse_output_constraint): Declare it. * semantics.c (finish_asm_stmt): Mark the output operands to an asm addressable, if necessary. From-SVN: r43941
Mark Mitchell committed -
* bitmap.c: Comment some functions; fiddle whitespace. (bitmap_free): Don't export. (bitmap_element_allocate): Use memset. * bitmap.h (bitmap_free): Don't declare. From-SVN: r43940
Richard Henderson committed -
* gcse.c, lcm.c, sched-deps.c: s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g * flow.c (flow_loops_find): Free dom if we found no loops, since we aren't going to save it. * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are done. From-SVN: r43938
Daniel Berlin committed -
From-SVN: r43937
Jeffrey A Law committed -
* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version #ifndef DWARF2_DEBUGGING_INFO. From-SVN: r43936
Richard Kenner committed -
From-SVN: r43935
Ben Elliston committed -
* gcc.c-torture/compile/20010711-2.c: New tests. From-SVN: r43934
Richard Sandiford committed -
From-SVN: r43933
Richard Sandiford committed -
From-SVN: r43932
Richard Sandiford committed -
mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparison is implemented with GTU. * config/mips/mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparison is implemented with GTU. From-SVN: r43931
Richard Sandiford committed -
* mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for constant addresses. (call_internal2): Likewise. (call_value_internal1): Likewise. (call_value_internal2): Likewise. (call_value_multiple_internal1): Likewise. (call_value_multiple_internal2): Likewise. Co-Authored-By: H.J. Lu <hjl@gnu.org> From-SVN: r43930
Richard Sandiford committed -
2001-07-11 Ben Elliston <bje@redhat.com> PR c++/80 * decl.c (finish_enum): New "attributes" argument; pass it to cplus_decl_attributes. Use a narrower type if the enum is packed. * cp-tree.h (finish_enum): Adjust prototype. * parse.y (enum_head): New non-terminal. (structsp): Use it. Enums now may be preceded or followed by optional attributes -- pass their chained tree to finish_enum(). * pt.c (tsubst_enum): Pass NULL_TREE for the new argument. From-SVN: r43929
Ben Elliston committed -
2001-07-11 Ben Elliston <bje@redhat.com> * g++.old-deja/g++.other/enum5.C: New test. From-SVN: r43928
Ben Elliston committed -
2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com> * lang-specs.h: Forbit the use if `-femit-class-file{s}' without `-fsyntax-only.' Fixes PR java/3248 2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com> * jcf-io.c (find_class): Clarified error message. Fixes PR java/2603 2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.h (INNER_ENCLOSING_SCOPE_CHECK): No `this' is fine if the current function is static. Fixes PR java/1970 2001-07-09 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (patch_method_invocation): Add enclosing context to ctor calls if necessary. Fixes PR java/2953 2001-07-09 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (resolve_package): Abort if qualified expression member isn't right. (qualify_ambiguous_name): Don't qualify as type if `this' in use. Fixes PR java/1391 (http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00701.html ) From-SVN: r43927
Alexandre Petit-Bianco committed -
From-SVN: r43925
GCC Administrator committed -
* pt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope variables. From-SVN: r43924
Mark Mitchell committed -
From-SVN: r43922
Anthony Green committed -
From-SVN: r43921
Kazu Hirata committed -
From-SVN: r43920
Mike Stump committed -
From-SVN: r43919
Richard Kenner committed -
2001-07-10 Kazu Hirata <kazu@hxi.com> * calls.c (emit_library_call_value_1): Fix a comment typo. * dwarf2out.c (mem_loc_descriptor): Likewise. * config/i386/i386.c (ix86_expand_aligntest): Likewise. From-SVN: r43917
Kazu Hirata committed -
2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com> * simplify-rtx.c: (simplify_subreg) Fix typo in comment From-SVN: r43916
David Billinghurst committed -
libjava: 2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com> * Makefile.am: Added `java/lang/ThreadLocal.java'. * Makefile.in: Regenerate. * java/lang/ThreadLocal.java: Initial import. libjava/testsuite: 2001-07-10 Alexandre Petit-Bianco <apbianco@readhat.com> * libjava.lang/TLtest.java: New file. * libjava.lang/TLtest.out: New file. (http://gcc.gnu.org/ml/java-patches/2001-q3/msg00042.html ) From-SVN: r43915
Alexandre Petit-Bianco committed -
* Makefile.in: Add support for regex code. * regex.c: New file. From-SVN: r43914
Jeff Johnston committed -
* xregex.h: New file to support libiberty regex. * xregex2.h: Ditto. From-SVN: r43913
Jeff Johnston committed
-
- 10 Jul, 2001 5 commits
-
-
* recog.c (offsettable_address_p): Handle LO_SUM case. * config/mips/mips.c (double_memory_operand): Use adjust_address_nv instead of plus_constant. From-SVN: r43912
Richard Kenner committed -
* reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge, fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS. From-SVN: r43911
Stephane Carrez committed -
2001-07-10 Toon Moene <toon@moene.indiv.nluug.nl> * libI77/fio.h: Revert type of url from off_t to int. * libI77/dfe.c (c_dfe): Cast offset expression in FSEEK to off_t. * libI77/due.c (c_due): Ditto. (e_rdue): Ditto. * libI77/ftell_.c (G77_ftell_0): Cast result of FTELL to integer. (G77_fseek_0): Cast offset argument of FSEEK to off_t. From-SVN: r43910
Toon Moene committed -
* config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use adjust_address_nv instead of plus_constant. From-SVN: r43909
Richard Kenner committed -
* Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o, dwarf2out.o): Depend on debug.h, wrap long lines. * dbxout.c: Include debug.h. (dbx_debug_hooks): New. (dbxout_init): Make static, take just 2 args. (dbxout_finish): Make static. * dbxout.h (dbxout_init, dbxout_finish): Delete. * debug.c: New file. * debug.h: New file. * dwarf2out.c: Include debug.h. (dwarf2_debug_hooks): New. (dwarf2out_init): Make static. (dwarf2out_finish): Make static, take 2 args. * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete. * dwarfout.c: Include debug.h. (dwarf_debug_hooks): New. (dwarfout_init): Make static. (dwarfout_finish): Make static, take 2 args. * dwarfout.h (dwarfout_init, dwarfout_finish): Delete. * sdbout.c: Include debug.h. (sdb_debug_hooks): New. (sdbout_init): Make static, take 2 args. * sdbout.h (sdbout_init): Delete. * toplev.c: Include debug.h. (debug_hooks): New. (compile_file): Set deubg_hooks based on command line options. Use the hooks unconditionally rather than conditional compilation. From-SVN: r43908
Neil Booth committed
-