]> gcc.gnu.org Git - gcc.git/log
gcc.git
24 years agoloop.c (current_loop_info): Delete.
Michael Hayes [Tue, 25 Jan 2000 22:49:56 +0000 (22:49 +0000)]
loop.c (current_loop_info): Delete.

2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

* loop.c (current_loop_info): Delete.
(consec_sets_invariant_p): Add loop argument, update callers.
(get_condition_for_loop): Likewise.
(count_nonfixed_reads, update_giv_derive): Likewise.
(simplify_giv_expr, general_induction_var): Likewise.
(consec_sets_giv, recombine_givs): Likewise.
(move_movables): Delete loop_start and loop_end arguments,
add loop argument, and update callers.
(find_mem_givs, check_final_value): Likewise.
(record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
(loop_invariant_p): Rename from invariant_p, add loop argument, and
update callers.
(basic_induction_var): Add loop argument, delete loop_level argument,
and update callers.
* unroll.c (iteration_info): Delete loop_start and loop_end arguments,
add loop argument, and update callers.
(find_splittable_regs, find_splittable_givs): Likewise.
(reg_dead_after_loop, loop_find_equiv_value): Likewise.
(final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
(biv_total_increment): Delete loop_start and loop_end arguments;
update callers.
(precondition_loop_p): Delete loop_start and loop_info arguments;
update callers.
* loop.h (get_condition_for_loop): Add loop argument.
(biv_total_increment): Delete loop_start and loop_end arguments.
(precondition_loop_p): Delete loop_start and loop_info arguments;
add loop argument.
(final_biv_value): Delete loop_start and loop_end arguments;
add loop argument.
(final_giv_value, back_branch_in_range_p): Likewise.

From-SVN: r31618

24 years ago* config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
Gavin Romig-Koch [Tue, 25 Jan 2000 22:18:59 +0000 (22:18 +0000)]
* config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.

From-SVN: r31617

24 years agoMakefile.in (c-gperf.h): Change the "See" pointer to point to the new "generated_file...
Gavin Romig-Koch [Tue, 25 Jan 2000 20:16:06 +0000 (20:16 +0000)]
Makefile.in (c-gperf.h): Change the "See" pointer to point to the new "generated_files" doc.

2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>

* Makefile.in (c-gperf.h) : Change the "See" pointer to
point to the new "generated_files" doc.

From-SVN: r31616

24 years agodecl.c (member_function_or_else): Change third arg from a format specifier to an...
Kaveh R. Ghazi [Tue, 25 Jan 2000 18:40:05 +0000 (18:40 +0000)]
decl.c (member_function_or_else): Change third arg from a format specifier to an `enum overload_flags'.

* decl.c (member_function_or_else): Change third arg from a format
specifier to an `enum overload_flags'.  Callers changed.

From-SVN: r31615

24 years agoparse.h (OBSOLETE_MODIFIER_WARNING): Don't use ANSI string concatenation.
Kaveh R. Ghazi [Tue, 25 Jan 2000 18:29:02 +0000 (18:29 +0000)]
parse.h (OBSOLETE_MODIFIER_WARNING): Don't use ANSI string concatenation.

* parse.h (OBSOLETE_MODIFIER_WARNING): Don't use ANSI string
concatenation.
(OBSOLETE_MODIFIER_WARNING2): New macro allowing two args.

* parse.y (register_fields): Don't pass a format specifier to
OBSOLETE_MODIFIER_WARNING.
(check_abstract_method_header): Use OBSOLETE_MODIFIER_WARNING2
instead of OBSOLETE_MODIFIER_WARNING, and don't pass a format
specifier.
(check_modifiers): Change function into a macro.
(check_class_interface_creation): Pass a literal format string.

From-SVN: r31614

24 years ago* config/fp-bit.c (_unord_f2): Fix typo.
Clinton Popetz [Tue, 25 Jan 2000 17:25:26 +0000 (17:25 +0000)]
* config/fp-bit.c (_unord_f2): Fix typo.

From-SVN: r31613

24 years agonew
Jason Merrill [Tue, 25 Jan 2000 17:15:58 +0000 (12:15 -0500)]
new

From-SVN: r31612

24 years agoc-common.c, [...]: Remove all references to obstack functions obsoleted by GC...
Zack Weinberg [Tue, 25 Jan 2000 17:13:14 +0000 (17:13 +0000)]
c-common.c, [...]: Remove all references to obstack functions obsoleted by GC...

* c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
c-typeck.c, objc/objc-act.c: Remove all references to obstack
functions obsoleted by GC, such as push_obstacks_nochange,
end_temporary_allocation, savealloc, saveable_tree_cons, etc.
and code which existed only to decide whether or not to call
them.  Remove now-unused NESTED argument from start_function;
all callers changed.  Do not change behavior based on ggc_p.
The use of the ixp_obstack in c-iterate.c and the util_obstack
in objc/objc-act.c remain; these are not obsoleted by garbage
collection.
* c-tree.h: Update prototype for start_function.

* c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.

From-SVN: r31611

24 years agomips.md (zero_extendsidi2_internal): Disable for mips16.
Clinton Popetz [Tue, 25 Jan 2000 15:51:20 +0000 (15:51 +0000)]
mips.md (zero_extendsidi2_internal): Disable for mips16.

* config/mips/mips.md (zero_extendsidi2_internal): Disable for
mips16.

From-SVN: r31610

24 years agosparc-protos.h (select_cc_mode): Declare.
Richard Henderson [Tue, 25 Jan 2000 12:42:25 +0000 (04:42 -0800)]
sparc-protos.h (select_cc_mode): Declare.

        * sparc-protos.h (select_cc_mode): Declare.
        * sparc.c (select_cc_mode): New.  Handle unordered compares.
        (output_cbranch): Always reverse via code change.  Handle
        unordered compares.  Factor tests and string updates.
        * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
        (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
        * sparc.md (bunordered, bordered): New.
        (bungt, bunlt, buneq, bunge, bunle): New.

From-SVN: r31609

24 years agotypeck.c (composite_pointer_type, [...]): Avoid ANSI string concatenation usage.
Gabriel Dos Reis [Tue, 25 Jan 2000 10:56:54 +0000 (10:56 +0000)]
typeck.c (composite_pointer_type, [...]): Avoid ANSI string concatenation usage.

2000-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>

        * typeck.c (composite_pointer_type, c_sizeof, expr_sizeof,
        build_binary_op_nodefault, build_unary_op, build_reinterpret_cast,
        build_const_cast, get_delta_difference, check_return_expr): Avoid
        ANSI string concatenation usage.

From-SVN: r31608

24 years agodwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
Richard Henderson [Tue, 25 Jan 2000 10:47:46 +0000 (02:47 -0800)]
dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.

        * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
        * ggc-common.c (ggc_add_rtx_varray_root): New.
        (ggc_mark_rtx_varray): New.
        (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
        functions down below ggc_mark_foo.
        * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.

From-SVN: r31607

24 years agoalpha.c (secondary_reload_class): Don't allocate a secondary for integral mode memori...
Richard Henderson [Tue, 25 Jan 2000 10:38:41 +0000 (02:38 -0800)]
alpha.c (secondary_reload_class): Don't allocate a secondary for integral mode memories into FLOAT_REGS.

        * alpha.c (secondary_reload_class): Don't allocate a secondary
        for integral mode memories into FLOAT_REGS.  Rearrange the more
        complicated memory expression inward.

From-SVN: r31606

24 years agoDaily bump.
Jeff Law [Tue, 25 Jan 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31605

24 years agoinclhack.def: Fixes to play nicer with FreeBSD, and corrections to comments.
Zack Weinberg [Tue, 25 Jan 2000 08:06:23 +0000 (08:06 +0000)]
inclhack.def: Fixes to play nicer with FreeBSD, and corrections to comments.

2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>

* inclhack.def: Fixes to play nicer with FreeBSD, and
corrections to comments.
(cxx_unready): Add select expression.
(irix_sockaddr): Add bypass expression.
(machine_ansi_h_va_list): New fix.
(stdio_va_list): No need to edit _BSD_VA_LIST_.
Split out addition of "#include <stdarg.h>" to...
(stdio_stdarg_h): ... here.
(systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
to stdlib.h also.  Do not munge _BSD_SIZE_T_.
(sysz_stdlib_for_sun): Delete duplicate fix for unprotected
size_t.
(ultrix_ifdef): Tighten up select expression.

* fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
re_ct and max_mach to avoid use of shell.  Make printed names
match names in inclhack.def.  Use static copyright date.
Don't count c_test and test expressions as requiring regex_t
slots.  Add some commentary.
* inclhack.tpl: Do not include the 'This script contains N
fixup scripts' line if PROGRAM is defined.  Use static
copyright date.

From-SVN: r31604

24 years agoclass.c (layout_class_type): Put the fields required to make a class non-empty at...
Mark Mitchell [Tue, 25 Jan 2000 06:33:06 +0000 (06:33 +0000)]
class.c (layout_class_type): Put the fields required to make a class non-empty at the end...

* class.c (layout_class_type): Put the fields required to make a
class non-empty at the end, not the beginning, of the TYPE_FIELDs
list.

From-SVN: r31603

24 years agodwarf2out.c: include "varray.h", not dyn-string.h.
Jason Merrill [Tue, 25 Jan 2000 05:59:18 +0000 (00:59 -0500)]
dwarf2out.c: include "varray.h", not dyn-string.h.

        * dwarf2out.c: include "varray.h", not dyn-string.h.
        (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
        (addr_const_to_string, addr_to_string): Lose.
        (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
        (struct dw_val_struct): val_addr is now an rtx.
        (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
        (used_rtx_varray): New varray.
        (dwarf2out_init): Initialize it.
        (save_rtx): New fn.
        (mem_loc_descriptor, add_const_value_attribute): Call it instead of
        addr_to_string.
        * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
        sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
        * Makefile.in (dwarf2out.o): Update dependencies.

        * i386.c (i386_dwarf_output_addr_const): New.
        * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.

        * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
        if defined.
        * dwarfout.c (output_mem_loc_descriptor): Likewise.
        * i386.c (i386_simplify_dwarf_addr): New.
        * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.

From-SVN: r31602

24 years agopt.c (maybe_fold_nontype_arg): Do nothing if we're not in a template.
Jason Merrill [Tue, 25 Jan 2000 05:53:12 +0000 (05:53 +0000)]
pt.c (maybe_fold_nontype_arg): Do nothing if we're not in a template.

        * pt.c (maybe_fold_nontype_arg): Do nothing if we're not in a
        template.

        * decl2.c (mark_used): Do instantiate inlines that have been
        explicitly instantiated.

From-SVN: r31601

24 years agotypo
Jason Merrill [Tue, 25 Jan 2000 02:53:54 +0000 (21:53 -0500)]
typo

From-SVN: r31600

24 years agoFix mips EABI/dwarf2 segfault while compiling newlib.
Jim Wilson [Tue, 25 Jan 2000 00:58:58 +0000 (00:58 +0000)]
Fix mips EABI/dwarf2 segfault while compiling newlib.

* dwarf2out.c (gen_struct_or_union_type_die): Set complete if
TYPE_STUB_DECL is NULL.

From-SVN: r31599

24 years agobuiltins.c (expand_tree_builtin): Move ...
Richard Henderson [Tue, 25 Jan 2000 00:45:14 +0000 (16:45 -0800)]
builtins.c (expand_tree_builtin): Move ...

        * builtins.c (expand_tree_builtin): Move ...
        * c-common.c (expand_tree_builtin): ... here.

From-SVN: r31598

24 years agoloop.h (LOOP_INFO): New accessor macro.
Michael Hayes [Tue, 25 Jan 2000 00:38:09 +0000 (00:38 +0000)]
loop.h (LOOP_INFO): New accessor macro.

2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

* loop.h (LOOP_INFO): New accessor macro.
* basic-block.h (struct loop): Rename field `info' to `aux'.
* loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
(prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
* unroll.c (loop_iterations, unroll_loop): Likewise.

From-SVN: r31596

24 years agoInclude new cygwin include directories
Christopher Faylor [Mon, 24 Jan 2000 22:46:11 +0000 (22:46 +0000)]
Include new cygwin include directories

From-SVN: r31595

24 years agoMakefile.in (CXX_FOR_TARGET): Use g++, not xgcc, to invoke the C++ compiler.
Mark Mitchell [Mon, 24 Jan 2000 21:02:27 +0000 (21:02 +0000)]
Makefile.in (CXX_FOR_TARGET): Use g++, not xgcc, to invoke the C++ compiler.

* Makefile.in (CXX_FOR_TARGET): Use g++, not xgcc, to invoke
the C++ compiler.

* lib/g++.exp (g++init): Use g++, not xgcc, to invoke the C++
compiler.
(tool_option_proc): Fix typo.

From-SVN: r31593

24 years agoecos.exp (gcsec-1.c): Check the version of the ld on the host, not on the build machine.
Geoff Keating [Mon, 24 Jan 2000 20:56:33 +0000 (20:56 +0000)]
ecos.exp (gcsec-1.c): Check the version of the ld on the host, not on the build machine.

* gcc.dg/special/ecos.exp (gcsec-1.c): Check the version
of the ld on the host, not on the build machine.
Also, don't crash if '--help' is not a supported option.

From-SVN: r31592

24 years agortl.def: Add unordered fp comparisions.
Richard Henderson [Mon, 24 Jan 2000 20:10:04 +0000 (12:10 -0800)]
rtl.def: Add unordered fp comparisions.

        * rtl.def: Add unordered fp comparisions.
        * tree.def: Likewise.
* tree.h: Add ISO C 9x unordered fp comparision builtins.

* builtins.c (expand_tree_builtin): New function.
* c-typeck.c (build_function_call): Use it.
(build_binary_op): Support unordered compares.
* c-common.c (c_common_nodes_and_builtins): Add unordered compares.

* combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
(reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
* cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
(record_jump_equiv): Handle reverse_condition returning UNKNOWN.
* jump.c (reverse_condition): Don't abort for UNLE etc, but
return UNKNOWN.
(swap_condition): Handle unordered compares.
(thread_jumps): Check can_reverse before reversing.
* loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
reversed for FP.

* optabs.c (can_compare_p): New argument CODE.  Verify branch or
setcc is present before acking for cmp_optab.  Update all callers.
(prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
* expmed.c (do_cmp_and_jump): Update for can_compare_p.
* expr.c (expand_expr): Likewise.  Support unordered compares.
(do_jump, do_store_flag): Likewise.
* expr.h (enum libfunc_index): Add unordered compares.

* Makefile.in (FPBIT_FUNCS): Add _unord_sf.
(DPBIT_FUNCS): Add _unord_df.
* config/fp-bit.c (_unord_f2): New.
* fp-test.c (main): Try unordered compare builtins.

* alpha-protos.h (alpha_fp_comparison_operator): Declare.
* alpha.c (alpha_comparison_operator): Check mode properly.
(alpha_swapped_comparison_operator): Likewise.
(signed_comparison_operator): Likewise.
(alpha_fp_comparison_operator): New.
(alpha_emit_conditional_branch): Handle unordered compares.
* alpha.h (PREDICATE_CODES): Update.
* alpha.md (fp compares): Use alpha_fp_comparison_operator.
(bunordered, bordered): New.

* cp/call.c (build_over_call): Use expand_tree_builtin.
* cp/typeck.c (build_function_call_real): Likewise.
(build_binary_op_nodefault): Handle unordered compares.

* gcc.c-torture/execute/ieee/fp-cmp-4.c: New.

From-SVN: r31591

24 years agoalpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
Richard Henderson [Mon, 24 Jan 2000 19:51:09 +0000 (11:51 -0800)]
alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.

        * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
        * alpha.md (movtf): New expander, insn, and splitter.

From-SVN: r31589

24 years agoreg-stack.c (subst_stack_regs_pat): Handle correctly USEs of dead registers.
Jan Hubicka [Mon, 24 Jan 2000 18:58:32 +0000 (19:58 +0100)]
reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of dead registers.

* reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
dead registers.

From-SVN: r31588

24 years agoi386.h (FIRST_PSEUDO_REGISTER): Set to 21.
Jan Hubicka [Mon, 24 Jan 2000 16:39:07 +0000 (17:39 +0100)]
i386.h (FIRST_PSEUDO_REGISTER): Set to 21.

* i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
(FIXED_REGISTERS, CALL_USED_REGISTERS,
 REG_ALLOC_ORDER): Add frame pointer
(FRAME_POINTER_REGNUM): Set to 20
(HARD_FRAME_POINTER_REGNUM): New macro.
(ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
to HARD_FRAME_POINTER.
(REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
(REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
(REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
(HI_REGISTER_NAMES): Add "frame".
(CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
(debug_reg): Handle FRAME_POINTER_REGNUM.
(reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
GENERAL_REGS and INDEX_REGS.
* i386.c (SAVED_REGS_FIRST): new macro.
(AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
(ix86_decompose_address, memory_address_length): Likewise.
(regclass_map): Add frame pointer.
(call_insn_operand): Handle frame_pointer_rtx.
(reg_no_sp_operand): Likewise.
(ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
(print_operand, legitimize_pic_address): Fix formating.
(ix86_compute_frame_size): Make static, update prototype, new
parameters padding1, padding2, use ix86_nsaved_regs, use
stack_alignment_needed.
(ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
to HARD_FRAME_POINTER_REGNUM conversions.
(ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
(ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
(print_reg): Abort on FRAME_POINTER_REGNUM

From-SVN: r31587

24 years agoi386.h (PREDICATE_CODES): Add aligned_operand.
Jan Hubicka [Mon, 24 Jan 2000 15:54:35 +0000 (16:54 +0100)]
i386.h (PREDICATE_CODES): Add aligned_operand.

* i386.h (PREDICATE_CODES): Add aligned_operand.
* i386.c (aligned_operand): New function.
(ix86_aligned_p): Kill.
* i386.md (movhi_1): Emit mov for aligned operands.
(promoting peep2s): Use aligned_operand.

From-SVN: r31586

24 years agocp-tree.h (CPTI_BAD_CAST, [...]): New cp_tree_index values.
Nathan Sidwell [Mon, 24 Jan 2000 12:16:59 +0000 (12:16 +0000)]
cp-tree.h (CPTI_BAD_CAST, [...]): New cp_tree_index values.

* cp-tree.h (CPTI_BAD_CAST, CPTI_BAD_TYPEID, CPTI_DCAST): New
cp_tree_index values.
(throw_bad_cast_node, throw_bad_typeid_node, dynamic_cast_node):
New global node #defines for them.
* rtti.c (call_void_fn): Replace with ...
(build_runtime_decl): ... new static function.
(throw_bad_cast): Use throw_bad_cast_node and build_runtime_decl.
(throw_bad_typeid): Use throw_bad_typeid_node and build_runtime_decl.
(build_dynamic_cast_1): Always produce correctly typed result.
Explicitly produce type_info addresses. Use dynamic_cast_node.
* exception.cc (__throw_bad_cast): Return `void *'.
(__throw_bad_typeid): Return `const type_info &'.

From-SVN: r31585

24 years agostl_iterator.h: Make it possible to use standard class `iterator'.
Gabriel Dos Reis [Mon, 24 Jan 2000 11:25:23 +0000 (12:25 +0100)]
stl_iterator.h: Make it possible to use standard class `iterator'.

2000-01-19  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * stl_iterator.h: Make it possible to use standard class
        `iterator'.

From-SVN: r31584

24 years agocp-tree.h (get_vtable_decl): Prototype new function.
Nathan Sidwell [Mon, 24 Jan 2000 10:59:02 +0000 (10:59 +0000)]
cp-tree.h (get_vtable_decl): Prototype new function.

* cp-tree.h (get_vtable_decl): Prototype new function.
* class.c (get_vtable_decl): New function. Broken out from ...
(build_vtable): ... here. Use it.
* decl2.c (finish_vtable_vardecl): Ignore dummy vtables created
by get_vtable_decl.

From-SVN: r31583

24 years agocp-tree.h (CPTI_TP_DESC_TYPE, [...]): Remove cp_tree_index enumerations.
Nathan Sidwell [Mon, 24 Jan 2000 10:23:26 +0000 (10:23 +0000)]
cp-tree.h (CPTI_TP_DESC_TYPE, [...]): Remove cp_tree_index enumerations.

* cp-tree.h (CPTI_TP_DESC_TYPE, CPTI_ACCESS_MODE_TYPE,
CPTI_USER_DESC_TYPE, CPTI_CLASS_DESC_TYPE, CPTI_ATTR_DESC_TYPE,
CPTI_PTMF_DESC_TYPE): Remove cp_tree_index enumerations.
(CPTI_TI_DESC_TYPE, CPTI_REF_DESC_TYPE, CPTI_ARY_DESC_TYPE,
CPTI_ENUM_DESC_TYPE, CPTI_CLASS_DESC_TYPE, CPTI_SI_CLASS_DESC_TYPE,
CPTI_VMI_CLASS_DESC_TYPE, CPTI_BASE_DESC_TYPE): New enumerations.
(CPTI_TINFO_FN_ID, CPTI_TINFO_FN_TYPE): Rename to ...
(CPTI_TINFO_DECL_ID, CPTI_TINFO_DECL_TYPE): ... here.
(CPTI_TINFO_VAR_ID): New enumeration.
(__tp_desc_type_node, __access_mode_type_node,
__bltn_desc_type_node, __user_desc_type_node,
__class_desc_type_node, __ptr_desc_type_node,
__attr_desc_type_node, __func_desc_type_node,
__ptmf_desc_type_node, __ptmd_desc_type_node): Remove #defines.
(ti_desc_type_node, bltn_desc_type_node, ptr_desc_type_node,
ref_desc_type_node, ary_desc_type_node, func_desc_type_node,
enum_desc_type_node, class_desc_type_node,
si_class_desc_type_node, vmi_class_desc_type_node,
ptmd_desc_type_node, base_desc_type_node): New #defines.
(tinfo_fn_id, tinfo_fn_type): Rename to ...
(tinfo_decl_id, tinfo_decl_type): ... here. Adjust.
(tinfo_var_id): New enumeration.
(DECL_TINFO_FN_P): Augment comment.
* decl.c (cp_global_trees): Adjust documentation.
* rtti.c (init_rtti_processing): Adjust for tinfo_decl_id,
tinfo_decl_type and tinfo_var_id.
(get_tinfo_decl_dynamic): Adjust for tinfo_decl_type.
(build_typeid): Remove unused variable.
(get_tinfo_var): Use tinfo_var_id.
(tinfo_name): New static function.
(get_tinfo_decl): Adjust for tinfo_decl_id and tinfo_decl_type.
(tinfo_from_decl): Likewise.
(get_base_offset): New static function, broken out of
expand_class_desc.
(expand_si_desc): Use tinfo_name.
(expand_class_desc): Likewise. Lose local static variable.
Use base_desc_type_node. Use get_base_offset.
(expand_ptr_desc): Use tinfo_name.
(expand_attr_desc): Likewise.
(expand_generic_desc): Likewise.

* tinfo.cc (__GXX_ABI_VERSION): Test value and existance.
* tinfo.h (__GXX_ABI_VERSION): Test value and existance.

From-SVN: r31582

24 years agoDaily bump.
Jeff Law [Mon, 24 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31581

24 years agofixfixes.c (fix_char_macro_uses): Correct regular expression to allow underscores...
Zack Weinberg [Mon, 24 Jan 2000 04:53:58 +0000 (04:53 +0000)]
fixfixes.c (fix_char_macro_uses): Correct regular expression to allow underscores in macro names.

* fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
expression to allow underscores in macro names.
(fix_char_macro_defines): Increment scanning pointer.

From-SVN: r31580

24 years agoosf.h (TARGET_HAS_XFLOATING_LIBS): Define.
Richard Henderson [Mon, 24 Jan 2000 04:02:40 +0000 (20:02 -0800)]
osf.h (TARGET_HAS_XFLOATING_LIBS): Define.

        * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
        * alpha/osf5.h: New file.
        * configure.in (alpha-*-osf5): Add it to tm_file.

        * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.

        * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
        (alpha_emit_xfloating_cvt, function_arg): Declare.
        * alpha.c (alpha_emit_conditional_branch): Call
        alpha_emit_xfloating_compare for TFmode compares.
        (alpha_lookup_xfloating_lib_func): New.
        (alpha_compute_xfloating_mode_arg): New.
        (alpha_emit_xfloating_libcall): New.
        (alpha_emit_xfloating_arith): New.
        (alpha_emit_xfloating_compare): New.
        (alpha_emit_xfloating_cvt): New.
        (print_operand): Add default abort case.
        (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
        * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
        (BIGGEST_ALIGNMENT): Increase to 128 bits.
        (RETURN_IN_MEMORY): True for TF/TCmode.
        (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
        (FUNCTION_ARG): Move to function_arg.
        (FUNCTION_ARG_PASS_BY_REFERENCE): New.
        (ASM_OUTPUT_LONG_DOUBLE): New.
        (ASM_OUTPUT_DOUBLE): Always output bits.
        * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
        (fix_trunctfdi2, floatditf2, floatunsditf2): New.
        (extenddftf2, trunctfdf2): New.

From-SVN: r31579

24 years agosol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
Alexandre Oliva [Mon, 24 Jan 2000 00:47:38 +0000 (00:47 +0000)]
sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...

* config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
* config/sparc/sol2.h: ... here.

From-SVN: r31578

24 years agobasic-block.h (struct loops): New field `levels'.
Michael Hayes [Sun, 23 Jan 2000 23:10:09 +0000 (23:10 +0000)]
basic-block.h (struct loops): New field `levels'.

2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

* basic-block.h (struct loops): New field `levels'.
* flow.c (flow_loops_level_compute): Traverse all outer loops.
(flow_loop_level_compute): Initialise level to 1.
(flow_loops_find): Set loops->levels.
(flow_loops_dump): Print loops->levels.

From-SVN: r31577

24 years agolibgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
Richard Henderson [Sun, 23 Jan 2000 22:33:30 +0000 (14:33 -0800)]
libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.

        * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
        (throw_helper): Iterate over DWARF_FRAME_REGISTERS.

From-SVN: r31576

24 years agoi386.c (dbx_register_map, [...]): New.
Richard Henderson [Sun, 23 Jan 2000 21:43:06 +0000 (13:43 -0800)]
i386.c (dbx_register_map, [...]): New.

        * i386.c (dbx_register_map, svr4_dbx_register_map): New.
        * i386.h (DBX_REGISTER_NUMBER): Use them.
        * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
        * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
        * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
        * i386/sequent.h: Kill incorrect comment.

From-SVN: r31575

24 years ago(struct globals): Likewise.
Mark Mitchell [Sun, 23 Jan 2000 20:42:53 +0000 (20:42 +0000)]
(struct globals): Likewise.

From-SVN: r31574

24 years agocp-tree.h (__eprintf): Remove declaration.
Mark Mitchell [Sun, 23 Jan 2000 19:51:01 +0000 (19:51 +0000)]
cp-tree.h (__eprintf): Remove declaration.

* cp-tree.h (__eprintf): Remove declaration.
* tree.c (__eprintf): Remove definition.

* cp-tree.h (CLASSTYPE_MARKED_N, SET_CLASSTYPE_MARKED_N,
CLEAR_CLASSTYPE_MARKED_N): Avoid signed vs. unsigned warnings.

From-SVN: r31573

24 years agoggc-page.c (struct page_entry): Make `context_depth' an `unsigned short'.
Mark Mitchell [Sun, 23 Jan 2000 19:18:45 +0000 (19:18 +0000)]
ggc-page.c (struct page_entry): Make `context_depth' an `unsigned short'.

* ggc-page.c (struct page_entry): Make `context_depth' an
`unsigned short'.

From-SVN: r31572

24 years ago* class.c (dump_class_hierarchy): Print HOST_WIDE_INT properly.
Brad Lucier [Sun, 23 Jan 2000 18:58:54 +0000 (18:58 +0000)]
* class.c (dump_class_hierarchy): Print HOST_WIDE_INT properly.

From-SVN: r31571

24 years agocp-tree.h (register_dtor_fn): New function.
Mark Mitchell [Sun, 23 Jan 2000 18:40:20 +0000 (18:40 +0000)]
cp-tree.h (register_dtor_fn): New function.

* cp-tree.h (register_dtor_fn): New function.
* decl.c (destroy_local_static): Rename to ...
(register_dtor_fn): ... this.  Give it external linkage.
(expand_static_init): Use it.
* decl2.c (do_static_initialization): Likewise, if using
__cxa_atexit.
(do_static_destruction): Check that __cxa_atexit is not in use.
(finish_file): Don't call do_static_destruction if using
__cxa_atexit.

* typeck.c (convert_arguments): Restore two-message error
reporting.

From-SVN: r31570

24 years agoloop.c (check_dbra_loop): When checking a loop for reversability...
Clinton Popetz [Sun, 23 Jan 2000 16:07:00 +0000 (16:07 +0000)]
loop.c (check_dbra_loop): When checking a loop for reversability...

* loop.c (check_dbra_loop): When checking a loop for
reversability, check the source of any stores to ensure
they don't depend on an initial value.

From-SVN: r31569

24 years agoImprove comment on SUPPORTS_WEAK.
Robert Lipe [Sun, 23 Jan 2000 13:46:16 +0000 (13:46 +0000)]
Improve comment on SUPPORTS_WEAK.

From-SVN: r31568

24 years agoDaily bump.
Jeff Law [Sun, 23 Jan 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31567

24 years agoconfig.h.in: Rebuilt.
Anthony Green [Sat, 22 Jan 2000 21:15:58 +0000 (21:15 +0000)]
config.h.in: Rebuilt.

* include/config.h.in: Rebuilt.
* acconfig.h: Add undef for __NO_MATH_INLINES.
* configure: Rebuilt.
* configure.in: Add test for `g++ -O2 -ffloat-store' bug.

From-SVN: r31566

24 years agoc4x.h (ASM_OUTPUT_BSS): Redefine.
Michael Hayes [Sat, 22 Jan 2000 21:13:59 +0000 (21:13 +0000)]
c4x.h (ASM_OUTPUT_BSS): Redefine.

2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

* config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.

From-SVN: r31565

24 years agofixincl.c: Move declarations of 'pz_fname' and 'pz_scan' into scope of entire function.
Zack Weinberg [Sat, 22 Jan 2000 20:55:18 +0000 (20:55 +0000)]
fixincl.c: Move declarations of 'pz_fname' and 'pz_scan' into scope of entire function.

  * fixinc/fixincl.c: Move declarations of 'pz_fname' and
'pz_scan' into scope of entire function.  Only affects
compiles with -DDEBUG.

From-SVN: r31564

24 years agoFix definition of UNIQUE_SECTION so that zero initialised data is placed
Alan Modra [Sat, 22 Jan 2000 19:49:21 +0000 (19:49 +0000)]
Fix definition of UNIQUE_SECTION so that zero initialised data is placed
into .data.

From-SVN: r31563

24 years agocatch a SUBREG containing a constant.
Bernd Schmidt [Sat, 22 Jan 2000 19:42:34 +0000 (19:42 +0000)]
catch a SUBREG containing a constant.

From-SVN: r31562

24 years agoTest for directory before trying to cd into it
Jim Wilson [Sat, 22 Jan 2000 19:05:31 +0000 (19:05 +0000)]
Test for directory before trying to cd into it

From-SVN: r31561

24 years agoDaily bump.
Jeff Law [Sat, 22 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31560

24 years agocpphash.c (change_newlines): Delete function.
Zack Weinberg [Sat, 22 Jan 2000 04:18:41 +0000 (04:18 +0000)]
cpphash.c (change_newlines): Delete function.

* cpphash.c (change_newlines): Delete function.
(struct argdata): Delete 'newlines' and 'use_count' fields.
(macroexpand): Remove code referencing those fields.

From-SVN: r31559

24 years agoAnother test for preprocessor corner cases
Zack Weinberg [Sat, 22 Jan 2000 04:12:52 +0000 (04:12 +0000)]
Another test for preprocessor corner cases

From-SVN: r31558

24 years agoloop.c (loops_info): New variable.
Michael Hayes [Sat, 22 Jan 2000 02:23:14 +0000 (02:23 +0000)]
loop.c (loops_info): New variable.

* loop.c (loops_info): New variable.
(loop_optimize): Allocate loops->array and free it on exit.
Allocate memory for loops_info and assign to each loop,
  replacing alloca.
(find_and_verify_loops): Do not allocate loops->array.

From-SVN: r31556

24 years agoTest for reload bug with 'long long' function parameters.
Zack Weinberg [Sat, 22 Jan 2000 01:08:14 +0000 (01:08 +0000)]
Test for reload bug with 'long long' function parameters.

Found with 2.95.2 on x86; already fixed in 2.96.
Reported by D.J. Bernstein.

From-SVN: r31555

24 years ago* fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
Zack Weinberg [Sat, 22 Jan 2000 00:40:49 +0000 (00:40 +0000)]
* fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.

From-SVN: r31554

24 years agonatConstructor.cc (newInstance): Use _Jv_CallAnyMethodA.
Tom Tromey [Fri, 21 Jan 2000 23:50:31 +0000 (23:50 +0000)]
natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA.

* java/lang/reflect/natConstructor.cc (newInstance): Use
_Jv_CallAnyMethodA.
* include/jvm.h: Declare _Jv_CallAnyMethodA.
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Renamed
from _Jv_CallNonvirtualMethodA.  Changed interface; overloaded.
Include <jni.h>.
(COPY): Removed.
(invoke): Use _Jv_CallAnyMethodA.
(VAL): Redefined.
* java/lang/Class.h (Class): Declare JvGetFirstStaticField,
JvNumStaticFields, JvNumMethods, and JvGetFirstMethod as friend
functions.
(struct _Jv_Method): Added getNextMethod method.
(JvNumMethods): New function.
(JvGetFirstMethod): Likewise.
* gcj/field.h (JvGetFirstStaticField): New function.
(JvNumStaticFields): Likewise.
(getNextField): Renamed from getNextInstanceField.
(struct _Jv_Field): New method getClass.
* jni.cc: Wrote many new functions.
* include/jni.h (JNI_TRUE): Define.
(JNI_FALSE): Likewise.
(jobject, jclass, jstring, jarray, jthrowable, jobjectArray,
jbyteArray, jshortArray, jintArray, jlongArray, jbooleanArray,
jcharArray, jfloatArray, jdoubleArray): New typedefs.
(jfieldID, jmethodID): Likewise.
(JNI_COMMIT, JNI_ABORT): New defines.
(JNINativeMethod): New struct.
(struct JNINativeInterface): Correctly declared more entries.
(class _Jv_JNIEnv): Added `ex' member.
(JNI_VERSION_1_1): New define.
(JNI_VERSION_1_2): Likewise.

* boehm.cc (_Jv_MarkObj): Use getNextField, not
getNextInstanceField.

From-SVN: r31553

24 years ago* libjava.compile/BlankFinal.java: New file.
Tom Tromey [Fri, 21 Jan 2000 21:12:47 +0000 (21:12 +0000)]
* libjava.compile/BlankFinal.java: New file.

From-SVN: r31552

24 years agoFix typo in ChangeLog
Kaveh Ghazi [Fri, 21 Jan 2000 20:59:01 +0000 (20:59 +0000)]
Fix typo in ChangeLog

From-SVN: r31551

24 years agobuffer.h: PROTO -> PARAMS.
Kaveh R. Ghazi [Fri, 21 Jan 2000 20:57:00 +0000 (20:57 +0000)]
buffer.h: PROTO -> PARAMS.

        * buffer.h: PROTO -> PARAMS.
        * check-init.c: Likewise.
        * class.c: Likewise.
        * constants.c: Likewise.
        * convert.h: Likewise.
        * decl.c: Likewise.
        * except.c: Likewise.
        * expr.c: Likewise.
        * gjavah.c: Likewise.
        * java-except.h: Likewise.
        * java-tree.h: Likewise.
        * jcf-depend.c: Likewise.
        * jcf-dump.c: Likewise.
        * jcf-parse.c: Likewise.
        * jcf-path.c: Likewise.
        * jcf-reader.c: Likewise.
        * jcf-write.c: Likewise.
        * jcf.h: Likewise.
        * jv-scan.c: Likewise.
        * jvgenmain.c: Likewise.
        * jvspec.c: Likewise.
        * lang.c: Likewise.
        * lex.c: Likewise.
        * lex.h: Likewise.
        * parse-scan.y: Likewise.
        * parse.h: Likewise.
        * parse.y: Likewise.
        * typeck.c: Likewise.
        * verify.c: Likewise.
        * xref.c: Likewise.
        * xref.h: Likewise.
        * zextract.c: Likewise.
        * zipfile.h: Likewise.

From-SVN: r31550

24 years agosparc.md (movsi_pic_label_ref): Avoid creating new pseudos if expanded after first...
Jakub Jelinek [Fri, 21 Jan 2000 20:49:33 +0000 (21:49 +0100)]
sparc.md (movsi_pic_label_ref): Avoid creating new pseudos if expanded after first flow.

* config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
pseudos if expanded after first flow.
(movdi_pic_label_ref): Likewise.

From-SVN: r31549

24 years agoTypo fix.
Joern Rennecke [Fri, 21 Jan 2000 10:36:05 +0000 (10:36 +0000)]
Typo fix.

From-SVN: r31548

24 years agoDaily bump.
Jeff Law [Fri, 21 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31547

24 years ago* jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
Richard Henderson [Thu, 20 Jan 2000 22:08:29 +0000 (14:08 -0800)]
* jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.

From-SVN: r31546

24 years ago* gcc.c-torture/execute/20000120-2.c: New test.
Jeffrey A Law [Thu, 20 Jan 2000 19:45:39 +0000 (19:45 +0000)]
* gcc.c-torture/execute/20000120-2.c: New test.

From-SVN: r31545

24 years ago* gcc.c-torture/execute/20000120-1.c: New test.
Jeffrey A Law [Thu, 20 Jan 2000 19:35:29 +0000 (19:35 +0000)]
* gcc.c-torture/execute/20000120-1.c: New test.

From-SVN: r31544

24 years agoFix typo in last commit
Zack Weinberg [Thu, 20 Jan 2000 18:28:37 +0000 (18:28 +0000)]
Fix typo in last commit

From-SVN: r31543

24 years agoMakefile.in (fixinc.sh): Depend on specs.
Zack Weinberg [Thu, 20 Jan 2000 18:25:12 +0000 (18:25 +0000)]
Makefile.in (fixinc.sh): Depend on specs.

* Makefile.in (fixinc.sh): Depend on specs.
        * fixinc/Makefile.in: Add rule to create machname.h.
        (fixlib.o): Depend on machname.h.
        * fixinc/fixtests.c (machine_name): New test.
        * fixinc/fixfixes.c (machine_name): New fix.
        * fixinc/fixlib.c (mn_get_regexps): New helper function for
        the machine_name test and fix.
        * fixinc/fixlib.h: Prototype it.
        * fixinc/inclhack.def (machine_name): Use the C test and fix.
* fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.

        * gcc.c (do_spec_1) [case P]: Take care not to create
        identifiers with three leading or trailing underscores.

* fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
(fixincl): Don't specify libraries twice on link line.
(gnu-regex.o): Remove special rule.
* fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
defined by config.h.  Do not define _REGEX_RE_COMP.
(regcomp): Allocate and initialize a fastmap.
* fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.

From-SVN: r31542

24 years ago* Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
Brad Lucier [Thu, 20 Jan 2000 17:34:26 +0000 (17:34 +0000)]
* Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.

From-SVN: r31540

24 years agoresolve.cc (StringClass): Removed.
Tom Tromey [Thu, 20 Jan 2000 17:32:26 +0000 (17:32 +0000)]
resolve.cc (StringClass): Removed.

* resolve.cc (StringClass): Removed.
* defineclass.cc (StringClass): Removed.

From-SVN: r31539

24 years agoRemap dynamic cast hint values to be consistent across ABIs.
Nathan Sidwell [Thu, 20 Jan 2000 11:05:19 +0000 (11:05 +0000)]
Remap dynamic cast hint values to be consistent across ABIs.

* search.c (dynamic_cast_base_recurse): Remap generated value.
(get_dynamic_cast_base_type): Adjust documentation.
* tinfo.h (__user_type_info::dyncast): Likewise.
(__user_type_info::find_public_subobj): Remap BOFF meaning.
* tinfo.cc (__si_type_info::do_dyncast): Remap BOFF meaning.
(__class_type_info::do_dyncast): Likewise.
(__class_type_info::do_find_public_subobj): Likewise.
* tinfo2.cc (__dynamic_cast): Remap BOFF parameter.

From-SVN: r31538

24 years agotypeck.c (build_unary_op): Use cp_pedwarn, not pedwarn.
Gabriel Dos Reis [Thu, 20 Jan 2000 09:24:01 +0000 (09:24 +0000)]
typeck.c (build_unary_op): Use cp_pedwarn, not pedwarn.

2000-01-19  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * typeck.c (build_unary_op): Use cp_pedwarn, not pedwarn.

        * typeck2.c (incomplete_type_error): Restore previous cp_error and
        cp_error_at call sequence.

From-SVN: r31537

24 years agoDaily bump.
Jeff Law [Thu, 20 Jan 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31536

24 years agoclass.c (dump_class_hierarchy): Make format agree with argument; cast pointer to...
Brad Lucier [Thu, 20 Jan 2000 08:12:26 +0000 (08:12 +0000)]
class.c (dump_class_hierarchy): Make format agree with argument; cast pointer to unsigned long and print with %lx.

* class.c (dump_class_hierarchy): Make format agree with argument;
cast pointer to unsigned long and print with %lx.

From-SVN: r31535

24 years agoflow.c (propagate_block): Replace FIRST, LAST and BNUM arguments with BB.
Richard Henderson [Thu, 20 Jan 2000 03:59:57 +0000 (19:59 -0800)]
flow.c (propagate_block): Replace FIRST, LAST and BNUM arguments with BB.

        * flow.c (propagate_block): Replace FIRST, LAST and BNUM
        arguments with BB.  Update all callers.  Tidy line wrapping.

From-SVN: r31534

24 years agoemit-rtl.c (try_split): Return last_insn if we split the last_insn.
Clinton Popetz [Thu, 20 Jan 2000 00:41:52 +0000 (00:41 +0000)]
emit-rtl.c (try_split): Return last_insn if we split the last_insn.

* emit-rtl.c (try_split): Return last_insn if we split the
last_insn.

From-SVN: r31530

24 years agoi386-protos.h (ix86_compute_frame_size): Remove prototype.
Jan Hubicka [Thu, 20 Jan 2000 00:05:32 +0000 (01:05 +0100)]
i386-protos.h (ix86_compute_frame_size): Remove prototype.

* i386-protos.h (ix86_compute_frame_size): Remove prototype.
(ix86_initial_elimination_offset): Declare.
* i386.c (ix86_nsaved_regs): Break out from ...
(ix86_can_use_return_insn_p): ... here.
(ix86_emit_save_regs): Break out from ...
(ix86_expand_prologue): ... here.
(ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
out from ...
(ix86_expand_epilogue): ... here.
(ix86_compute_frame_size): Make static, add prototype.
(ix86_initial_elimination_offset): Break out from ...
* i386.h (INITIAL_ELIMINATION_OFFSET): ... here.

From-SVN: r31529

24 years agomore copyright nits
Kaveh Ghazi [Wed, 19 Jan 2000 23:47:13 +0000 (23:47 +0000)]
more copyright nits

From-SVN: r31527

24 years agoupdate copyrights in config dir.
Kaveh Ghazi [Wed, 19 Jan 2000 23:44:14 +0000 (23:44 +0000)]
update copyrights in config dir.

From-SVN: r31526

24 years agorecog.h (OUT_FCN): Delete.
Kaveh R. Ghazi [Wed, 19 Jan 2000 23:14:17 +0000 (23:14 +0000)]
recog.h (OUT_FCN): Delete.

        * recog.h (OUT_FCN): Delete.

        * vax.md: Call `get_insn_template' instead of OUT_FCN.

From-SVN: r31524

24 years agoUpdated NEWS file.
Bryce McKinlay [Wed, 19 Jan 2000 23:08:05 +0000 (23:08 +0000)]
Updated NEWS file.

From-SVN: r31522

24 years agocppalloc.c: PROTO -> PARAMS.
Kaveh R. Ghazi [Wed, 19 Jan 2000 22:52:43 +0000 (22:52 +0000)]
cppalloc.c: PROTO -> PARAMS.

        * cppalloc.c: PROTO -> PARAMS.
        * cpperror.c: Likewise.
        * cppfiles.c: Likewise.
        * cpplib.c: Likewise.
        * cpplib.h: Likewise.

From-SVN: r31521

24 years agoarm-protos.h: PROTO -> PARAMS.
Kaveh R. Ghazi [Wed, 19 Jan 2000 22:39:31 +0000 (22:39 +0000)]
arm-protos.h: PROTO -> PARAMS.

        * config/arm/arm-protos.h: PROTO -> PARAMS.
        * config/arm/arm.c: Likewise.
        * config/c4x/c4x.c: Likewise.
        * config/fr30/fr30-protos.h: Likewise.
        * config/nextstep.c: Likewise.
        * config/pa/pa.c: Likewise.
        * config/pj/pj.c: Likewise.
        * config/rs6000/rs6000.c: Likewise.
        * config/v850/v850-protos.h: Likewise.
        * config/v850/v850.c: Likewise.

From-SVN: r31520

24 years agoi370-protos.h: New file.
Kaveh R. Ghazi [Wed, 19 Jan 2000 22:25:21 +0000 (22:25 +0000)]
i370-protos.h: New file.

        * i370-protos.h: New file.

        * i370.c: Include tm_p.h.  Fix compile time warnings.

        * i370.h: Move prototypes to i370-protos.h.  Fix compile time
        warnings.

        * i370.md: Likewise.

From-SVN: r31519

24 years agoreal.c (enan, [...]): Wrap in NANS.
Kaveh R. Ghazi [Wed, 19 Jan 2000 22:21:22 +0000 (22:21 +0000)]
real.c (enan, [...]): Wrap in NANS.

        * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
        (target_isinf, target_isnan, eisnan): Mark parameter with
        ATTRIBUTE_UNUSED.
        (eiisinf): Wrap in INFINITY.
        (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
        (ibmtoe): Remove unused variable `rndsav'.

From-SVN: r31518

24 years agoBack out prepare_scc_operands changes from this afternoon.
J"orn Rennecke [Wed, 19 Jan 2000 21:57:38 +0000 (21:57 +0000)]
Back out prepare_scc_operands changes from this afternoon.

From-SVN: r31515

24 years ago* sh.c (prepare_scc_operands): Add EQ case.
J"orn Rennecke [Wed, 19 Jan 2000 21:49:21 +0000 (21:49 +0000)]
* sh.c (prepare_scc_operands): Add EQ case.

From-SVN: r31514

24 years agosh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
J"orn Rennecke [Wed, 19 Jan 2000 21:47:13 +0000 (21:47 +0000)]
sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.

* sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
(GO_IF_LEGITIMATE_ADDRESS): Added missing tab.

From-SVN: r31513

24 years agoMakefile.in: Correct dependencies of fixincl and fixincl.o.
Zack Weinberg [Wed, 19 Jan 2000 21:41:04 +0000 (21:41 +0000)]
Makefile.in: Correct dependencies of fixincl and fixincl.o.

* fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
* fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
(fix_char_macro_defines, fix_char_macro_uses): New functions.

* fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
Recognize Emacs mode markers also.
* fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
C++ comments in C++ headers.  Call is_cxx_header only if
necessary.

* fixinc/inclhack.def (avoid_bool): Add select for the problem and
bypass for ncurses.
(bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
(io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
... these, which use the new C fixes.
(math_exception): Escape literal '+' in bypass expression.

* fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
Regenerate.

From-SVN: r31512

24 years agoanon.java, [...]: New files.
Alexandre Petit-Bianco [Wed, 19 Jan 2000 21:38:43 +0000 (21:38 +0000)]
anon.java, [...]: New files.

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

* libjava.lang/anon.java, libjava.lang/anon2.java,
libjava.lang/anon3.java, libjava.lang/anon4.java,
libjava.lang/direct_read.java, libjava.lang/direct_write.java,
libjava.lang/indirect.java, libjava.lang/indirect_read.java,
libjava.lang/indirect_write.java, libjava.lang/inner1.java,
libjava.lang/inner2.java, libjava.lang/inner3.java,
libjava.lang/inner4.java, libjava.lang/inner_array.java,
libjava.lang/multiple_finit.java,
libjava.lang/private_direct_read.java,
libjava.lang/private_direct_write.java,
libjava.lang/private_indirect_read.java,
libjava.lang/private_indirect_write.java,
libjava.lang/search_outer.java, libjava.lang/tmi.java,
libjava.lang/tp.java, libjava.lang/update_outer.java: New files.

From-SVN: r31511

24 years ago* interpret.cc (PC_REGISTER_ASM): Removed.
Tom Tromey [Wed, 19 Jan 2000 21:08:03 +0000 (21:08 +0000)]
* interpret.cc (PC_REGISTER_ASM): Removed.

From-SVN: r31510

24 years agortlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs inside the MEM.
Geoff Keating [Wed, 19 Jan 2000 20:21:08 +0000 (20:21 +0000)]
rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs inside the MEM.

* rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
inside the MEM.

From-SVN: r31509

24 years agoloop.c (loop_optimize): Allocate loop_info structure for each loop prior to calling...
Michael Hayes [Wed, 19 Jan 2000 20:10:00 +0000 (20:10 +0000)]
loop.c (loop_optimize): Allocate loop_info structure for each loop prior to calling scan_loop.

* loop.c (loop_optimize): Allocate loop_info structure for each loop
prior to calling scan_loop.

From-SVN: r31508

24 years agosh.c (prepare_scc_operands): Abort if no compare insn is available.
J"orn Rennecke [Wed, 19 Jan 2000 20:00:09 +0000 (20:00 +0000)]
sh.c (prepare_scc_operands): Abort if no compare insn is available.

* sh.c (prepare_scc_operands): Abort if no compare insn is available.
(find_barrier, gen_block_redirect, split_branches): Fix indentation.
(calc_live_regs): Likewise.

From-SVN: r31507

24 years ago* sh.md (fpu_single, fp_mode): New attributes.
J"orn Rennecke [Wed, 19 Jan 2000 19:18:20 +0000 (19:18 +0000)]
* sh.md (fpu_single, fp_mode): New attributes.

From-SVN: r31506

This page took 0.106405 seconds and 5 git commands to generate.