OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago2000-04-08 Anthony Green <green@cygnus.com>
green [Sun, 9 Apr 2000 06:53:00 +0000 (06:53 +0000)]
2000-04-08  Anthony Green  <green@cygnus.com>

* include/posix-threads.h (_Jv_MutexUnlock): Replace
_JV_NOT_OWNER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33039 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (cp_tree_index): Add CPTI_COMPLETE_CTOR_IDENTIFIER.
mmitchel [Sun, 9 Apr 2000 06:44:20 +0000 (06:44 +0000)]
* cp-tree.h (cp_tree_index): Add CPTI_COMPLETE_CTOR_IDENTIFIER.
(complete_ctor_identifier): New macro.
(special_function_kind): Add sfk_copy_constructor and
sfk_assignment_operator.
(LOOKUP_HAS_IN_CHARGE): Remove.
(cons_up_default_function): Rename to ...
(implicitly_declare_fn): ... this.
* call.c (build_new_method_call): Add in-charge parameters for
constructors here.
* class.c (add_implicitly_declared_members): Change parameter name
from cant_have_assignment to cant_have_const_assignment.
Replace calls to cons_up_default_function to implicitly_declare_fn.
* cvt.c (ocp_convert): Use complete_ctor_identifier.
* decl.c (initialize_predefined_identifiers): Initialize it.
(start_function): Use DECL_CONSTRUCTOR_FOR_VBASE_P instead of
complex expression.
* init.c (expand_default_init): Don't calculate the in-charge
parameter here.
(build_new_1): Likewise.
* lex.c (cons_up_default_function): Move to method.c.
* method.c (synthesize_method): Use DECL_DESTRUCTOR_P.
(implicitly_declare_fn): New function.
* typeck.c (build_static_cast): Use complete_ctor_identifier.
(build_modify_expr): Likewise.
* typeck2.c (build_functional_cast): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33038 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-08 Anthony Green <green@cygnus.com>
green [Sun, 9 Apr 2000 05:41:56 +0000 (05:41 +0000)]
2000-04-08  Anthony Green  <green@cygnus.com>

* posix-threads.cc (_Jv_MutexLock): Moved back to posix-threads.h.
(_Jv_MutexUnlock): Ditto.
* include/posix-threads.h (_Jv_MutexLock): From posix-threads.cc.
(_Jv_MutexUnlock): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33037 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-08 Anthony Green <green@cygnus.com>
green [Sun, 9 Apr 2000 04:52:43 +0000 (04:52 +0000)]
2000-04-08  Anthony Green  <green@cygnus.com>

* java/lang/StringBuffer.java (ensureCapacity): Don't call Math::max.
(ensureCapacity_unsynchronized): New private method.
(append): Use ensureCapacity_unsynchronized.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33036 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago Under the new ABI, constructors don't return `this'.
mmitchel [Sun, 9 Apr 2000 04:28:33 +0000 (04:28 +0000)]
Under the new ABI, constructors don't return `this'.
* cp-tree.h (warn_reorder): Declare.
(special_function_kind): New enum.
(global_base_init_list): Remove declaration.
(emit_base_init): Don't return a value.
(check_base_init): Don't declare.
(is_aggr_typedef): Likewise.
* decl.c (check_special_function_return_type): New function.
(return_types): Remove.
(grokdeclarator): Use check_special_function_return_type.
(start_function): Don't initialize ctor_label under the new ABI.
(finish_construtor_body): Don't create a corresponding LABEL_STMT.
* init.c (begin_init_stmts): Move to top of file.
(finish_init_stmts): Likewise.
(warn_reorder): Don't declare.
(emit_base_init): Don't create a STMT_EXPR here.  Don't return a
value.
(check_base_init): Remove.
(is_aggr_typedef): Likewise.
(build_new_1): Don't use the return value of a constructor.
* semantics.c (setup_vtbl_ptr): Don't use the return value
of emit_base_init.
* typeck.c (check_return_expr): Don't magically convert return
statements into `return this' in constructors under the new ABI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33035 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in: Rebuilt.
tromey [Sun, 9 Apr 2000 04:13:27 +0000 (04:13 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* java/awt/IllegalComponentStateException.java: New file.
* java/awt/ItemSelectable.java: New file.
* java/awt/event/WindowEvent.java: Finished.
* java/awt/event/TextEvent.java: Finished.
* java/awt/event/ContainerEvent.java: New file.
* java/awt/Component.java (getX, getY): New methods.
* java/awt/event/PaintEvent.java: New file.
* java/awt/event/MouseEvent.java: New file.
* java/awt/ActiveEvent.java: New file.
* java/awt/event/KeyEvent.java: Finished.
* java/awt/event/ItemEvent.java: New file.
* java/awt/Adjustable.java: New file.
* java/awt/event/InputMethodEvent.java: New file.
* java/awt/event/InputEvent.java: Finished.
* java/awt/event/FocusEvent.java: New file.
* java/awt/event/MouseMotionAdapter.java: New file.
* java/awt/event/MouseAdapter.java: New file.
* java/awt/event/KeyAdapter.java: New file.
* java/awt/event/FocusAdapter.java: New file.
* java/awt/event/ContainerAdapter.java: New file.
* java/awt/event/ComponentEvent.java: Finished.
* java/awt/event/AdjustmentEvent.java: New file.
* java/awt/event/ComponentAdapter.java: New file.
* java/awt/event/ActionEvent.java: Finished.
* java/awt/event/MouseMotionListener.java: New file.
* java/awt/event/MouseListener.java: New file.
* java/awt/event/ItemListener.java: New file.
* java/awt/event/InputMethodListener.java: New file.
* java/awt/event/ContainerListener.java: New file.
* java/awt/event/FocusListener.java: New file.
* java/awt/event/ComponentListener.java: New file.
* java/awt/event/AWTEventListener.java: New file.
* java/awt/event/AdjustmentListener.java: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33034 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-08 Anthony Green <green@redhat.com>
green [Sun, 9 Apr 2000 01:26:20 +0000 (01:26 +0000)]
2000-04-08  Anthony Green  <green@redhat.com>

* java/lang/natObject.cc (_Jv_MonitorEnter): Only perform null
check when we have to.

* gcj/array.h: Mark elements(JArray<T>& x) and elements(JArray<T>*
x) as `inline'.

* java/util/StringTokenizer.java: Minor optimization.  Eliminates
one method call.

* java/util/Vector.java (VectorEnumeration.nextElement): Manually
inline hasMoreElements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33033 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * ssa.c (convert_to_ssa): Eliminate dead code when calling
samuel [Sun, 9 Apr 2000 01:16:44 +0000 (01:16 +0000)]
* ssa.c (convert_to_ssa): Eliminate dead code when calling
life_analysis.
(convert_from_ssa): Call compute_bb_for_insn before life_analysis.
(for_each_successor_phi): Change parameter to basic_block.
(coalesce_regs_in_successor_phi_nodes): Likewise.
(coalesce_regs_in_copies): Likewise.
(compute_coalesced_reg_partition): Use basic_block instead of index.
* rtl.h (convert_to_ssa): Delete.
(convert_from_ssa): Likewise.
(successor_phi_fn): Likewise.
(for_each_successor_phi): Likewise.
(in_ssa_form): Likewise.
* basic-block.h (convert_to_ssa): Moved from rtl.h.
(convert_from_ssa): Likewise.
(successor_phi_fn): Likewise.
(in_ssa_form): Likewise.
(for_each_successor_phi): Likewise.  Change parameter to basic_block.
* flow.c (calculate_global_regs_live): Pass a basic_block to
for_each_successor_phi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33032 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (cp_tree_index): Add CPTI_BASE_CTOR_IDENTIFIER,
mmitchel [Sun, 9 Apr 2000 00:27:16 +0000 (00:27 +0000)]
* cp-tree.h (cp_tree_index): Add CPTI_BASE_CTOR_IDENTIFIER,
CPTI_BASE_DTOR_IDENTIFIER, and CPTI_DELETING_DTOR_IDENTIFIER.
(base_ctor_identifier): New macro.
(base_dtor_identifier): Likewise.
(deleting_dtor_identifier): Likewise.
* decl.c: Don't include obstack.h.
(obstack_chunk_alloc): Don't define.
(obstack_chunk_free): Likewise.
(struct predefined_identifier): New type.
(initialize_predefined_identifiers): New function.
(init_decl_processing): Use it.
(debug_temp_inits): Remove.
(start_method): Don't call preserve_data.
(hack_incomplete_structures): Update comment.
* init.c (init_init_processing): Don't initialize
nelts_identifier.
(build_offset_rf): Remove dead code.
(build_delete): Use CLASSTYPE_N_BASECLASSES.
* search.c (init_search_processing): Don't initialize
vptr_identifier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33031 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (mark_used_reg): Use reg_set_p to determine if a register
rth [Sat, 8 Apr 2000 22:38:38 +0000 (22:38 +0000)]
    * flow.c (mark_used_reg): Use reg_set_p to determine if a register
        was modified in the current insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33030 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* arm/thumb.md: Delete.
rearnsha [Sat, 8 Apr 2000 14:47:04 +0000 (14:47 +0000)]
* arm/thumb.md: Delete.
* arm/thumb-protos.h: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33029 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoMerge changes from merged-arm-thumb-backend-branch onto trunk.
rearnsha [Sat, 8 Apr 2000 14:29:53 +0000 (14:29 +0000)]
Merge changes from merged-arm-thumb-backend-branch onto trunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33028 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sat, 8 Apr 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33023 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpp-nullchar.c: Remove test as embedded nulls
neil [Sat, 8 Apr 2000 05:09:33 +0000 (05:09 +0000)]
* cpp-nullchar.c:  Remove test as embedded nulls
cause problems.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33022 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * basic-block.h (conflict_graph_enum_fn): K&R fix.
ghazi [Sat, 8 Apr 2000 05:06:29 +0000 (05:06 +0000)]
    * basic-block.h (conflict_graph_enum_fn): K&R fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33021 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoCorrect merge conflict
neil [Sat, 8 Apr 2000 05:03:43 +0000 (05:03 +0000)]
Correct merge conflict

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33020 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.c (tree_expr_nonnegative_p): New function.
ghazi [Sat, 8 Apr 2000 04:45:18 +0000 (04:45 +0000)]
    * tree.c (tree_expr_nonnegative_p): New function.

        * tree.h (tree_expr_nonnegative_p): Declare.

        * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
        elide some sign_compare warnings.
        (build_conditional_expr): Likewise.

cp:
        * typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to elide
        some sign_compare warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33019 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
wehle [Sat, 8 Apr 2000 04:33:28 +0000 (04:33 +0000)]
* i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.

* i386.md (floathisf2, floathidf2, floathixf2): New patterns.
* i386.c (print_operand): Use the proper suffix for a 387 HImode
operand.  Abort if a 387 operand has an unsupported size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33018 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.dg/compare2.c: New test.
ghazi [Sat, 8 Apr 2000 04:17:59 +0000 (04:17 +0000)]
    * gcc.dg/compare2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33016 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.dg/cpp-nullchar.c: New test.
neil [Sat, 8 Apr 2000 04:15:20 +0000 (04:15 +0000)]
    * gcc.dg/cpp-nullchar.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33015 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpp-nullchar.c: New test.
neil [Sat, 8 Apr 2000 04:12:53 +0000 (04:12 +0000)]
* cpp-nullchar.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33014 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cppexp.c (parse_charconst): Null does not end character
neil [Sat, 8 Apr 2000 04:00:02 +0000 (04:00 +0000)]
* cppexp.c (parse_charconst): Null does not end character
constants.
* cppinit.c (ISTABLE): Null character handled as whitespace.
* cpplex.c (null_warning):  new function.
(skip_string): Emit warning if nulls encountered.
(_cpp_skip_hspace): Emit warning if nulls encountered.
(_cpp_lex_token): Emit warning if nulls encountered.  Drop
them.
* cpp.texi: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33013 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (loop_depth): Remove.
rth [Fri, 7 Apr 2000 23:33:47 +0000 (23:33 +0000)]
* flow.c (loop_depth): Remove.
(reg_next_use, cc0_live, mem_set_list): Replace with ...
(struct propagate_block_info): New.
(life_analysis): Don't allocate reg_next_use.
(propagate_block_delete_insn): Break out of propagate_block.
Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
(propagate_block_delete_libcall): Likewise.
(propagate_block): Create a propagate_block_info struct to pass
to subroutines.  Allocate one not two temporary regsets.  Don't
clobber memory for const calls.  Look for clobbers in
CALL_INSN_FUNCTION_USAGE.
(mark_set_regs): Recognize COND_EXEC.
(mark_set_reg): Break out of mark_set_1.
(mark_used_reg): Break out of mark_used_regs.
(mark_used_regs): Recognize COND_EXEC.
(insn_dead_p): Use propagate_block_info struct.
(libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
(find_auto_inc, try_pre_increment_1): Likewise.
(print_rtl_with_bb): Dump regs live at end too.
(count_reg_sets_1): Pass in loop_depth.
(count_reg_sets, count_reg_references): Likewise.
(recompute_reg_usage): Provide it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33012 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix filename for block_lump_real_i4 patch.
amylaar [Fri, 7 Apr 2000 23:25:05 +0000 (23:25 +0000)]
Fix filename for block_lump_real_i4 patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33011 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix comment.
amylaar [Fri, 7 Apr 2000 23:03:20 +0000 (23:03 +0000)]
Fix comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33010 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
rth [Fri, 7 Apr 2000 21:37:56 +0000 (21:37 +0000)]
    * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
        not the raw files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33009 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpplib.c (do_elif): Skip the rest of the line if we're
zack [Fri, 7 Apr 2000 21:09:51 +0000 (21:09 +0000)]
* cpplib.c (do_elif): Skip the rest of the line if we're
not going to bother evaluating it.
(skip_if_group): Clear pfile->only_seen_white.  Reorder loop
to avoid pointless calls to the lexer.

* gcc.dg/cpp-mi2.c: New test.
* gcc.dg/cpp-mi2[abc].h: New files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33008 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix nit.
wilson [Fri, 7 Apr 2000 18:51:44 +0000 (18:51 +0000)]
Fix nit.
* config/ia64/ia64.c: Delete stdio.h and ctype.h includes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33007 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * calls.c (expand_call): emit_queue if we're trying a sibcall.
jason [Fri, 7 Apr 2000 17:44:14 +0000 (17:44 +0000)]
    * calls.c (expand_call): emit_queue if we're trying a sibcall.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33006 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * g++.old-deja/g++.abi/vmihint.C: Adjust __vmi_class_type_info
nathan [Fri, 7 Apr 2000 16:59:12 +0000 (16:59 +0000)]
* g++.old-deja/g++.abi/vmihint.C: Adjust __vmi_class_type_info
member name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33005 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago Rename abi::__vmi_class_type_info members.
nathan [Fri, 7 Apr 2000 16:57:48 +0000 (16:57 +0000)]
Rename abi::__vmi_class_type_info members.
* inc/cxxabi.h (__vmi_class_type_info): Rename details, n_bases,
base_list, detail_masks members to vmi_flags, vmi_base_count,
vmi_bases and vmi_flags_masks respectively.
(__vmi_class_type_info::vmi_flags_masks): Rename
details_unknown_mask to flags_unknown_mask.
* tinfo.cc (__class_type_info::do_upcast): Adjust.
(__vmi_class_type_info::do_find_public_src): Adjust.
(__vmi_class_type_info::do_dyncast): Adjust.
(__vmi_class_type_info::do_upcast): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33004 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
jakub [Fri, 7 Apr 2000 14:57:58 +0000 (14:57 +0000)]
* config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
* Makefile.in: Build crtbeginS and crtendS like crtbegin and
crtend so they can be multilibbed.
(STAGESTUFF): Remove s-crt and s-crtS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33003 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
rth [Fri, 7 Apr 2000 09:53:18 +0000 (09:53 +0000)]
    * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
        if we discover we need a pseudo and no_new_pseudos is true.
        * config/alpha/alpha.md (ne:DI insn): New.
        (trunctfsf2, sne): Emit NE instead of non-canonical LTU.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32998 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * rtl.def (COND_EXEC): New.
rth [Fri, 7 Apr 2000 09:24:45 +0000 (09:24 +0000)]
    * rtl.def (COND_EXEC): New.
        * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
        * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.

        * genconfig.c (have_cond_arith_flag): Remove.
        (have_cond_exec_flag): New.
        (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
        (main): Print HAVE_conditional_execution.

        * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
        (sched_analyze_insn, print_pattern): Likewise.
        * reload.c (find_equiv_reg): Likewise.
        * rtlanal.c (reg_referenced_p): Likewise.
        (note_stores, dead_or_set_regno_p): Likewise.
        (reg_overlap_mentioned_p): Rewrite to use a switch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32997 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * ggc.h (struct rtx_def): Forward declare.
rth [Fri, 7 Apr 2000 09:24:06 +0000 (09:24 +0000)]
    * ggc.h (struct rtx_def): Forward declare.

        * print-rtl.c (debug_rtx_range): New.
        * rtl.h (debug_rtx_range): Declare.

        * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32996 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcse.c (gcse_main): Don't rebuild the CFG here.
rth [Fri, 7 Apr 2000 09:23:29 +0000 (09:23 +0000)]
    * gcse.c (gcse_main): Don't rebuild the CFG here.
        (delete_null_pointer_checks): Likewise.
        * ssa.c (convert_to_ssa): Likewise.
        * toplev.c (rest_of_compilation): Do it here instead.  Combine
        sequential calls to TIMEVAR.  Consistently use `insns' instead of
        `get_insns()'.  Always split insns after reload when optimizing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32995 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * basic-block.h (merge_blocks_nomove): Declare.
rth [Fri, 7 Apr 2000 09:22:10 +0000 (09:22 +0000)]
    * basic-block.h (merge_blocks_nomove): Declare.
        (tidy_fallthru_edge): Declare.
        * flow.c (merge_blocks_nomove): Document as merging into previous
        blocks.  Remove cruft from between blocks; remove all edges out of A.
        (tidy_fallthru_edge): Export.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32994 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tinfo.cc (convert_to_base): New function.
nathan [Fri, 7 Apr 2000 09:07:24 +0000 (09:07 +0000)]
* tinfo.cc (convert_to_base): New function.
(get_vbase_offset): Remove. Move into convert_to_base.
(__vmi_class_type_info::do_find_public_src): Adjust.
(__vmi_class_type_info::do_dyncast): Adjust.
(__vmi_class_type_info::do_upcast): Adjust.
plus commit changelog entry 2000-04-06  Nathan Sidwell  <nathan@codesourcery.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32993 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * ssa.c (compute_conservative_reg_partition): Declare with
samuel [Fri, 7 Apr 2000 08:16:31 +0000 (08:16 +0000)]
* ssa.c (compute_conservative_reg_partition): Declare with
void arguments.
* toplev.c (clean_dump_file): Remove previously-deleted function
inadvertantly merged back in.
* conflict.c (conflict_graph_add): Use a single call to
htab_find_slot to look up and insert.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32992 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Fri, 7 Apr 2000 07:45:42 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32991 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * genrecog.c (*): Rename _last_insn to last_insn.
rth [Fri, 7 Apr 2000 07:16:59 +0000 (07:16 +0000)]
    * genrecog.c (*): Rename _last_insn to last_insn.
        (make_insn_sequence): Set the position of the peephole2 C test
        to be at the last insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32990 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (compute_flow_dominators): Free worklist.
rth [Fri, 7 Apr 2000 06:15:22 +0000 (06:15 +0000)]
    * flow.c (compute_flow_dominators): Free worklist.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32983 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago Michael Matz <matzmich@cs.tu-berlin.de>
rth [Fri, 7 Apr 2000 06:11:40 +0000 (06:11 +0000)]
Michael Matz  <matzmich@cs.tu-berlin.de>
        * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32982 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoForgot the ChangeLog entry in this commit; here it is.
samuel [Fri, 7 Apr 2000 03:33:15 +0000 (03:33 +0000)]
Forgot the ChangeLog entry in this commit; here it is.

* rtl.h (INSN_P): New macro.
(successor_phi_fn): New typedef.
(for_each_successor_phi): New prototype.
(in_ssa_form): New variable.
(PHI_NODE_P): Likewise.
* flow.c (calculate_global_regs_live): Add to new_live_at_end from
phi nodes in successors.
(mark_used_regs): Add PHI case.
(set_phi_alternative_reg): New function.
(life_analysis): Assert that dead code elimination is not selected
when in SSA form.
* toplev.c (to_ssa_time): New variable.
(from_ssa_time): Likewise.
(compile_file): Zero to_ssa_time and from_ssa_time.
Print time to convert to and from SSA.
(rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
(print_time): Compute percent fraction as integer.
* ssa.c (PHI_NODE_P): Moved to rtl.h.
(convert_to_ssa): Check if we're already in SSA.
Don't eliminate dead code in life_analysis.
Rerun flow and life analysis at bottom.
(eliminate_phi): Use canonical regnos when adding nodes.
(mark_reg_in_phi): New function.
(mark_phi_and_copy_regs): Likewise.
(convert_from_ssa): Rerun life analysis at top.
Use coalesced partition.
Check for removing a phi node at the end of the block.
(compute_coalesced_reg_partition): New function.
(coalesce_regs_in_copies): Likewise.
(coalesce_reg_in_phi): Likewise.
(coalesce_regs_in_sucessor_phi_nodes): Likewise.
(for_each_successor_phi): Likewise.
(rename_context): New struct.
(rename_block): Use a rename_context with rename_insn_1.  When
renaming sets of a subreg, emit a copy of the entire reg first.
(rename_insn_1): Treat data as a rename_context *.  Save current
insn in set_data.
(rename_set_data): Add field set_insn.
* Makefile.in (HASHTAB_H): Move up in file.
(OBSTACK_H): New macro.
(collect2.o): Use OBSTACK_H in dependencies.
(sdbout.o): Likewise.
(emit-rtl.o): Likewise.
(simplify-rtx.o): Likewise.
(fix-header.o): Likewise.
(OBJS): Add conflict.o.
(conflict.o): New rule.
* basic-block.h: Include partition.h.
(conflict_graph): New typedef.
(conflict_graph_enum_fn): Likewise.
(conflict_graph_new): New prototype.
(conflict_graph_delete): Likewise.
(conflict_graph_add): Likewise.
(conflict_graph_conflict_p): Likewise.
(conflict_graph_enum): Likewise.
(conflict_graph_merge_regs): Likewise.
(conflict_graph_print): Likewise.
(conflict_graph_compute): Likewise.
* conflict.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32981 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tinfo.cc (operator=): Use __builtin_strcmp.
jason [Thu, 6 Apr 2000 22:13:41 +0000 (22:13 +0000)]
* tinfo.cc (operator=): Use __builtin_strcmp.
* tinfo2.cc (before): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32980 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * rtl.h (INSN_P): New macro.
samuel [Thu, 6 Apr 2000 21:22:49 +0000 (21:22 +0000)]
* rtl.h (INSN_P): New macro.
(successor_phi_fn): New typedef.
(for_each_successor_phi): New prototype.
(in_ssa_form): New variable.
(PHI_NODE_P): Likewise.
* flow.c (calculate_global_regs_live): Add to new_live_at_end from
phi nodes in successors.
(mark_used_regs): Add PHI case.
(set_phi_alternative_reg): New function.
(life_analysis): Assert that dead code elimination is not selected
when in SSA form.
* toplev.c (to_ssa_time): New variable.
(from_ssa_time): Likewise.
(compile_file): Zero to_ssa_time and from_ssa_time.
Print time to convert to and from SSA.
(rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
(print_time): Compute percent fraction as integer.
* ssa.c (PHI_NODE_P): Moved to rtl.h.
(convert_to_ssa): Check if we're already in SSA.
Don't eliminate dead code in life_analysis.
Rerun flow and life analysis at bottom.
(eliminate_phi): Use canonical regnos when adding nodes.
(mark_reg_in_phi): New function.
(mark_phi_and_copy_regs): Likewise.
(convert_from_ssa): Rerun life analysis at top.
Use coalesced partition.
Check for removing a phi node at the end of the block.
(compute_coalesced_reg_partition): New function.
(coalesce_regs_in_copies): Likewise.
(coalesce_reg_in_phi): Likewise.
(coalesce_regs_in_sucessor_phi_nodes): Likewise.
(for_each_successor_phi): Likewise.
(rename_context): New struct.
(rename_block): Use a rename_context with rename_insn_1.  When
renaming sets of a subreg, emit a copy of the entire reg first.
(rename_insn_1): Treat data as a rename_context *.  Save current
insn in set_data.
(rename_set_data): Add field set_insn.
* Makefile.in (HASHTAB_H): Move up in file.
(OBSTACK_H): New macro.
(collect2.o): Use OBSTACK_H in dependencies.
(sdbout.o): Likewise.
(emit-rtl.o): Likewise.
(simplify-rtx.o): Likewise.
(fix-header.o): Likewise.
(OBJS): Add conflict.o.
(conflict.o): New rule.
* basic-block.h: Include partition.h.
(conflict_graph): New typedef.
(conflict_graph_enum_fn): Likewise.
(conflict_graph_new): New prototype.
(conflict_graph_delete): Likewise.
(conflict_graph_add): Likewise.
(conflict_graph_conflict_p): Likewise.
(conflict_graph_enum): Likewise.
(conflict_graph_merge_regs): Likewise.
(conflict_graph_print): Likewise.
(conflict_graph_compute): Likewise.
* conflict.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32979 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tlink.c (read_repo_files): Don't look for .rpo info for
jason [Thu, 6 Apr 2000 21:03:45 +0000 (21:03 +0000)]
* tlink.c (read_repo_files): Don't look for .rpo info for
linker flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32978 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
amylaar [Thu, 6 Apr 2000 19:43:12 +0000 (19:43 +0000)]
* sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32977 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix Copyright.
amylaar [Thu, 6 Apr 2000 18:53:39 +0000 (18:53 +0000)]
Fix Copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32976 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sh/lib1funcs.asm (___udivsi3_i4):
amylaar [Thu, 6 Apr 2000 18:48:11 +0000 (18:48 +0000)]
* config/sh/lib1funcs.asm (___udivsi3_i4):
( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
only depends on FMOVD_WORKS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32975 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
amylaar [Thu, 6 Apr 2000 18:19:44 +0000 (18:19 +0000)]
* config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
make double constant 8-byte aligned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32974 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (lang_decl_flags): Rename saved_inline to deferred.
mmitchel [Thu, 6 Apr 2000 16:30:45 +0000 (16:30 +0000)]
* cp-tree.h (lang_decl_flags): Rename saved_inline to deferred.
(DECL_SAVED_INLINE): Rename to ...
(DECL_DEFERRED_FN): ... this.
(in_function_p): Remove declaration.
(mark_inline_for_output): Rename to ...
(defer_fn): ... this.
* decl.c (finish_function): Adjust call to mark_inline_for_output.
(in_function_p): Remove definition.
* decl2.c (saved_inlines): Rename to ...
(deferred_fns): ... this.
(saved_inlines_used): Rename to ...
(deferred_fns_used): ... this.
(mark_inline_for_output): Rename to ...
(defer_fn): ... this.
(finish_file): Adjust accordingly.
(init_decl2): Likewise.
* lex.c (cons_up_default_function): Likewise.
* pt.c (mark_decl_instantiated): Likewise.
(instantiate_decl): Don't set DECL_DEFER_OUTPUT under any
circumstances.
* rtti.c (get_tinfo_decl): Adjust call to mark_inline_for_output.
* semantics.c (expand_body): Defer more functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32973 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
jakub [Thu, 6 Apr 2000 15:07:26 +0000 (15:07 +0000)]
* config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
(movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
Accept storing GENERAL_REGS into offsetable memory.
* config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
building a TFmode constant other than 0.0L into GENERAL_REGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32972 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * MAINTAINERS: Added myself.
phdm [Thu, 6 Apr 2000 14:58:05 +0000 (14:58 +0000)]
* MAINTAINERS: Added myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32971 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * g++.old-deja/g++.abi/vmihint.C: New test.
nathan [Thu, 6 Apr 2000 14:12:34 +0000 (14:12 +0000)]
* g++.old-deja/g++.abi/vmihint.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32970 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
scox [Thu, 6 Apr 2000 13:52:59 +0000 (13:52 +0000)]
* regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32969 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpp-ifparen.c, cpp-missingop.c, cpp-missingparen.c,
neil [Thu, 6 Apr 2000 12:51:33 +0000 (12:51 +0000)]
* cpp-ifparen.c, cpp-missingop.c, cpp-missingparen.c,
cpp-shift.c, cpp-shortcircuit.c, cpp-unary.c:  Add FSF
copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32968 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * vec.cc: New file.
nathan [Thu, 6 Apr 2000 11:53:30 +0000 (11:53 +0000)]
* vec.cc: New file.
* Make-lang.in (CXX_LIB2FUNCS): Add it.
(vec.o): Build it.
* inc/cxxabi.h (__cxa_vec_new, __cxa_vec_ctor, __cxa_vec_dtor,
__cxa_vec_delete): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32967 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * rtti.c (dfs_class_hint_mark): New static function.
nathan [Thu, 6 Apr 2000 09:42:03 +0000 (09:42 +0000)]
* rtti.c (dfs_class_hint_mark): New static function.
(dfs_class_hint_unmark): New static function.
(class_hint_flags): Use them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32966 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
zack [Thu, 6 Apr 2000 07:56:14 +0000 (07:56 +0000)]
* cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
(macro_cleanup): No need to cast pbuf->macro.
(collect_expansion): Use _cpp_get_define_token.  Goto done if
it returns VSPACE.  Remove check for trailing space after
CPP_COMMENT.
(_cpp_create_definition): Don't diddle flags here.  Return
directly on error.
(unsafe_chars): Handle c1 being EOF.
(push_macro_expansion): Use unsafe_chars for both accidental-paste
checks.  Don't push the buffer till after we're done with
them.
* cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
(PEEKN, FORWARD, GETC, PEEKC): Use them.
(cpp_push_buffer): Don't set new->alimit.  Set new->mark
appropriately.
(_cpp_parse_assertion): Don't NUL terminate.
(_cpp_lex_token): Fix -traditional macro handling.  Don't skip
hspace before calling _cpp_parse_assertion.  Remove all sets
of only_seen_white. Treat '\f' as hspace.  Don't do anything
special with '\n' here.
(maybe_macroexpand): Handle T_EMPTY hash entries without
pushing a buffer at all.
(cpp_get_token): Handle clearing only_seen_white here.  Handle
incrementing the line number here.  Clear
potential_control_macro as well as only_seen_white, if
appropriate.
(cpp_get_non_space_token): Don't eat CPP_POP tokens.
(_cpp_get_define_token): New function, basically like
_cpp_get_directive_token was but doesn't eat horizontal space.
Don't do anything with only_seen_white here.
(_cpp_get_directive_token): Just call _cpp_get_define_token
repeatedly till it returns non-hspace.

* cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
(conditional_skip, skip_if_group): Return int.
(DIRECTIVE_TABLE): Change origin of all conditional directives
to "COND".
(TRAD_DIRECT_P): New macro.
(_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
an error for a bogus directive, unless -lang-asm.  Use
TRAD_DIRECT_P. Loop calling handler functions till one returns
zero.
(get_macro_name): Don't diddle flags here.
(do_define): Diddle flags here.  Use _cpp_get_directive_token.
Create T_EMPTY nodes for #define macro /* nothing */.
(do_undef): Don't copy the name.  Use _cpp_get_directive_token.
Use hp->name when calling pass_thru_directive.
(do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
Return the result of conditional_skip and/or skip_if_group.
Don't call _cpp_output_line_command.
(consider_directive_while_skipping): Use _cpp_get_directive_token.
Issue -Wtraditional warnings as appropriate.  Don't complain
about unrecognized directives.  If we are to stop skipping,
return the number of the directive that ended the skip.
(skip_if_group): Use _cpp_get_directive_token.  Turn off macro
expansion and line commands while skipping.  Return the result
of consider_directive_while_skipping, if nonzero.
(do_endif): Just set potential_control_macro here.
(validate_else): Use _cpp_get_directive_token.
(do_assert, do_unassert): Don't save pointers into the
token_buffer across calls to the lexer.  Use
_cpp_get_directive_token.

* cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
pointer, not an offset.  Replace 'data', which was a generic
pointer, with 'macro', which points to a struct hashnode.
(cpp_reader): Add 'potential_control_macro' pointer.
* cpphash.h (T_UNUSED): Replace with T_EMPTY.
(CPP_BUF_GET, CPP_FORWARD): Delete.
(CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
(CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
ACTIVE_MARK_P): Update.
(_cpp_get_define_token): New internal function.
* cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32965 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Thu, 6 Apr 2000 07:45:16 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32964 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Thu, 6 Apr 2000 06:48:16 +0000 (06:48 +0000)]
2000-04-05  Benjamin Kosnik  <bkoz@cygnus.com>
            Martin v. Loewis  <martin@loewis.home.cs.tu-berlin.de>

        * configure.in (enable_libstdcxx_v3): Add.
        (target_libs): Add bits here to switch between libstdc++-v2 and
        libstdc++-v3.
        * config.if: And this file too.
        * Makefile.in: Add libstdc++-v3 targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32963 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Thu, 6 Apr 2000 06:47:52 +0000 (06:47 +0000)]
2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>

        * configure.in: And here.
        * configure: Regenerate.
        * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
        --enable-libstdcxx-v3 is passed at configure time.
        * config.h.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32962 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Thu, 6 Apr 2000 06:44:42 +0000 (06:44 +0000)]
2000-04-05  Benjamin Kosnik  <bkoz@cygnus.com>

        * decl2.c: Make flag_honor_std dependant on ENABLE_STD_NAMESPACE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32961 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago Fix for PR gcj/140:
tromey [Thu, 6 Apr 2000 05:29:30 +0000 (05:29 +0000)]
Fix for PR gcj/140:
* parse.y (check_final_assignment): Recognize assignments to the
`length' field of an array when generating class files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32960 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (instantiate_decl): Change prototype.
mmitchel [Thu, 6 Apr 2000 03:12:19 +0000 (03:12 +0000)]
* cp-tree.h (instantiate_decl): Change prototype.
* decl2.c (mark_used): Adjust call.
* optimize.c (inlinable_function_p): Adjust handling of templates.
* pt.c (do_decl_instantiation): Adjust call to instantiate_decl.
(do_type_instantiation): Likewise.
(instantiate_decl): Defer more templates.
(instantiate_pending_templates): Adjust logic to handle inline
friend functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32959 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-05 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 6 Apr 2000 01:01:11 +0000 (01:01 +0000)]
2000-04-05  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* class.c (decl_hash): Prototype removed.
(decl_compare): Likewise.

(Fixes a warning problem.)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32958 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * final.c (final): Use xcalloc to allocate line_note_exists.
mmitchel [Thu, 6 Apr 2000 00:51:25 +0000 (00:51 +0000)]
* final.c (final): Use xcalloc to allocate line_note_exists.
* function.c (free_after_compilation): Free the temp_slots.
(assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
(combine_temp_slot): Free temp_slots when they get combined.
(purge_addressof): Fix typo in comment.
* stmt.c (mark_goto_fixup): Mark the fixup itself.
(expand_fixup): Allocate the fixup with ggc_alloc_obj.

* ggc.h: Include varray.h.
(ggc_pending_trees): Declare.
(ggc_mark_tree_children): Remove declaration.
(ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
* ggc-common.c (ggc_pending_trees): New variable.
(ggc_mark_roots): Call ggc_mark_trees.
(ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
the ggc_pending_trees.
* Makefile.in (GGC_H): New variable.  Use it throughout in place
of ggc.h.

* Makefile.in (GGC_H): New variable.  Use it throughout in place
of ggc.h.

* call.c: Don't include obstack.h.  Include ggc.h.
(obstack_chunk_alloc): Don't define.
(obstack_chunk_free): Likewise.
(add_candidate): Allocate the z_candidate with ggc_alloc_obj.
* decl.c (push_switch): Use xmalloc to allocate the cp_switch.
(pop_switch): Free it.

* decl2.c (grokclassfn): Set TREE_READONLY for PARM_DECLs.

* dump.c (dequeue_and_dump): Don't try to print the bit_position
if we don't have a DECL_FIELD_OFFSET.

* Makefile.in (GGC_H): Add varray.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32956 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * parse.h (THIS_MODIFIER_ONLY): Changed meaning of `v' parameter.
tromey [Thu, 6 Apr 2000 00:43:27 +0000 (00:43 +0000)]
* parse.h (THIS_MODIFIER_ONLY): Changed meaning of `v' parameter.
* parse.y (check_modifiers_consistency): Check for final/volatile
clash.  Fixes PR gcj/164.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32955 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure: Rebuilt.
tromey [Thu, 6 Apr 2000 00:29:39 +0000 (00:29 +0000)]
* configure: Rebuilt.
* configure.in: Recognize --enable-java-awt.
(AWT): New conditional.
* Makefile.in: Rebuilt.
* Makefile.am (toolexeclib_LTLIBRARIES): Build libgcjawt.la if
requested.
(libgcjawt_la_SOURCES): New macro.
(EXTRA_libgcjawt_la_SOURCES): Likewise.
(libgcjawt_la_DEPENDENCIES): Likewise.
(libgcjawt_la_LIBADD): Likewise.
(libgcjawt_la_LDFLAGS): Likewise.
(libgcj.zip): Depend on cond_java_awt_source_files
(cond_awt_java_source_files): New macro.
(MOSTLYCLEANFILES): Added awto_files.
(awto_files): New macro.  Use where javao_files used.
(nat_headers): Use cond_awt_java_source_files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32954 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoRecognize d30v-elf as d30v-unknown-elf
meissner [Thu, 6 Apr 2000 00:23:39 +0000 (00:23 +0000)]
Recognize d30v-elf as d30v-unknown-elf

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32952 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * splay-tree.c (splay_tree_remove): New.
rth [Thu, 6 Apr 2000 00:13:50 +0000 (00:13 +0000)]
    * splay-tree.c (splay_tree_remove): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32949 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * splay-tree.h (splay_tree_remove): Declare.
rth [Thu, 6 Apr 2000 00:12:41 +0000 (00:12 +0000)]
    * splay-tree.h (splay_tree_remove): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32948 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-05 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 5 Apr 2000 23:57:19 +0000 (23:57 +0000)]
2000-04-05  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * class.c: (java_hash_hash_tree_node): Renamed from `decl_hash',
        made global.
        (java_hash_compare_tree_node): Renamed from `decl_compare, made
        global.
        (add_method_1): Use `java_hash_hash_tree_node' and
        `java_hash_compare_tree_node'.
        * java-tree.h: (java_hash_hash_tree_node): Prototyped.
        (java_hash_compare_tree_node): Likewise.
        * parse.y (find_applicable_accessible_methods_list): Create,
        delete and use a hash table to remember already searched interfaces.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32947 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
amylaar [Wed, 5 Apr 2000 23:38:36 +0000 (23:38 +0000)]
* sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
GET_MODE_SIZE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32946 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * sh.c (sh_insn_length_adjustment): New function.
amylaar [Wed, 5 Apr 2000 23:12:53 +0000 (23:12 +0000)]
* sh.c (sh_insn_length_adjustment): New function.
* sh-protos.h (sh_insn_length_adjustment): Declare.
* sh.h (ADJUST_INSN_LENGTH): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32942 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * md.texi (Standard Names): Clarify when movX is needed.
hp [Wed, 5 Apr 2000 21:14:53 +0000 (21:14 +0000)]
* md.texi (Standard Names): Clarify when movX is needed.

* combine.c (simplify_comparison) [MINUS]: Do not replace
all (op (minus A B) 0) with (op A B).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32940 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * execute/960327-1.c (f): Add a letter to s[] to avoid stack-frame
hp [Wed, 5 Apr 2000 20:52:22 +0000 (20:52 +0000)]
* execute/960327-1.c (f): Add a letter to s[] to avoid stack-frame
overwrite.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32939 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago From Mark Elbrecht:
jason [Wed, 5 Apr 2000 19:02:02 +0000 (19:02 +0000)]
    From Mark Elbrecht:
        * makefile.dos: Remove; obsolete.
        * configure.bat: Remove; obsolete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32938 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoUpdate POTFILES.in for rs6000.
geoffk [Wed, 5 Apr 2000 18:54:55 +0000 (18:54 +0000)]
Update POTFILES.in for rs6000.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32937 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-03 Matt Welsh <mdw@cs.berkeley.edu>
tromey [Wed, 5 Apr 2000 18:50:22 +0000 (18:50 +0000)]
2000-04-03  Matt Welsh  <mdw@cs.berkeley.edu>

* jcf-depend.c (add_entry): Fixed bug where list was always replaced
with latest entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32936 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
law [Wed, 5 Apr 2000 18:36:20 +0000 (18:36 +0000)]
    * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
        from the insn where REG_RETVAL is added.
        (emit_no_conflict_block): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32935 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * sh.c (block_lump_real_i4): Add missing clobber of T_REG
amylaar [Wed, 5 Apr 2000 17:06:59 +0000 (17:06 +0000)]
* sh.c (block_lump_real_i4): Add missing clobber of T_REG
(block_lump_real): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32934 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
law [Wed, 5 Apr 2000 15:52:17 +0000 (15:52 +0000)]
    * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
        remaining non-zero debugging masks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32933 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * basic-block.h (verify_flow_info): Declare.
law [Wed, 5 Apr 2000 15:44:56 +0000 (15:44 +0000)]
    * basic-block.h (verify_flow_info): Declare.
        (flow_loop_outside_edge_p): Declare.
        * flow.c (verify_flow_info): Remove declaration.
        (clear_log_links, flow_loop_outside_edge_p): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32932 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
law [Wed, 5 Apr 2000 15:36:52 +0000 (15:36 +0000)]
    * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
        not C++ comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32931 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix problems in my previous commit.
hubicka [Wed, 5 Apr 2000 15:27:08 +0000 (15:27 +0000)]
Fix problems in my previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32930 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * compile/20000405-2.c: New test.
jakub [Wed, 5 Apr 2000 08:57:06 +0000 (08:57 +0000)]
* compile/20000405-2.c: New test.
* compile/20000405-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32929 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
jakub [Wed, 5 Apr 2000 07:54:16 +0000 (07:54 +0000)]
* config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
seqdi_zero_trunc+1): Allow splits only if registers are
different.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32928 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Wed, 5 Apr 2000 07:45:06 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32927 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoUpdate.
drepper [Wed, 5 Apr 2000 07:42:43 +0000 (07:42 +0000)]
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32926 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * acconfig.h: Add HAVE_GAS_HIDDEN.
drepper [Wed, 5 Apr 2000 07:34:36 +0000 (07:34 +0000)]
* acconfig.h: Add HAVE_GAS_HIDDEN.
        * config.h: Regenerated.
        * configure.in: Add test for .hidden pseudo-op in gas.
* configure: Regenerated.
        * crtstuff.c: Include auto-host.h.
        Emit additional .hidden pseudo-op for __dso_handle if the
        assembler knows about it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32925 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-04 Philippe De Muyter <phdm@macqel.be>
zack [Wed, 5 Apr 2000 05:15:09 +0000 (05:15 +0000)]
2000-04-04  Philippe De Muyter  <phdm@macqel.be>

* cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
before freeing argnames.
* cpplib.c (do_ifndef): Cast return value of xstrdup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32924 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* compile/20000405-1.c: New test.
aoliva [Wed, 5 Apr 2000 04:56:48 +0000 (04:56 +0000)]
* compile/20000405-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32923 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoMake memory reference + update work with -mregnames
meissner [Wed, 5 Apr 2000 04:35:39 +0000 (04:35 +0000)]
Make memory reference + update work with -mregnames

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32922 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
ghazi [Wed, 5 Apr 2000 03:51:15 +0000 (03:51 +0000)]
* regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
(regrename_optimize): Rename variables `def_uses' and
`ext_basic_blocks' to avoid conflicts with similarly named
typedefs in traditional C.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32921 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * calls.c (initialize_argument_information): Fix typo in last change.
ghazi [Wed, 5 Apr 2000 01:52:54 +0000 (01:52 +0000)]
* calls.c (initialize_argument_information): Fix typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32920 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * regrename.c (consider_available): Test fixed_regs not
rth [Wed, 5 Apr 2000 01:23:57 +0000 (01:23 +0000)]
    * regrename.c (consider_available): Test fixed_regs not
        PIC_OFFSET_TABLE_REGNUM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32919 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
geoffk [Wed, 5 Apr 2000 01:22:36 +0000 (01:22 +0000)]
* config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
crtend.
(CRTSTUFF_T_CFLAGS_S): Delete definition.
* config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
(ENDFILE_LINUX_SPEC): Always use crtend.
* configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
(powerpc-*-linux-gnu): Likewise.
* configure: Regenerate.

* config/rs6000/eabi.h: Don't include sysv4.h.
(MULTILIB_DEFAULTS): Don't define.
* config/rs6000/eabiaix.h: Don't include eabi.h.
* config/rs6000/eabile.h: Delete.
* config/rs6000/eabilesim.h: Delete.
* config/rs6000/eabisim.h: Don't include eabi.h.
* config/rs6000/linux.h: Don't include sysv4.h.
(JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
(MULTILIB_DEFAULTS): Don't redefine.
* config/rs6000/rtems.h: Don't include eabi.h.
* config/rs6000/sol2.h: Don't include sysv4le.h.
* config/rs6000/sysv4le.h: Don't include sysv4.h.
* config/rs6000/t-ppc: Delete.
* config/rs6000/t-ppcgas: Correct comment.
* config/rs6000/t-ppcos: Correct comment.  Don't build
multilibs for -fPIC, rather use -fPIC -mstrict-align
as default.
* config/rs6000/t-ppc: Delete.
* config/rs6000/vxppc.h: Don't include sysv4.h.
* config/rs6000/vxppcle.h: Delete.
* configure.in: Use multiple header files for p2pc ELF targets
powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
always available for these platforms.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32918 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
rth [Wed, 5 Apr 2000 01:06:14 +0000 (01:06 +0000)]
    * calls.c (try_to_integrate): Initialize reg_parm_stack_space.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32917 138bc75d-0d04-0410-961f-82ee72b054a4