OSDN Git Service

pf3gnuchains/gcc-fork.git
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

24 years ago * Makefile.in: Add rules for regrename.o
scox [Wed, 5 Apr 2000 00:32:45 +0000 (00:32 +0000)]
* Makefile.in: Add rules for regrename.o
* regrename.c: New file.
* rtl.h (regrename_optimize): Add prototype.
* toplev.c (rename_registers_dump, flag_rename_registers): New variables
(compile_file, decode_d_option): Add support for -frename-registers.
(rest_of_compilation): Call regrename_optimize.
* config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
New macros.

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

24 years ago * Makefile (gccbug): New target.
loewis [Tue, 4 Apr 2000 22:54:44 +0000 (22:54 +0000)]
* Makefile (gccbug): New target.
(doc): Depend on it.
* gcc.texi (Bugs): Link subnodes.
(gccbug): New node.
* gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
Document severities, priorities, and classes in bug form.
* ChangeLog: Replace leading spaces with tabs.

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

24 years ago* gcc.dg/cast-qual-1.c: Revert last change.
geoffk [Tue, 4 Apr 2000 21:49:49 +0000 (21:49 +0000)]
* gcc.dg/cast-qual-1.c: Revert last change.

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

24 years ago * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
zack [Tue, 4 Apr 2000 21:23:10 +0000 (21:23 +0000)]
* dbxout.c (CONTIN): If it doesn't have to do anything, give it a
definition that doesn't provoke the "empty body in an
if-statement" warning.

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

24 years ago * cpplex.c (trigraph_map, speccase): Combine into single
zack [Tue, 4 Apr 2000 21:17:20 +0000 (21:17 +0000)]
* cpplex.c (trigraph_map, speccase): Combine into single
table, chartab.
(NORMAL, NONTRI): New macros.
(_cpp_read_and_prescan): Change to use unified table.  Use
is_hspace to test for whitespace.

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

24 years ago * builtins.c (expand_builtin_strlen): Force the source to
cpopetz [Tue, 4 Apr 2000 21:10:43 +0000 (21:10 +0000)]
* builtins.c (expand_builtin_strlen): Force the source to
be a memory address.

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

24 years ago2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
zack [Tue, 4 Apr 2000 21:07:17 +0000 (21:07 +0000)]
2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.

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

24 years ago * cfns.gperf (hash, libc_name_p): Prototype.
ghazi [Tue, 4 Apr 2000 20:46:23 +0000 (20:46 +0000)]
* cfns.gperf (hash, libc_name_p): Prototype.

* rtti.c (build_dynamic_cast_1): Constification.

* search.c (dfs_debug_unmarkedp, dfs_debug_mark): Unhide prototypes.

* semantics.c (deferred_type_access_control): Prototype.

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

24 years ago * boehm.c (mark_reference_fields, set_bit): Prototype.
ghazi [Tue, 4 Apr 2000 20:40:20 +0000 (20:40 +0000)]
* boehm.c (mark_reference_fields, set_bit): Prototype.
(set_bit): Un-ANSI-fy definition.

* class.c (init_test_hash_newfunc, decl_hash, decl_compare):
Prototype.

* decl.c (emit_init_test_initialization): Likewise.

* gjavah.c (jni_print_char): Likewise.

* parse.y (create_new_parser_context): Likewise.

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

24 years ago * Makefile.in: Rebuilt.
tromey [Tue, 4 Apr 2000 19:56:20 +0000 (19:56 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added AWTException.java.
* java/awt/AWTException.java: New file.

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

24 years agoTop level:
apbianco [Tue, 4 Apr 2000 18:22:01 +0000 (18:22 +0000)]
Top level:

2000-04-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * configure.in: (i[3456]86-*-solaris2*): Removed `target-libffi'
        from list. Patch proposed by Anthony Green.

Libffi:

2000-04-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * configure: Rebuilt.
        * configure.in: (i*86-*-solaris*): New libffi target. Patch
        proposed by Bryce McKinlay.

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

24 years ago Correct many new ABI issues regarding vbase and vcall offset
mmitchel [Tue, 4 Apr 2000 18:13:22 +0000 (18:13 +0000)]
Correct many new ABI issues regarding vbase and vcall offset
layout.
* cp-tree.h (BINFO_VTABLE): Document.
(struct lang_type): Tweak formatting.
(BINFO_PRIMARY_BINFO): Add to documentation.
(CLASSTYPE_VSIZE): Fix typo in comment.
(CLASSTYPE_VBASECLASSES): Update documentation.
(BINFO_VBASE_MARKED): Remove.
(SET_BINFO_VBASE_MARKED): Likewise.
(CLEAR_BINFO_VBASE_MARKED): Likewise.
(BINFO_FIELDS_MARKED): Remove.
(SET_BINFO_FIELDS_MARKED): Likewise.
(CLEAR_BINFO_FIELDS_MARKED): Likewise.
(enum access_kind): New enumeration.
(num_extra_vtbl_entries): Remove declaration.
(size_extra_vtbl_entries): Likewise.
(get_vtbl_decl_for_binfo): New function.
(dfs_vbase_unmark): Remove declaration.
(mark_primary_bases): Likewise.
* class.c (SAME_FN): Remove.
(struct vcall_offset_data_s): Move definition.
(build_vbase_pointer): Use `build', not `build_binary_op', to
access the vbase pointer under the new ABI.
(build_vtable_entry_ref): Use get_vtbl_decl_for_binfo.
(build_primary_vtable): Likewise.
(dfs_mark_primary_bases): Move here from search.c.
(mark_primary_bases): Likewise.
(determine_primary_bases): Under the new ABI, don't make a base
class a primary base just because we don't yet have any virtual
functions.
(layout_vtable_decl): Use get_vtbl_decl_for_binfo.
(num_vfun_entries): Remove.
(dfs_count_virtuals): Likewise.
(num_extra_vtbl_entries): Likewise.
(size_extra_vtbl_entries): Likewise.
(layout_virtual_bases): Iterate in inheritance graph order under
the new ABI.
(finish_struct_1): Use TYPE_VFIELD, not CLASSTYPE_VSIZE, to
indicate that a vfield is present.
(init_class_processing): Initialize access_public_node, etc., from
ak_public, etc.
(get_vtbl_decl_for_binfo): New function.
(dump_class_hierarchy_r): Likewise.
(dump_class_hierarchy): Use it.
(finish_vtbls): Build the vtbls in inheritance graph order.
(dfs_finish_vtbls): Adjust call to build_vtbl_initializer.
(initialize_vtable): Use get_vtbl_decl_for_binfo.
(accumulate_vtbl_inits): Add comments explaining why a pre-order
walk is required.
(dfs_accumulate_vtbl_inits): Set BINFO_VTABLE to the location
where the vptr points, even for primary vtables.
(build_vtbl_initializer): Adjust handling of vbase and vcall
offsets.
(build_vcall_and_vbase_vtable_entries): New function.
(dfs_build_vbase_offset_vtbl_entries): Remove.
(build_vbase_offset_vtbl_entries): Reimplement.
(dfs_build_vcall_offset_vtbl_entries): Don't include virtuals that
were already handled in a primary base class vtable.
(build_vcall_offset_vtbl_entries): Adjust.
(build_rtti_vtbl_entries): Adjust.
* decl2.c (output_vtable_inherit): Use get_vtbl_decl_for_binfo.
* init.c (expand_virtual_init): Simplify.
* repo.c (repo_get_id): Use get_vtbl_decl_for_binfo.
* rtti.c (create_pseudo_type_info): Adjust calculation of vptr.
* search.c (BINFO_ACCESS): New macro.
(SET_BINFO_ACCESS): Likewise.
(dfs_access_in_type): Manipulate access_kinds, not access nodes.
(access_in_type): Likewise.
(dfs_accessible_p): Likewise.
(protected_accessible_p): Likewise.
(lookup_fnfields_1): Adjust documentation.
(dfs_mark_primary_bases): Move to class.c
(mark_primary_bases): Likewise.
(dfs_vbase_unmark): Remove.
(virtual_context): Use BINFO_FOR_VBASE.
(dfs_get_vbase_types): Simplify.
(dfs_build_inheritance_graph_order): New function.
(get_vbase_types): Use it.
* tree.c (debug_binfo): Use get_vtbl_decl_for_binfo.

* tinfo.cc (get_vbase_offset): New function.
(__vmi_class_type_info::do_find_public_src): Use it.
(__vmi_class_type_info::do_dyncast): Likewise.
(__vmi_class_type_info::do_upcast): Likewise.

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

24 years ago * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
hubicka [Tue, 4 Apr 2000 17:19:30 +0000 (17:19 +0000)]
* calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
 ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
(ECF_IS_CONST): Rename to ECF_CONST.
(special_function_p): Make static, change interface.
(flags_from_decl_or_type, try_to_integrate): Break out from ...
(expand_call) ... here; convert number of variables to flags.
(emit_library_call_vlue_1): Likewise.
(setjmp_call_p): New function.
(initialize_argument_information): Accepts flags as argument;
return flags.
(precompute_arguments): Likewise.
* tree.h (special_function_p): Remove.
(setjmp_call_p): Add prototype.

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

24 years ago * gcc.dg/cast-qual-1.c: Check casts through a pointer typedef.
ghazi [Tue, 4 Apr 2000 15:13:11 +0000 (15:13 +0000)]
   * gcc.dg/cast-qual-1.c: Check casts through a pointer typedef.

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

24 years ago * execute/20000403-1.c: New test.
hp [Tue, 4 Apr 2000 12:45:36 +0000 (12:45 +0000)]
* execute/20000403-1.c: New test.

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

24 years ago * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
jakub [Tue, 4 Apr 2000 10:13:26 +0000 (10:13 +0000)]
* config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
(movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
(movsf): Don't force any constant to memory if target is integer
hard register.
Move fp_zero_operand check below the const0_rtx check.
(movtf): Likewise. Also allow fp_zero_operand for stores into
memory.
(movdf): Likewise. Also allow fp_zero_operand for stores into
memory and into integer hard registers.
(clear_df, clear_dfp, movdf_const_intreg_sp32,
movdf_const_intreg_sp64): Remove.
(movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
conditions.
(movdf_no_e_insn_v9_sp32): New pattern.
(movdf_insn_v9only): Remove.
(movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
(movdf_insn_sp64): Remove.
(movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
(movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
(following splits): Rewrite conditions. Add two new splits
for storing 0.0 into memory and registers.
(clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
(movtf_insn_sp32): Redo constraints and conditions.
(movtf_insn_vis_sp32): New pattern.
(movtf_no_e_insn_sp32): Redo constraints and conditions.
(movtf_insn_hq_sp64): Likewise.
(movtf_insn_hq_vis_sp64): New pattern.
(movtf_insn_sp64): Redo constraints and conditions.
(movtf_insn_vis_sp64): New pattern.
(movtf_no_e_insn_sp64): Redo constraints and conditions.
(movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
or memory.
* config/sparc/sparc.c (sparc_override_options): Assume v9 if either
-mvis or -m64 to take down the number of various reload patterns.

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

24 years ago * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
jakub [Tue, 4 Apr 2000 10:09:09 +0000 (10:09 +0000)]
* config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
so that addresses are offsetable by up to 16 bytes.
(GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
offsetable.

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

24 years agoDaily bump.
law [Tue, 4 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * pa/pa-64.h: New file.
law [Tue, 4 Apr 2000 06:42:40 +0000 (06:42 +0000)]
    * pa/pa-64.h: New file.
        * pa/pa64-regs.h: New file.
        * pa/pa64-start.h: New file.
        * pa/t-pa64: New file.
        * pa/xm-pa64hpux.h: New file.

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

24 years ago * sparc.c (output_restore_regs): Prototype.
ghazi [Tue, 4 Apr 2000 02:24:50 +0000 (02:24 +0000)]
* sparc.c (output_restore_regs): Prototype.
(sparc_emit_float_lib_cmp): Constification.

* emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.

* reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
Prototype.

* simplify-rtx.c (entry_and_rtx_equal_p): Constification.
(get_value_hash, hash_rtx): Likewise.

* ssa.c (compute_conservative_reg_partition): Prototype.

* tree.c (mark_hash_entry): Prototype.

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

24 years agoUpdate regexps for modified error messages
zack [Tue, 4 Apr 2000 01:44:12 +0000 (01:44 +0000)]
Update regexps for modified error messages

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

24 years ago * include/jvm.h (_Jv_GetArrayElementFromElementType): More
tromey [Mon, 3 Apr 2000 23:36:49 +0000 (23:36 +0000)]
* include/jvm.h (_Jv_GetArrayElementFromElementType): More
commentary from Alex.

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

24 years ago * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
zack [Mon, 3 Apr 2000 23:25:07 +0000 (23:25 +0000)]
* bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
* i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
* i386.md (call_value, call_value_pop): Remove unused variable 'addr'.

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

24 years agoShould have been committed with previous batch
zack [Mon, 3 Apr 2000 23:16:10 +0000 (23:16 +0000)]
Should have been committed with previous batch

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

24 years ago * gcc.c (C specs): Pass -f(no-)show-column to the
zack [Mon, 3 Apr 2000 23:03:20 +0000 (23:03 +0000)]
* gcc.c (C specs): Pass -f(no-)show-column to the
          preprocessor.
* ch/lang-specs.h, cp/lang-specs.h, f/lang-specs.h,
objc/lang-specs.h: Likewise.

* gcc.dg/cpp-redef-2.c, gcc.dg/cpp-tradwarn1.c,
gcc.dg/cpp-unc.c: Add -fno-show-column to compiler options.

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

24 years ago * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
neil [Mon, 3 Apr 2000 22:33:12 +0000 (22:33 +0000)]
* cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
and SYNTAX_ERROR2. Replace `' in messages with ''.
(op_to_str): Make re-entrant.
(_cpp_parse_expr): Implement new error macros. Use | rather
than || to logically or 2 boolean integers.  Simply expression
checking we have a left operand iff needed.

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

24 years ago * execute/20000402-1.c: New test.
geoffk [Mon, 3 Apr 2000 21:29:03 +0000 (21:29 +0000)]
* execute/20000402-1.c: New test.

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

24 years agolog entry
dlindsay [Mon, 3 Apr 2000 21:11:27 +0000 (21:11 +0000)]
log entry

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

24 years agoMore va-arg variations. OKed by Jeff Law.
dlindsay [Mon, 3 Apr 2000 21:05:03 +0000 (21:05 +0000)]
More va-arg variations. OKed by Jeff Law.

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

24 years agoAdd dependency of 'diagnostic.o' on 'diagnostic.c'
nickc [Mon, 3 Apr 2000 19:30:12 +0000 (19:30 +0000)]
Add dependency of 'diagnostic.o' on 'diagnostic.c'

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

24 years ago * Makefile.in: Rebuilt.
tromey [Mon, 3 Apr 2000 18:07:45 +0000 (18:07 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am ($(javao_files)): Depend on libgcj.zip.
From H.J. Lu.

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

24 years agoApply Philip Blundell's patch to fix typos in SUBTARGET_EXTRA_LINK_SPEC
nickc [Mon, 3 Apr 2000 17:19:15 +0000 (17:19 +0000)]
Apply Philip Blundell's patch to fix typos in SUBTARGET_EXTRA_LINK_SPEC

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

24 years ago * gcc.c-torture/compile/20000403-2.c: New test.
law [Mon, 3 Apr 2000 09:04:42 +0000 (09:04 +0000)]
    * gcc.c-torture/compile/20000403-2.c: New test.

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

24 years ago * gcc.c-torture/compile/20000403-1.c: New test.
law [Mon, 3 Apr 2000 08:35:44 +0000 (08:35 +0000)]
    * gcc.c-torture/compile/20000403-1.c: New test.

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

24 years ago * fixinc/server.c (find_shell): New function. Avoid $SHELL.
law [Mon, 3 Apr 2000 07:43:51 +0000 (07:43 +0000)]
    * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
        (run_shell): Use it.

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

24 years ago * Makefile.in (stmp-int-hdrs): Make include subdir here...
law [Mon, 3 Apr 2000 07:41:25 +0000 (07:41 +0000)]
    * Makefile.in (stmp-int-hdrs): Make include subdir here...
        (stmp-fixproto): ...rather than here.

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

24 years ago * basicio.c (PATH_MAX): Always provide a definition.
law [Mon, 3 Apr 2000 07:21:06 +0000 (07:21 +0000)]
    * basicio.c (PATH_MAX): Always provide a definition.

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

24 years ago * pa.c (print_operand): Compute 'base' only inside the code paths
law [Mon, 3 Apr 2000 06:51:45 +0000 (06:51 +0000)]
    * pa.c (print_operand): Compute 'base' only inside the code paths
        that use it.

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