OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for
ro [Thu, 20 Jun 2002 18:00:02 +0000 (18:00 +0000)]
* config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for
multilibs.
* config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.

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

22 years ago Mon Jun 10 20:42:34 CEST 2002 Jan Hubicka <jh@suse.cz>
hubicka [Thu, 20 Jun 2002 17:57:27 +0000 (17:57 +0000)]
Mon Jun 10 20:42:34 CEST 2002  Jan Hubicka  <jh@suse.cz>

* basic-block.h: Do not include et-forest.h
(dominance_info): Declare as struct dominance-info.
* cfglayout.c (cleanup_unconditional_jumps): Remove the edge before
deleting block.
* dominance.c (struct dominance_info): Define.
(BB_NODE, SET_BB_NODE): New macros.
(bb_hash_func, bb_eq_func): Kill.
(calculate_dominace_info, free_dominacne_info, set_immediate_dominator,
nearest_common_dominator, dominated_by_p, recount_dominator,
add_to_dominance_info, delete_from_dominance_info): update for new
representation.
(get_dominated_by, redirect_immediate_dominators): Rewrite using
enumerate_sons.
* ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap,
find_if_case_1, find_if_case_2): Remove killed blocks from dominance
structure.

* et-forest.h: Update copyright; revamp all function to operate on
nodes
(et_forest_value): Kill.
(et_forest_enumerate_sons, et_forest_node_value): New.
* et-forest.c: Update copyright.
* et-forest.h: Update copyright; revamp all function to operate on
nodes
(et_forest_value): Kill.
(et_forest_enumerate_sons, et_forest_node_value): New.

Thu Jun  6 22:43:43 CEST 2002  Jan Hubicka  <jh@suse.cz>

* basic-block.h: Inlude et-forest.h
(basic_block_def): Kill dominator.
(dominance_info): New type.
(loops): Use dominace_info.
(dominace handling functions): Take dominace_info as argument
instead of bitmaps.
(create_preheader): Likewise.
* cfg.c (entry_exit_blocks): Kill dominator.
(dump_flow_info): Do not dump dominators.
* cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from
dominators.
* cfgloop.c (flow_pre_header_find): Use dominacne_info.
(flow_loops_pre_header_scan, make_forwarder_block,
canonicale_loop_headers, flow_loops_find): Likewise.
* dominance.c: Include error.h
(idoms_to_doms): Kill.
(bb_hash_func, bb_eq_func): New static functions.
(debug_dominace_info): New global function.
(calculate_dominance_info): Use new et forest structure.
(free_dominace_info, get_immediate_dominator, set_immediate_dominator,
get_dominated_by, redirect_immediate_dominators,
nearest_common_dominator, dominated_by_p, verify_dominators,
recount_dominator, iterate_fix_dominators, add_to_dominace_info,
delete_from_dominance_info): New global functions.
* gcse.c (domnators): CHange to dominance_info.
(alloc_hoist_mem): Do not alloc dominators
(free_code_hoist_mem): Use free_dominance_info.
(compute_code_hoist_data): Use dominance_info.
(hoist_code): Likewise.
* ifcvt.c (post_dominators): Likewise.
(find_if_case_2, if_convert): Likewise.
* predict.c (process_note_predictions, process_note_prediction,
estimate-probability): Likewise.
* sched-rgn.c (find_rgns, init_regions): Likewise.
* ssa-dce.c (find_all_control_dependences, fint_control_depemndence,
find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise.
* ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers,
find_evaluations, convert_to_ssa): Likewise.
* ssa.h (compute_dominance_frontiers): Likewise.

Thu Jun  6 22:57:34 CEST 2002  Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>

* Makefile.in (et-forest.c): Add.
* et-forest.c: New file.
* at-forest.h: New file.

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

22 years ago Mon Jun 10 20:42:34 CEST 2002 Jan Hubicka <jh@suse.cz>
hubicka [Thu, 20 Jun 2002 17:51:06 +0000 (17:51 +0000)]
Mon Jun 10 20:42:34 CEST 2002  Jan Hubicka  <jh@suse.cz>

* basic-block.h: Do not include et-forest.h
(dominance_info): Declare as struct dominance-info.
* cfglayout.c (cleanup_unconditional_jumps): Remove the edge before
deleting block.
* dominance.c (struct dominance_info): Define.
(BB_NODE, SET_BB_NODE): New macros.
(bb_hash_func, bb_eq_func): Kill.
(calculate_dominace_info, free_dominacne_info, set_immediate_dominator,
nearest_common_dominator, dominated_by_p, recount_dominator,
add_to_dominance_info, delete_from_dominance_info): update for new
representation.
(get_dominated_by, redirect_immediate_dominators): Rewrite using
enumerate_sons.
* ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap,
find_if_case_1, find_if_case_2): Remove killed blocks from dominance
structure.

* et-forest.h: Update copyright; revamp all function to operate on
nodes
(et_forest_value): Kill.
(et_forest_enumerate_sons, et_forest_node_value): New.
* et-forest.c: Update copyright.
* et-forest.h: Update copyright; revamp all function to operate on
nodes
(et_forest_value): Kill.
(et_forest_enumerate_sons, et_forest_node_value): New.

Thu Jun  6 22:43:43 CEST 2002  Jan Hubicka  <jh@suse.cz>

* basic-block.h: Inlude et-forest.h
(basic_block_def): Kill dominator.
(dominance_info): New type.
(loops): Use dominace_info.
(dominace handling functions): Take dominace_info as argument
instead of bitmaps.
(create_preheader): Likewise.
* cfg.c (entry_exit_blocks): Kill dominator.
(dump_flow_info): Do not dump dominators.
* cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from
dominators.
* cfgloop.c (flow_pre_header_find): Use dominacne_info.
(flow_loops_pre_header_scan, make_forwarder_block,
canonicale_loop_headers, flow_loops_find): Likewise.
* dominance.c: Include error.h
(idoms_to_doms): Kill.
(bb_hash_func, bb_eq_func): New static functions.
(debug_dominace_info): New global function.
(calculate_dominance_info): Use new et forest structure.
(free_dominace_info, get_immediate_dominator, set_immediate_dominator,
get_dominated_by, redirect_immediate_dominators,
nearest_common_dominator, dominated_by_p, verify_dominators,
recount_dominator, iterate_fix_dominators, add_to_dominace_info,
delete_from_dominance_info): New global functions.
* gcse.c (domnators): CHange to dominance_info.
(alloc_hoist_mem): Do not alloc dominators
(free_code_hoist_mem): Use free_dominance_info.
(compute_code_hoist_data): Use dominance_info.
(hoist_code): Likewise.
* ifcvt.c (post_dominators): Likewise.
(find_if_case_2, if_convert): Likewise.
* predict.c (process_note_predictions, process_note_prediction,
estimate-probability): Likewise.
* sched-rgn.c (find_rgns, init_regions): Likewise.
* ssa-dce.c (find_all_control_dependences, fint_control_depemndence,
find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise.
* ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers,
find_evaluations, convert_to_ssa): Likewise.
* ssa.h (compute_dominance_frontiers): Likewise.

Thu Jun  6 22:57:34 CEST 2002  Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>

* Makefile.in (et-forest.c): Add.
* et-forest.c: New file.
* at-forest.h: New file.

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

22 years agoada:
ghazi [Thu, 20 Jun 2002 17:38:23 +0000 (17:38 +0000)]
ada:
* utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
array size calculation.

gcc:
* c-decl.c (c_decode_option): Use ARRAY_SIZE in lieu of explicit
array size calculation.
* gengtype.c (NUM_BASE_FILES, create_file, write_gc_root):
Likewise.

cp:
* spew.c (remove_last_token): Use ARRAY_SIZE in lieu of explicit
array size calculation.

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

22 years ago * diagnostic.c (diagnostic_kind_text): Const-ify.
ghazi [Thu, 20 Jun 2002 16:59:01 +0000 (16:59 +0000)]
* diagnostic.c (diagnostic_kind_text): Const-ify.
* gengtype.c (lang_names): Likewise.

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

22 years ago * combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.
hubicka [Thu, 20 Jun 2002 15:39:58 +0000 (15:39 +0000)]
* combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.

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

22 years ago For PR libgcj/7073:
tromey [Thu, 20 Jun 2002 15:10:49 +0000 (15:10 +0000)]
For PR libgcj/7073:
* resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
exists.
* defineclass.cc (handleClassBegin): Superclass for interface is
`null'.

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

22 years ago PR c++/6892
lerdsuwa [Thu, 20 Jun 2002 14:44:37 +0000 (14:44 +0000)]
PR c++/6892
* pt.c (tsubst_expr): Handle FILE_STMT.

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

22 years ago PR c++/6723
lerdsuwa [Thu, 20 Jun 2002 14:38:06 +0000 (14:38 +0000)]
PR c++/6723
* pt.c (lookup_template_class): Don't build complete argument of
BOUND_TEMPLATE_TEMPLATE_PARM if appeared as a default template
argument.

* g++.dg/template/ttp4.C: New test.

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

22 years ago * com.c (ffecom_prepare_expr_,ffecom_expr_power_integer_):
aj [Thu, 20 Jun 2002 12:31:28 +0000 (12:31 +0000)]
* com.c (ffecom_prepare_expr_,ffecom_expr_power_integer_):
Remove #ifdefed HAHA sections.

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

22 years ago * config/sol2.h: New file.
ro [Thu, 20 Jun 2002 11:03:40 +0000 (11:03 +0000)]
* config/sol2.h: New file.
* config.gcc (i?86-*-solaris2*): Include it before i386/sol2.h.
(sparc64-wrs-vxworks*): Include it before sparc/sol2.h.
(sparc-*-chorusos*): Likewise.
(sparc-*-elf*): Likewise.
(sparc-*-rtems*, sparc-*-rtemself*): Likewise.
(sparc64-*-solaris2*, sparcv9-*-solaris2*): Likewise.
(sparc-hal-solaris2*): Likewise.
(sparc-*-solaris2*): Likewise.
(sparclite-*-elf*): Likewise.
(sparc86x-*-elf*): Likewise.
(sparc64-*-elf*): Likewise.

* config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Moved to
config/sol2.h.
(ASM_SPEC): Override config/sol2.h version for now.
Removed obsolete GAS_REJECTS_MINUS_S variant.
(WINT_TYPE, WINT_TYPE_SIZE): Moved to config/sol2.h.
(HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise.
(TARGET_OS_CPP_BUILTINS): Likewise.
Assert system=unix.
(CPP_SPEC): Simplified using new CPP_SUBTARGET_SPEC.
(LIB_SPEC, ENDFILE_SPEC, STARTFILE_SPEC, LINK_SPEC): Moved to
config/sol2.h.
(SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise.
(ASM_CPU_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Define.

* config/sparc/sol2-bi.h (LONG_DOUBLE_TYPE_SIZE): Removed, already
in config/sparc/sol2.h.
(ASM_SPEC): Moved to config/sol2.h.
(CPP_CPU_SPEC): Simplified.
(STARTFILE_SPEC32): Likewise, renamed to STARTFILE_ARCH32_SPEC for
consistency.
(STARTFILE_SPEC64): Renamed to STARTFILE_ARCH64_SPEC.
(STARTFILE_ARCH_SPEC): Use new names STARTFILE_ARCH32_SPEC,
STARTFILE_ARCH64_SPEC.
(STARTFILE_SPEC): Moved to config/sol2.h
(SUBTARGET_EXTRA_SPECS): Add startfile_arch.
(LINK_ARCH32_SPEC): Moved to config/sol2.h.
(LINK_ARCH64_SPEC): Simplified.
(LINK_ARCH_SPEC): Redefined config/sol2.h version for 64-bit support.
(LINK_SPEC): Moved to config/sol2.h

* config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Moved to
config/sol2.h.
Use BITS_PER_WORD for size.
(WINT_TYPE, WINT_TYPE_SIZE): Likewise.
(HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise.
(CPP_PREDEFINES): Removed OS-specific part handled by
TARGET_OS_CPP_BUILTINS.
(CPP_SUBTARGET_SPEC): Moved to config/sol2.h.
(CPLUSPLUS_CPP_SPEC): Removed, handled by TARGET_OS_CPP_BUILTINS.
(ASM_SPEC): Moved to config/sol2.h.
(PREFERRED_DEBUGGING_TYPE): Likewise.
(STARTFILE_SPEC, LIB_SPEC, LINK_SPEC): Likewise.
(SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise.
(TARGET_DEFAULT): Reordered to match config/sparc/sol2-bi.h version.
(TRANSFER_FROM_TRAMPOLINE): Moved to config/sol2.h

* config.gcc (i?86-*-solaris2*): Removed obsolete gas support.
* config/i386/sol2gas.h: Removed.

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

22 years ago * i386.md (xorqi_1_slp, xorqi_2_slp): New patterns.
hubicka [Thu, 20 Jun 2002 10:15:59 +0000 (10:15 +0000)]
* i386.md (xorqi_1_slp, xorqi_2_slp): New patterns.

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

22 years ago2002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
aj [Thu, 20 Jun 2002 09:13:57 +0000 (09:13 +0000)]
2002-06-20  Nathanael Nerode  <neroden@twcny.rr.com>

* com.c: Remove #ifdef HOHO sections.

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

22 years ago * c-common.c (c_common_get_alias_set): Correctly handle characters.
rth [Thu, 20 Jun 2002 07:30:04 +0000 (07:30 +0000)]
    * c-common.c (c_common_get_alias_set): Correctly handle characters.
        Rearrange order of expressions; don't handle vectors here.
        * alias.c (get_alias_set): Let vectors match their components.

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

22 years agoDaily bump.
gccadmin [Thu, 20 Jun 2002 07:27:58 +0000 (07:27 +0000)]
Daily bump.

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

22 years ago2002-06-19 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 20 Jun 2002 02:48:29 +0000 (02:48 +0000)]
2002-06-19  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (mips_emit_prefetch): Use hints which
match desired locality.

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

22 years ago * config/h8300/h8300.c (TARGET_INSERT_ATTRIBUTES): Define.
kazu [Thu, 20 Jun 2002 02:43:13 +0000 (02:43 +0000)]
* config/h8300/h8300.c (TARGET_INSERT_ATTRIBUTES): Define.
(h8300_insert_attributes): New.

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

22 years ago2002-06-19 Akim Demaille <akim@epita.fr>
zack [Thu, 20 Jun 2002 01:30:57 +0000 (01:30 +0000)]
2002-06-19  Akim Demaille  <akim@epita.fr>

* c-parse.in (initelt: identifier ':' initval): Add an empty
action to fix a type clash.
(aliasdecl, classdef): Add the missing closing `;'.
Whitespace changes.
* gengtype-yacc.y (typedef_struct): Add an empty action to preevnt
$$ = $1 type clashes.

cp:
* parse.y (TYPENAME): Rename as tTYPENAME to avoid the clash with
decl.h's TYPENAME.
* spew.c, lex.c: Adjust.
* parse.y (explicit_instantiation): Add empty action to override
the default $$ = $1 where it introduces a type clash.

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

22 years ago* configure.in: replace ${topsrcdir} with ${srcdir}
dj [Wed, 19 Jun 2002 23:57:38 +0000 (23:57 +0000)]
* configure.in: replace ${topsrcdir} with ${srcdir}

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

22 years ago* configure.in: Move definition of libstdcxx_flags
dj [Wed, 19 Jun 2002 23:53:29 +0000 (23:53 +0000)]
* configure.in: Move definition of libstdcxx_flags
right above usage, rather than waaay earlier.

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

22 years ago* configure.in: Rearrange a little.
dj [Wed, 19 Jun 2002 23:47:43 +0000 (23:47 +0000)]
* configure.in: Rearrange a little.

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

22 years ago* configure.in: Pull definition of is_cross_compiler earlier.
dj [Wed, 19 Jun 2002 23:39:42 +0000 (23:39 +0000)]
* configure.in: Pull definition of is_cross_compiler earlier.

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

22 years ago* configure.in: Rearrange a little.
dj [Wed, 19 Jun 2002 23:24:14 +0000 (23:24 +0000)]
* configure.in: Rearrange a little.

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

22 years ago2002-06-19 Eric Christopher <echristo@redhat.com>
echristo [Wed, 19 Jun 2002 23:18:00 +0000 (23:18 +0000)]
2002-06-19  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.c (symbol_operand): New function.
(mips_emit_prefetch): Ditto.
* config/mips/mips-protos.h: Define.
* config/mips/mips.h (ISA_HAS_PREFETCH): Define.
(CONSTANT_ADDRESS_P): Adjust, use TARGET_GAS.
(LEGITIMIZE_ADDRESS): Ditto.
* config/mips/mips.md (prefetch, prefetch_si_address,
prefetch_si, prefetch_di_address, prefetch_di): New patterns.

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

22 years ago* configure.in: Remove references to librx.
dj [Wed, 19 Jun 2002 23:06:06 +0000 (23:06 +0000)]
* configure.in: Remove references to librx.
* Makefile.in: Remove references to librx.

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

22 years ago2002-06-19 Eric Christopher <echristo@redhat.com>
echristo [Wed, 19 Jun 2002 23:01:59 +0000 (23:01 +0000)]
2002-06-19  Eric Christopher  <echristo@redhat.com>

* config/fp-bit.h: Add unordered defines for gofast.

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

22 years ago2002-06-19 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 19 Jun 2002 22:37:30 +0000 (22:37 +0000)]
2002-06-19  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON,
DECL_EXCL, DECL_PRESENCE, DECL_ABSENCE, DECL_RESERV,
DECL_INSN_RESERV, REGEXP_UNIT, REGEXP_RESERV, REGEXP_SEQUENCE,
REGEXP_REPEAT, REGEXP_ALLOF, REGEXP_ONEOF): New macros with
checking and without it.
(decl_name, decl_mode_check_failed, regexp_name,
regexp_mode_check_failed): New functions.
(gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
gen_presence_set, gen_absence_set, gen_automaton,
gen_regexp_repeat, gen_regexp_allof, gen_regexp_oneof,
gen_regexp_sequence, gen_reserv, gen_insn_reserv,
automaton_decl_hash, automaton_decl_eq_p): Use the macros.
(find_automaton_decl): Ditto.  Set up mode of work_automaton_decl.
(insn_decl_hash, insn_decl_hash, insn_decl_eq_p): Use the macros.
(find_insn_decl): Ditto.  Set up mode of work_insn_decl.
(decl_hash, decl_eq_p): Use the macros.
(find_decl): Ditto.  Set up mode of work_decl.
(process_excls, process_presence_absence, process_decls,
check_automaton_usage, process_regexp, process_regexp_decls,
check_usage, loop_in_regexp, check_loops_in_regexps,
process_regexp_cycles, add_advance_cycle_insn_decl,
initiate_states, initiate_excl_sets,
initiate_presence_absence_sets, copy_insn_regexp, transform_1,
transform_2): Use the macros.
(transform_3): Ditto.  Check mode before making transformations of
ALLOF.
(regexp_transform_func, transform_insn_regexps,
process_unit_to_form_the_same_automaton_unit_lists,
form_the_same_automaton_unit_lists_from_regexp,
form_the_same_automaton_unit_lists,
process_seq_for_forming_states, process_alts_for_forming_states,
create_alt_states, form_ainsn_with_same_reservs, make_automaton,
form_arcs_marked_by_insn, NDFA_to_DFA, set_new_cycle_flags,
estimate_one_automaton_bound, compare_max_occ_cycle_nums,
units_to_automata_heuristic_distr, create_ainsns,
units_to_automata_distr, create_automata): Use the macros.
(form_regexp): Ditto.  Fix typo in access to fields of ALLOF.
(longest_path_length, min_issue_delay_pass_states,
output_dead_lock_vect, output_tables, output_insn_code_cases,
output_internal_insn_latency_func, output_print_reservation_func,
output_description, output_automaton_units, generate): Use the
macros.
(make_insn_alts_attr): Ditto.  Check case when there are not
alternatives in the reservation.
(make_internal_dfa_insn_code_attr, make_default_insn_latency_attr,
make_bypass_attr, form_important_insn_automata_lists,
expand_automata): Use the macros.

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

22 years ago * config.sub: Add support for avr target.
denisc [Wed, 19 Jun 2002 20:46:38 +0000 (20:46 +0000)]
* config.sub: Add support for avr target.
Import from master sources, rev 1.255

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

22 years agoClean up configure.in checks for bad languages; fix typos in treelang.
timjosling [Wed, 19 Jun 2002 20:30:23 +0000 (20:30 +0000)]
Clean up configure.in checks for bad languages; fix typos in treelang.

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

22 years ago2002-06-19 Steve Ellcey <sje@cup.hp.com>
pme [Wed, 19 Jun 2002 20:30:13 +0000 (20:30 +0000)]
2002-06-19  Steve Ellcey  <sje@cup.hp.com>

* configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
definitions in hpux11 cross-build because these functions do
not exist on hpux11 (but some exist on hpux10); move defaults out
into existing sections.
* configure:  Regenerate.

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

22 years ago * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Correct misnamings of
kraai [Wed, 19 Jun 2002 20:14:19 +0000 (20:14 +0000)]
* doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Correct misnamings of
builtin_define and builtin_define_std.

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

22 years ago * cpptrad.c (_cpp_replacement_text_len): initialize len.
neil [Wed, 19 Jun 2002 19:59:45 +0000 (19:59 +0000)]
    * cpptrad.c (_cpp_replacement_text_len): initialize len.

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

22 years ago * Makefile.in (unstrap, restrap): New targets.
jason [Wed, 19 Jun 2002 19:00:09 +0000 (19:00 +0000)]
    * Makefile.in (unstrap, restrap): New targets.
        (bootstrap): Mention restrap.

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

22 years ago * except.c (ehl_free): Remove.
kraai [Wed, 19 Jun 2002 18:48:28 +0000 (18:48 +0000)]
* except.c (ehl_free): Remove.

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

22 years ago2002-06-19 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 19 Jun 2002 18:10:09 +0000 (18:10 +0000)]
2002-06-19  Phil Edwards  <pme@gcc.gnu.org>

* configure, .cvsignore:  Revert previous change...
* Makefile:  ...delete.

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

22 years ago * config/ns32k/ns32k.md: Give "*xxx" names to all unnamed insn's.
rth [Wed, 19 Jun 2002 17:45:15 +0000 (17:45 +0000)]
    * config/ns32k/ns32k.md: Give "*xxx" names to all unnamed insn's.
        (sCOND): Restrict operand class so that gcc knows how to reload them.
        (bitfield_set): Merge two unnamed insn's using alternatives.
        (call_value): Remove constraint on unused uperand.
        (udivmodhi4, udivmodsi4, udivmoddihi4_internal): Remove.
        (udivmoddiqi4_internal, udivmoddihi4, udivmoddiqi4): Remove.

        * longlong.h (count_trailing_zeros): Escape newline and beautify.

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

22 years ago* configure.in: Eliminate ${gasdir} variable.
dj [Wed, 19 Jun 2002 17:39:21 +0000 (17:39 +0000)]
* configure.in: Eliminate ${gasdir} variable.

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

22 years ago * Makefile.in (QMTEST_DIR): Simplify definition.
mmitchel [Wed, 19 Jun 2002 16:09:21 +0000 (16:09 +0000)]
* Makefile.in (QMTEST_DIR): Simplify definition.

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

22 years ago2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 19 Jun 2002 15:19:53 +0000 (15:19 +0000)]
2002-06-18  Benjamin Kosnik  <bkoz@redhat.com>

* include/c/std_cwchar.h: Guard. Add mbstate_t bits.
* include/c/std_cwctype.h: Guard.

* libsupc++/eh_alloc.cc: Tweak include order.
* libsupc++/pure.cc: Use cstdio.
* libsupc++/new_op.cc: Remove malloc forward declaration, as
cstdlib brings it in. Use std::malloc.

* src/Makefile.am (sources): Remove cmath.cc.
* src/Makefile.in: Regenerate.
* src/cmath.cc: Remove.

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

22 years ago * g++.dg/opt/vt1.C: Fix regexp.
jakub [Wed, 19 Jun 2002 14:45:06 +0000 (14:45 +0000)]
* g++.dg/opt/vt1.C: Fix regexp.

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

22 years ago(CUMULATIVE_ARGS): Replace typedef with #define.
nickc [Wed, 19 Jun 2002 10:00:42 +0000 (10:00 +0000)]
(CUMULATIVE_ARGS): Replace typedef with #define.

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

22 years agoDaily bump.
gccadmin [Wed, 19 Jun 2002 07:19:42 +0000 (07:19 +0000)]
Daily bump.

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

22 years ago * cpphash.h (struct cpp_reader): Make date and time strings.
neil [Wed, 19 Jun 2002 05:40:08 +0000 (05:40 +0000)]
* cpphash.h (struct cpp_reader): Make date and time strings.
(_cpp_builtin_macro_text, _cpp_copy_replacement_text,
_cpp_replacement_text_len): New.
* cppinit.c (cpp_create_reader): Update.
(init_builtins): Register appropriate builtins for -traditional-cpp.
* cppmacro.c (new_number_token): Remove.
(_cpp_builtin_macro_text): New.
(builtin_macro): Use it.
(cpp_macro_definition): Update to handle traditional macros.
* cppmain.c (cb_line_change): Don't do column positioning for
traditional output.
* cpptrad.c (enum ls): Rename ls_fun_macro to ls_fun_open.  New
state ls_fun_close.
(skip_whitespace): Fix.
(maybe_start_funlike): Don't set state.parsing_args.
(scan_out_logical_line): Remove duplicate error.  Use lex_state
rather than state.parsing_args.
(push_replacement_text): Handle builtins.
(_cpp_replacement_text_len, _cpp_copy_replacement_text): New.

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

22 years ago2002-06-18 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 19 Jun 2002 01:30:39 +0000 (01:30 +0000)]
2002-06-18  Phil Edwards  <pme@gcc.gnu.org>

* configure.target:  Force mips to use the generic cpu routines.

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

22 years ago * config/fp-bit.c (_fpmul_parts, _fpdiv_parts): Mark with
ghazi [Wed, 19 Jun 2002 00:51:03 +0000 (00:51 +0000)]
* config/fp-bit.c (_fpmul_parts, _fpdiv_parts): Mark with
attribute __always_inline__.

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

22 years ago * gcc.c-torture/execute/pure-1.c: Make functions static again.
ghazi [Wed, 19 Jun 2002 00:43:33 +0000 (00:43 +0000)]
* gcc.c-torture/execute/pure-1.c: Make functions static again.
Don't use attribute `noinline'.

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

22 years agomerge from src
dj [Tue, 18 Jun 2002 21:58:44 +0000 (21:58 +0000)]
merge from src

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

22 years ago * config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic
bwilson [Tue, 18 Jun 2002 21:18:46 +0000 (21:18 +0000)]
    * config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic
        when generating the call to _mcount.
        (NO_PROFILE_COUNTERS): Define.

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

22 years ago2002-06-18 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 18 Jun 2002 20:41:47 +0000 (20:41 +0000)]
2002-06-18  Phil Edwards  <pme@gcc.gnu.org>

* configure:  Remove garbage from previous commit.

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

22 years ago * print-rtl.c (print_rtx): Adjust NOTE argument numbers for
rth [Tue, 18 Jun 2002 20:12:13 +0000 (20:12 +0000)]
    * print-rtl.c (print_rtx): Adjust NOTE argument numbers for
        2002-06-02 change.

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

22 years ago2002-06-18 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 18 Jun 2002 20:02:21 +0000 (20:02 +0000)]
2002-06-18  Phil Edwards  <pme@gcc.gnu.org>

* configure:  For in-source builds, make a subdir and re-exec there.
* Makefile:  New file.  Pass targets through to build directory.
* .cvsignore:  No longer ignore "Makefile".

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

22 years ago * t-sh (MULTILIB_EXCEPTIONS): Set to ml.
amylaar [Tue, 18 Jun 2002 19:56:54 +0000 (19:56 +0000)]
* t-sh (MULTILIB_EXCEPTIONS): Set to ml.
config/sh/t-linux (MULTILIB_EXCEPTIONS): Clear.
* config/sh/t-netbsd (MULTILIB_EXCEPTIONS): Likewise.
* config/sh/t-sh64 (MULTILIB_EXCEPTIONS): Likewise.

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

22 years ago2002-06-18 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 18 Jun 2002 19:07:12 +0000 (19:07 +0000)]
2002-06-18  Phil Edwards  <pme@gcc.gnu.org>

* configure.host:  Delete file.
* configure.target:  More documentation.  Factor out common parts of
script into "intelligent" settings about defaults.  Remove redundancy.

* acinclude.m4:  Update comments.  Do not call configure.host.
(GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
libgcc_s.
* configure.in:  Slight reformatting, more comments.  Factor out
"config/" from all the directories.
* docs/html/17_intro/porting.texi:  Update and expand.
* testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
from configure.host.

* aclocal.m4, configure, docs/html/17_intro/porting.html,
testsuite/Makefile.in:  Regenerate.

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

22 years ago * sh-protos.h (sh_pr_interrupt): Declare.
amylaar [Tue, 18 Jun 2002 19:03:18 +0000 (19:03 +0000)]
* sh-protos.h (sh_pr_interrupt): Declare.
* sh.c (sh_pr_interrupt): New function.
(print_operand, calc_live_regs, sh_expand_prologue): Use it.
(sh_hard_regno_rename_ok): Likewise.
* sh.h (NORMAL_MODE): FP_MODE_NONE for interupt handlers.

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

22 years ago * gcj/javaprims.h: Updated class declaration list.
tromey [Tue, 18 Jun 2002 17:06:44 +0000 (17:06 +0000)]
* gcj/javaprims.h: Updated class declaration list.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Removed
BasicMapEntry.java.
* java/util/BasicMapEntry.java: Removed.

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

22 years ago * java/net/natPlainDatagramSocketImpl.cc (receive):
jsturm [Tue, 18 Jun 2002 16:25:00 +0000 (16:25 +0000)]
* java/net/natPlainDatagramSocketImpl.cc (receive):
Check bounds of argument to FD_SET.
(setOption): Throw exception if socket is closed.

* java/net/natPlainSocketImpl.cc (accept, read):
Check bounds of argument to FD_SET.
(setOption): Throw exception if socket is closed.

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

22 years ago * semantics.c (begin_for_stmt): Push the 'for' scope before
jason [Tue, 18 Jun 2002 16:21:25 +0000 (16:21 +0000)]
    * semantics.c (begin_for_stmt): Push the 'for' scope before
        adding the FOR_STMT.

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

22 years ago2002-06-18 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 18 Jun 2002 16:18:23 +0000 (16:18 +0000)]
2002-06-18  Vladimir Makarov  <vmakarov@redhat.com>

* rtl.def (DEFINE_AUTOMATON): Add description of new options
`time' and `v'.  Fix incorrect description of option `w'.

* doc/md.texi: Ditto.

* genautomata.c (TIME_OPTION, V_OPTION): New macros.
(gen_automata_option): Process the new options.
(transform_2, transform_3): Initialize some variables.
(initiate_automaton_gen): Use the new macros.

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

22 years ago C++ ABI changes.
jason [Tue, 18 Jun 2002 16:05:31 +0000 (16:05 +0000)]
    C++ ABI changes.
        * class.c (build_base_field): Set DECL_PACKED.
        (layout_class_type): Don't use tail padding of PODs.
        * mangle.c (write_unqualified_name): Fix template conversion op
        mangling.

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

22 years ago * gcj/javaprims.h: Updated class declaration list.
tromey [Tue, 18 Jun 2002 15:40:16 +0000 (15:40 +0000)]
* gcj/javaprims.h: Updated class declaration list.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added
PropertyPermissionCollection.java.
* java/lang/Thread.java (group, name): Now package-private.
* java/lang/ThreadGroup.java: Re-merge with Classpath.
* java/util/AbstractList.java: Likewise.
* java/util/AbstractMap.java: Likewise.
* java/util/Calendar.java: Likewise.
* java/util/Collections.java: Likewise.
* java/util/HashMap.java: Likewise.
* java/util/Hashtable.java: Likewise.
* java/util/LinkedHashMap.java: Likewise.
* java/util/LinkedList.java: Likewise.
* java/util/List.java: Likewise.
* java/util/ListResourceBundle.java: Likewise.
* java/util/Map.java: Likewise.
* java/util/Observable.java: Likewise.
* java/util/Properties.java: Likewise.
* java/util/PropertyPermission.java: Likewise.
* java/util/PropertyPermissionCollection.java: Likewise.
* java/util/PropertyResourceBundle.java: Likewise.
* java/util/Random.java: Likewise.
* java/util/SimpleTimeZone.java: Likewise.
* java/util/StringTokenizer.java: Likewise.
* java/util/TimerTask.java: Likewise.
* java/util/TreeMap.java: Likewise.
* java/util/WeakHashMap.java: Likewise.
* java/util/jar/Attributes.java: Likewise.
* java/util/jar/JarException.java: Likewise.
* java/util/jar/Manifest.java: Likewise.

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

22 years ago * gcc.c-torture/execute/20020615-1.c: Fix typo in comment.
hp [Tue, 18 Jun 2002 15:35:36 +0000 (15:35 +0000)]
* gcc.c-torture/execute/20020615-1.c: Fix typo in comment.

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

22 years ago * config/mips/mips-protos.h (mips_initial_elimination_offset): Declare.
rsandifo [Tue, 18 Jun 2002 11:23:41 +0000 (11:23 +0000)]
* config/mips/mips-protos.h (mips_initial_elimination_offset): Declare.
(mips_set_return_address, mips_restore_gp): Declare.
* config/mips/mips.h (struct mips_frame_info): Move to mips.c
(current_frame_info): Remove.
(INITIAL_ELIMINATION_OFFSET): Use mips_initial_elimination_offset.
* config/mips/mips.c: Remove uses of current_frame_info.
(struct mips_frame_info): Moved from mips.h.  Remove 'insns_len'.
(struct machine_function): Add 'frame' and 'insns_len'.
(current_frame_info, zero_frame_info): Remove.
(mips_restore_gp, mips_set_return_address): New.
(mips_initial_elimination_offset): New.
* config/mips/mips.md (exception_receiver): Use mips_restore_gp.
(eh_return define_split): Use mips_set_return_address.

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

22 years agoDaily bump.
gccadmin [Tue, 18 Jun 2002 07:37:39 +0000 (07:37 +0000)]
Daily bump.

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

22 years ago * cpplib.c (dtable): Update.
neil [Tue, 18 Jun 2002 06:27:40 +0000 (06:27 +0000)]
* cpplib.c (dtable): Update.
(end_directive): Decrement expansion prevention count.
Clear state.in_expression.
(prepare_directive_trad): Set state.in_expression.
Increment expansion prevention count.
* cpptrad.c (enum ls): New.
(_cpp_overlay_buffer): Set overlaid_buffer.
(_cpp_remove_overlay): Use overlaid_buffer.
(_cpp_read_logcial_line_trad): Update buffer when it might
have changed.
(scan_out_logical_line): Handle state transitions for assertions
and defined() in #if, and for funlike invocations including the
directive case.  Handle '<' and '>' as a quote mechanism in
#include.  Warn about unterminated macro invocations.
* cpphash.h (struct lexer_state): New member in_expression.
(struct cpp_reader): New member overlaid buffer.

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

22 years ago * config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype
hp [Tue, 18 Jun 2002 02:55:25 +0000 (02:55 +0000)]
* config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype
__always_inline__.

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

22 years ago2002-06-17 Douglas Rupp <rupp@gnat.com>
rupp [Tue, 18 Jun 2002 02:04:33 +0000 (02:04 +0000)]
2002-06-17  Douglas Rupp  <rupp@gnat.com>

* lbasename.c: Add 2002 to copyright.
(IS_DIR_SEPARATOR): Remove VMS junk.

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

22 years ago2002-06-16 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 18 Jun 2002 01:36:49 +0000 (01:36 +0000)]
2002-06-16  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.c-torture/execute/simd-1.c: New.

        * gcc.dg/simd-1.c: New.

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

22 years ago2002-06-16 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 18 Jun 2002 01:35:47 +0000 (01:35 +0000)]
2002-06-16  Aldy Hernandez  <aldyh@redhat.com>

* gcc.c-torture/execute/simd-1.c: New.

* gcc.dg/simd-1.c: New.

* doc/extend.texi (Vector Extensions): Document that we can
specify simd types not specifically supported by the hardware.
Document that simd types can be used as function arguments.
Document that signness does make a difference in SIMD types.
Misc cleanups and revisions to the "vector extensions" section.

* simplify-rtx.c (simplify_subreg): Simplify subregs of vector
constants.

* expr.c (vector_mode_valid_p): New.

* expr.h: Add vector_mode_valid_p.

* defaults.h (VECTOR_MODE_SUPPORTED_P): Set default.

* emit-rtl.c (immed_double_const): Do not abort on vectors.

* c-common.c (type_for_mode): Always build vector nodes regardless
of VECTOR_MODE_SUPPORTED_P.
(handle_mode_attribute): Error if we can't emulate a nonexisting
vector mode.
(handle_vector_size_attribute): Same.

* optabs.c (expand_binop): Open-code vector operations.
(expand_unop): Open-code vector unops.
(expand_vector_binop): New.
(expand_vector_unop): New.

* c-typeck.c (build_binary_op): Allow vectors in binops.
Allow vectors in conditional operatiors.
(build_unary_op): Allow vectors in unary minus.

* config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Conditionalize on
TARGET_ALTIVEC.

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

22 years ago * config/ia64/ia64.md (doloop_end_internal): Correct rtl.
amodra [Tue, 18 Jun 2002 00:24:51 +0000 (00:24 +0000)]
* config/ia64/ia64.md (doloop_end_internal): Correct rtl.

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

22 years ago * gcc.c-torture/execute/20020615-1.c: Correct bug-description.
hp [Mon, 17 Jun 2002 23:29:39 +0000 (23:29 +0000)]
* gcc.c-torture/execute/20020615-1.c: Correct bug-description.

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

22 years ago * doloop.c (doloop_optimize): Extract pattern from insn.
amodra [Mon, 17 Jun 2002 22:45:44 +0000 (22:45 +0000)]
* doloop.c (doloop_optimize): Extract pattern from insn.

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

22 years ago * gcj/javaprims.h: Updated class declaration list.
tromey [Mon, 17 Jun 2002 21:32:01 +0000 (21:32 +0000)]
* gcj/javaprims.h: Updated class declaration list.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added new file.
* java/util/EventListenerProxy.java: New file.
* java/util/EventListener.java: Re-merge with Classpath.
* java/util/EventObject.java: Re-merge with Classpath.

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

22 years ago * doc/extend.texi (Function Attributes): Remove `,...' from @var.
kraai [Mon, 17 Jun 2002 21:26:49 +0000 (21:26 +0000)]
* doc/extend.texi (Function Attributes): Remove `,...' from @var.

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

22 years ago* bit.c: Don't include glimits.h.
thorpej [Mon, 17 Jun 2002 21:21:01 +0000 (21:21 +0000)]
* bit.c: Don't include glimits.h.
* target.c: Likewise.
* where.h: Likewise.

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

22 years ago * libgcc2.c: Do not include symcat.h or machmode.h.
law [Mon, 17 Jun 2002 21:08:12 +0000 (21:08 +0000)]
    * libgcc2.c: Do not include symcat.h or machmode.h.

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

22 years ago * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.
rth [Mon, 17 Jun 2002 20:56:15 +0000 (20:56 +0000)]
    * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.

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

22 years ago * dwarfout.c: Include function.h.
tromey [Mon, 17 Jun 2002 20:22:24 +0000 (20:22 +0000)]
* dwarfout.c: Include function.h.

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

22 years ago2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
tromey [Mon, 17 Jun 2002 19:15:22 +0000 (19:15 +0000)]
2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>

* java/lang/ClassNotFoundException.java: New Classpath version.

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

22 years ago * print-rtl.c (print_rtx): Print space before vector, not after.
schwab [Mon, 17 Jun 2002 19:13:46 +0000 (19:13 +0000)]
* print-rtl.c (print_rtx): Print space before vector, not after.
(debug_rtx): Clear sawclose before printing.
(debug_rtx_list): Print newline after each list element.
(debug_rtx_range): Likewise.

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

22 years ago * java/rmi/activation/ActivateFailedException.java: Remerge from
tromey [Mon, 17 Jun 2002 19:11:40 +0000 (19:11 +0000)]
* java/rmi/activation/ActivateFailedException.java: Remerge from
Classpath version.
* java/rmi/activation/ActivationException.java: Ditto.
* java/rmi/activation/UnknownGroupException.java: Ditto.
* java/rmi/activation/UnknownObjectException.java: Ditto.
* java/rmi/server/ExportException: Ditto.
* java/rmi/server/ServerCloneException: Ditto.
* java/rmi/server/ServerNotActiveException: Ditto.
* java/rmi/server/SkeletonMismatchException: Ditto.
* java/rmi/server/SkeletonNotFoundException: Ditto.
* java/rmi/server/SocketSecurityException: Ditto.

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

22 years ago * function.h (struct function) [funcdef_no]: Rename profile_label_no.
rth [Mon, 17 Jun 2002 17:47:22 +0000 (17:47 +0000)]
    * function.h (struct function) [funcdef_no]: Rename profile_label_no.
        (current_function_funcdef_no): Similarly.
        * function.c (funcdef_no): Similarly.
        (prepare_function_start): Set current_function_funcdef_no.
        (expand_function_start): Don't set current_function_profile_label_no.
        * dwarf2out.h (current_funcdef_number): Remove.
        * dwarf2out.c (current_funcdef_number): Remove.  Replace with
        current_function_funcdef_no throughout.
        * dwarfout.c, vmsdbgout.c: Similarly.
        * except.c (sjlj_funcdef_number): Remove.
        (sjlj_emit_function_enter): Use current_function_funcdef_no instead.
        (output_function_exception_table): Likewise.
        * final.c (profile_function): Use current_function_funcdef_no
        instead of current_function_profile_label_no.

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

22 years agoFixed warning in sendmsg.c for forwarding function not returning a value
nicola [Mon, 17 Jun 2002 17:41:38 +0000 (17:41 +0000)]
Fixed warning in sendmsg.c for forwarding function not returning a value

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

22 years agoFixed warning from __objc_get_forward_imp not returning a value
nicola [Mon, 17 Jun 2002 17:41:11 +0000 (17:41 +0000)]
Fixed warning from __objc_get_forward_imp not returning a value

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

22 years ago2002-06-17 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 17 Jun 2002 17:16:37 +0000 (17:16 +0000)]
2002-06-17  Vladimir Makarov  <vmakarov@redhat.com>

* sched-ebb.c (init_ready_list): Check INSN_P first.

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

22 years ago * sh.md (divsi3): Update way how to find insns in a sequence.
amylaar [Mon, 17 Jun 2002 16:28:29 +0000 (16:28 +0000)]
* sh.md (divsi3): Update way how to find insns in a sequence.

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

22 years ago * reload1.c (merge_assigned_reloads): Don't change reloads
amylaar [Mon, 17 Jun 2002 11:33:20 +0000 (11:33 +0000)]
* reload1.c (merge_assigned_reloads): Don't change reloads
other than RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS
to RELOAD_OTHER when there are conflicting input reloads.

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

22 years ago* function.c (epilogue_done): Correctly build a sequence of insns for
rearnsha [Mon, 17 Jun 2002 08:42:00 +0000 (08:42 +0000)]
* function.c (epilogue_done): Correctly build a sequence of insns for
a sibcall epilogue.

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

22 years ago(CUMULATIVE_ARGS): Replace typedef with #define.
nickc [Mon, 17 Jun 2002 07:49:17 +0000 (07:49 +0000)]
(CUMULATIVE_ARGS): Replace typedef with #define.

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

22 years agoDaily bump.
gccadmin [Mon, 17 Jun 2002 07:37:18 +0000 (07:37 +0000)]
Daily bump.

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

22 years agoReplace gen_sequence with get_insns.
nickc [Mon, 17 Jun 2002 07:20:15 +0000 (07:20 +0000)]
Replace gen_sequence with get_insns.

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

22 years ago * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
rth [Mon, 17 Jun 2002 04:45:58 +0000 (04:45 +0000)]
    * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
        of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.

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

22 years ago * gcj/javaprims.h: Updated class declaration list.
tromey [Mon, 17 Jun 2002 04:08:46 +0000 (04:08 +0000)]
* gcj/javaprims.h: Updated class declaration list.

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

22 years ago * java/io/LineNumberInputStream.java: Merged with Classpath.
tromey [Mon, 17 Jun 2002 03:52:24 +0000 (03:52 +0000)]
* java/io/LineNumberInputStream.java: Merged with Classpath.

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

22 years ago * tree.c (cp_cannot_inline_tree_fn): Don't short-circuit test
rth [Mon, 17 Jun 2002 00:26:56 +0000 (00:26 +0000)]
    * tree.c (cp_cannot_inline_tree_fn): Don't short-circuit test
        after template instantiation.
* g++.dg/opt/inline3.C: New.

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

22 years ago * MAINTAINERS (Write After Approval): Add self.
rupp [Mon, 17 Jun 2002 00:00:24 +0000 (00:00 +0000)]
* MAINTAINERS (Write After Approval): Add self.

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

22 years ago * MAINTAINERS (Write After Approval): Add self.
rupp [Sun, 16 Jun 2002 22:02:48 +0000 (22:02 +0000)]
* MAINTAINERS (Write After Approval): Add self.

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

22 years ago * regclass.c (globalize_reg): Update regs_invalidated_by_call.
rth [Sun, 16 Jun 2002 21:52:45 +0000 (21:52 +0000)]
    * regclass.c (globalize_reg): Update regs_invalidated_by_call.
* gcc.dg/20020616-1.c: New.

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

22 years ago * java/lang/RuntimeException.java: Re-merge with Classpath.
tromey [Sun, 16 Jun 2002 21:15:44 +0000 (21:15 +0000)]
* java/lang/RuntimeException.java: Re-merge with Classpath.
* java/util/ArrayList.java: Likewise.
* java/util/Arrays.java: Likewise.
* java/util/BitSet.java: Likewise.
* java/util/Dictionary.java: Likewise.
* java/util/IdentityHashMap.java: Likewise.
* java/util/MissingResourceException.java: Likewise.
* java/util/Observer.java: Likewise.
* java/util/TooManyListenersException.java: Likewise.
* java/util/zip/DataFormatException.java: Likewise.
* java/util/zip/ZipException.java: Likewise.

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

22 years ago * config.gcc: Add an i386/sysv4-cpp.h. Remove i386-aout.h from
neil [Sun, 16 Jun 2002 21:13:11 +0000 (21:13 +0000)]
* config.gcc: Add an i386/sysv4-cpp.h.  Remove i386-aout.h from
vxworks.
config/i386:
* i386-aout.h, i386elf.h, sysv4.h: Remove CPP_PREDEFINES.
* linux64.h: Use TARGET_OS_CPP_BUILTINS rather than
CPP_PREDEFINES and part of CPP_SPEC.
i386elf.h, mach.h, netware.h, rtemself.h, sco5.h, sol2.h,
vsta.h, vxi386.h, win32.h: Similarly.
* sysv4-cpp.h: New.

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

22 years ago2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
tromey [Sun, 16 Jun 2002 20:55:56 +0000 (20:55 +0000)]
2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>

* java/rmi/AccessException.java: Remerge from Classpath.
* java/rmi/AlreadyBoundException.java: Ditto.
* java/rmi/ConnectException.java: Ditto.
* java/rmi/ConnectIOException.java: Ditto.
* java/rmi/MarshalException.java: Ditto.
* java/rmi/NoSuchObjectException.java: Ditto.
* java/rmi/NotBoundException.java: Ditto.
* java/rmi/RemoteException.java: Ditto.
* java/rmi/RMISecurityException.java: Ditto.
* java/rmi/ServerError.java: Ditto.
* java/rmi/ServerException.java: Ditto.
* java/rmi/ServerRuntimeException.java: Ditto.
* java/rmi/StubNotFoundException.java: Ditto.
* java/rmi/UnexpectedExcpetion.java: Ditto.
* java/rmi/UnknownHostException.java: Ditto.
* java/rmi/UnmarshalException.java: Ditto.

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