- 29 Jan, 2000 12 commits
-
-
From-SVN: r31689
Ulrich Drepper committed -
From-SVN: r31688
Hans-Peter Nilsson committed -
* new2.cc (operator delete[]): Use operator delete, don't assume implementation. From-SVN: r31687
Nathan Sidwell committed -
* class.c (build_vtbl_initializer): Add argument to build_vtable_entry call. From-SVN: r31686
Nathan Sidwell committed -
From-SVN: r31685
Jeff Law committed -
* cp-tree.def (THUNK_DECL): Discuss vcall indices. * cp-tree.h (BINFO_VIRTUALS): Update documentation. (BF_DELTA): New macro. (BF_VCALL_INDEX): Likewise. (BF_FN): Likewise. (THUNK_VCALL_OFFSET): Likewise. (make_thunk): Change prototype. * class.c (build_vtable_entry): Integrate build_vtable_entry_for_fn. Handle vcall indices. (build_vtable_entry_for_fn): Remove. (set_rtti_entry): Handle vcall indices. Use BF_DELTA, BF_VCALL_INDEX, BF_FN. (modify_vtable_entry): Integrate common code from modify_one_vtable and dfs_fixup_vtable_deltas. (add_virtual_function): Set BF_VCALL_INDEX. (build_vtbl_initializer): Simplify. Use BF_DELTA, BF_VCALL_INDEX, and BF_FN. (modify_one_vtable): Simplify. (dfs_fixup_vtable_deltas): Likewise. (override_one_vtable): Use BF_DELTA, BF_VCALL_INDEX, BF_FN. * method.c (make_thunk): Handle vcall indices. From-SVN: r31684
Mark Mitchell committed -
2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries. * c4x.c: Define the optab rtx values. (c4x_add_gc_roots): Add the ggc roots for these optab rtx values. (c4x_emit_libcall): Use new optab rtx values. (c4x_emit_libcall3): Likewise. (c4x_emit_libcall_mulhi): Likewise. * c4x-protos.h: Add prototypes for optab rtx values and change prototypes for above c4x_emit_libcall functions. From-SVN: r31683
Herman A.J. ten Brugge committed -
2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * c4x.c (c4x_output_ascii): Restrict line length of output when TI syntax is used. (c4x_function_prologue): Use regnames intead of float_reg_names when TI syntax is used. (c4x_function_epilogue): Likewise. (c4x_print_operand): Likewise. * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine. * c4x.md (set_high): Disable for TARGET_TI. From-SVN: r31682
Herman A.J. ten Brugge committed -
c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading of framepointer + constant to ADDR_REGS class. 2000-01-27 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading of framepointer + constant to ADDR_REGS class. * c4x.md (addqi3, addqi3_noclobber_reload): Update. * c4x.c (std_or_reg_operand): New function. * c4x-protos.h (std_or_reg_operand): Prototype it. From-SVN: r31681
Herman A.J. ten Brugge committed -
2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same object names as libgcc2.c. * libgcc.S: Use newly defined names. From-SVN: r31680
Herman A.J. ten Brugge committed -
Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz> * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New function. * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare. * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro. (FLOW_LOOP_LAST_BLOCK): Likewise. 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * basic-block.h (struct loop): New fields 'first' and 'last'. * flow.c (flow_loops_find): Compute loop->first and loop->last. (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG and loop->last to check for NOTE_INSN_LOOP_END. Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com> * predict.c (estimate_probability): Use the new FIRST and LAST fields of the loop descriptor rather than HEADER and LATCH. Also added missing break statements as well making some coding style modifications as suggested by Michael Hayes. From-SVN: r31679
Jason Eckhardt committed -
* gcconfig.h (DATASTART): Add missing extern declaration for data_start on powerpc. From-SVN: r31677
Anthony Green committed
-
- 28 Jan, 2000 18 commits
-
-
* flow.c (find_basic_blocks): Remove do_cleanup argument. Break out that code ... (cleanup_cfg): ... here. (commit_one_edge_insertion): Detect a return instruction being emitted to an edge. Emit a barrier following; clear fallthru. (commit_edge_insertions): Verify CFG consistency. * function.c (expand_function_start): Kill unused variable. (expand_function_end): Likewise. (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge to insert the epilogue. * gcse.c (gcse_main): Adjust for find_basic_blocks change. (delete_null_pointer_checks): Likewise. * output.h: Likewise. * reg-stack.c (reg_to_stack): Likewise. * toplev.c (rest_of_compilation): Likewise. Run thread_prologue_and_epilogue_insns after rebuilding the CFG. From-SVN: r31676
Richard Henderson committed -
* haifa-sched.c (schedule_insns): Don't recompute reg info after reload. From-SVN: r31675
Richard Henderson committed -
* Makefile.in (flow.o): Revert 24 Jan change. * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode FUNCTION_VALUE result to DECL_RESULT's mode. From-SVN: r31674
Richard Henderson committed -
* configure.in: Make --enable-cpplib the default. * configure: Regenerate. * gcc.dg/990119-1.c: No longer expected to fail. From-SVN: r31673
Zack Weinberg committed -
* Makefile.in: Rebuilt. * Makefile.am (LIBFFIINCS): Added MULTIBUILDTOP. From-SVN: r31672
Tom Tromey committed -
From-SVN: r31671
Mike Stump committed -
From-SVN: r31670
Bernd Schmidt committed -
* diagnostic.c (build_message_string, output_printf, line_wrapper_printf): Add ATTRIBUTE_PRINTF_*. (build_location_prefix): Fix non-literal format string. From-SVN: r31669
Kaveh R. Ghazi committed -
* cp-tree.h (new_abi_rtti_p): New macro. (emit_support_tinfos): Prototype new function. (tinfo_decl_p): Likewise. (emit_tinfo_decl): Likwise. * rtti.c (TINFO_PSEUDO_TYPE, TINFO_VTABLE_DECL): New accessor macros. (doing_runtime): New local static. (init_rtti_processing): Add new-abi initializer. (get_tinfo_decl): Add new-abi logic. (tinfo_from_decl): Likewise. (build_dynamic_cast_1): Likewise. (qualifier_flags): New static function. (tinfo_base_init): Likewise. (generic_initializer): Likewise. (ptr_ref_initializer): Likewise. (ptmd_initializer): Likewise. (class_hint_flags): Likewise. (class_initializer): Likewise. (synthesize_tinfo_var): Likewise. (create_real_tinfo_var): Likewise. (create_pseudo_type_info): Likewise. (get_vmi_pseudo_type_info): Likewise. (create_tinfo_types): Likewise. (emit_support_tinfos): New global function. (tinfo_decl_p): New global predicate. (emit_tinfo_decl): New global function. * class.c (set_rtti_entry): Generalize for old and new rtti. (build_vtbl_initializer): Likewise. * decl2.c (finish_file): Likewise. From-SVN: r31668
Nathan Sidwell committed -
* compile/20000127-1.c: New test. * execute/991228-1.c: New test. From-SVN: r31667
Jakub Jelinek committed -
* fstream.h (ifstream::ifstream): Add ios::in to mode. (ifstream::open): Likewise. (ofstream::ofstream): Add ios::out to mode. (ofstream::open): Likewise. From-SVN: r31666
Martin v. Löwis committed -
From-SVN: r31664
Jeff Law committed -
* cp/optimize.c (remap_decl): Add walk_tree calls for DECL_SIZE (t) and TYPE_MAX_VALUE (TYPE_DOMAIN (TREE_TYPE (t))). From-SVN: r31663
Jim Wilson committed -
From-SVN: r31662
Richard Henderson committed -
From-SVN: r31661
Mike Stump committed -
From-SVN: r31660
Andrew Hobson committed -
* dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h. Don't declare malloc, calloc, free, atol, atoi, or errno. (errno.h was already being included.) From-SVN: r31659
Zack Weinberg committed -
From-SVN: r31658
Zack Weinberg committed
-
- 27 Jan, 2000 10 commits
-
-
From-SVN: r31656
Mike Stump committed -
* decl.c (pushdecl): Fix up shadow warnings with respect to implicit for scopes. Fixes for3.C From-SVN: r31655
Mike Stump committed -
* cppinit.c (cpp_handle_option): Recognize C++ comments under -std=gnu89. * cpplib.c (skip_block_comment, skip_line_comment): Split code out of... (skip_comment) ... here. Permit C++ comments in system headers always. Warn about C++ comments in user code under -std=gnu89 -pedantic. (copy_comment): Use skip_comment. (cpp_skip_hspace, cpp_get_token): skip_comment can no longer return EOF. (consider_directive_while_skipping, do_else, do_endif): Call validate_else unconditionally. (validate_else): Check CPP_PEDANTIC here. Accept non-comment text after the conditional in a system header. * cpplib.h (struct cpp_buffer): Add flag warned_cplusplus_comments. From-SVN: r31654
Zack Weinberg committed -
I made them up all by myself. From-SVN: r31653
Zack Weinberg committed -
From-SVN: r31652
Zack Weinberg committed -
* emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too. Use unshare_all_rtl_1. (unshare_all_rtl_again): New function. (unshare_all_rtl_1): New function split out of unshare_all_rtl. * function.c (purge_addressof_1): Use unshare_all_rtl_again rather than resetting the 'used' flags ourself. * toplev.c (rest_of_compilation): Add current_function_decl to the unshare_all_rtl call. * tree.h: Prototype unshare_all_rtl. * rtl.h: Prototype unshare_all_rtl_again here. From-SVN: r31651
Geoff Keating committed -
* genoutput.c (output_prologue): Include ggc.h in generated files. * Makefile.in (insn-output.o): Depends on ggc.h. From-SVN: r31650
Geoff Keating committed -
Co-Authored-By: Hans-Peter Nilsson <hp@bitrange.com> From-SVN: r31648
Ian Dall committed -
2000-01-27 Andrew Haley <aph@cygnus.com> * jcf-write.c (emit_goto): RESERVE 3 bytes for insn. (emit_if): Ditto. (emit_jsr): Ditto. From-SVN: r31647
Andrew Haley committed -
* gthr-posix.h: Fix typo; compatibily -> compatibility. * gthr-single.h: Likewise. * gthr-solaris.h: Likewise. * gthr-vxworks.h: Likewise. * gthr-win32.h: Likewise. * gthr.h: Likewise. From-SVN: r31646
Fred Fish committed
-