platform/upstream/gcc.git
25 years ago* ir.texi: Document LOOP_EXPR and EXIT_EXPR.
Mark Mitchell [Tue, 5 Oct 1999 23:40:00 +0000 (23:40 +0000)]
* ir.texi: Document LOOP_EXPR and EXIT_EXPR.

From-SVN: r29834

25 years ago* ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
Paul Burchard [Tue, 5 Oct 1999 23:29:32 +0000 (23:29 +0000)]
* ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.

From-SVN: r29833

25 years agoMake libgcc1-test.c compile without warnings
Michael Meissner [Tue, 5 Oct 1999 23:07:09 +0000 (23:07 +0000)]
Make libgcc1-test.c compile without warnings

From-SVN: r29832

25 years agoDo not include stddef.h if building trampoline support and inhibit_libc is defined
Michael Meissner [Tue, 5 Oct 1999 19:59:03 +0000 (19:59 +0000)]
Do not include stddef.h if building trampoline support and inhibit_libc is defined

From-SVN: r29831

25 years agoMark args as unused.
Michael Meissner [Tue, 5 Oct 1999 19:48:55 +0000 (19:48 +0000)]
Mark args as unused.

From-SVN: r29830

25 years agoDeclare malloc, free, and atexit if inhibit_libc is defined.
Michael Meissner [Tue, 5 Oct 1999 19:41:35 +0000 (19:41 +0000)]
Declare malloc, free, and atexit if inhibit_libc is defined.

From-SVN: r29829

25 years agoflow.c (make_edge): Accept an optional 2D bitmap in which to cache edge existence.
Richard Henderson [Tue, 5 Oct 1999 19:01:01 +0000 (12:01 -0700)]
flow.c (make_edge): Accept an optional 2D bitmap in which to cache edge existence.

        * flow.c (make_edge): Accept an optional 2D bitmap in which
        to cache edge existence.  Update all callers.
        (make_label_edge, make_eh_edge): Pass through the edge cache.
        (make_edges): Provide the cache.

From-SVN: r29828

25 years agombchar.c (literal_codeset, [...]): Constify a char*.
Kaveh R. Ghazi [Tue, 5 Oct 1999 16:21:34 +0000 (16:21 +0000)]
mbchar.c (literal_codeset, [...]): Constify a char*.

* mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
a char*.
(local_mbtowc): Change the type of variable `i' from int to size_t.

* mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
(local_mbtowc, local_mblen, literal_codeset): Constify a char*.

From-SVN: r29827

25 years agomethod.c (synthesize_method): Call setup_vtbl_ptr for destructors.
Mark Mitchell [Tue, 5 Oct 1999 16:19:04 +0000 (16:19 +0000)]
method.c (synthesize_method): Call setup_vtbl_ptr for destructors.

* method.c (synthesize_method): Call setup_vtbl_ptr for destructors.

* decl.c (start_function): Set current_in_charge_parm for
constructors, too, where appropriate.
* search.c (fixup_all_virtual_upcast_offsets): New function.
(expand_indirect_vtbls_init): Use it.

From-SVN: r29826

25 years agoInclude tm_p.h in ggc files
Michael Meissner [Tue, 5 Oct 1999 15:42:18 +0000 (15:42 +0000)]
Include tm_p.h in ggc files

From-SVN: r29825

25 years agomips.c (mips_move_2words): Split doubles if ISA >= 3, !TARGET_64BIT, and destination...
Diego Novillo [Tue, 5 Oct 1999 12:18:56 +0000 (12:18 +0000)]
mips.c (mips_move_2words): Split doubles if ISA >= 3, !TARGET_64BIT, and destination is not an FP register.

* config/mips/mips.c (mips_move_2words): Split doubles if ISA >= 3,
!TARGET_64BIT, and destination is not an FP register.

Co-Authored-By: Jonathan Larmour <jlarmour@cygnus.co.uk>
From-SVN: r29824

25 years agoDaily bump.
Jeff Law [Tue, 5 Oct 1999 07:45:10 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29823

25 years agoRewrite to use independant test structures.
Richard Henderson [Tue, 5 Oct 1999 05:18:54 +0000 (22:18 -0700)]
Rewrite to use independant test structures.

From-SVN: r29822

25 years agoresource.c (find_free_register): Mark class_str argument const.
Zack Weinberg [Tue, 5 Oct 1999 05:00:55 +0000 (05:00 +0000)]
resource.c (find_free_register): Mark class_str argument const.

1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>

* resource.c (find_free_register): Mark class_str argument const.
* resource.h: Update prototype to match.

* i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
* i386.md: Give all anonymous insns names.

From-SVN: r29821

25 years agoJeffrey A Law (law@cygnus.com)
Jeffrey A Law [Tue, 5 Oct 1999 04:12:33 +0000 (04:12 +0000)]
Jeffrey A Law  (law@cygnus.com)

        * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
        blocks.

From-SVN: r29820

25 years agotoplev.c (dbr_sched_time): Unconditional.
Richard Henderson [Tue, 5 Oct 1999 04:04:48 +0000 (21:04 -0700)]
toplev.c (dbr_sched_time): Unconditional.

        * toplev.c (dbr_sched_time): Unconditional.
        (peephole2_time): New.
        (compile_file): Add pass numbers to all of the dump file suffixes.
        Dump peephole2_time.  Don't dump times for non-applicable passes.
        (rest_of_compilation): Add pass numbers to dump file suffixes.
        Conditionalize calls to the scheduler.
        * invoke.texi: Update.

From-SVN: r29819

25 years agoflow.c (make_edges): Fix insn iteration.
Anthony Green [Tue, 5 Oct 1999 03:44:26 +0000 (03:44 +0000)]
flow.c (make_edges): Fix insn iteration.

* flow.c (make_edges): Fix insn iteration.
(find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
(find_basic_blocks_1): Fix spelling mistake.

From-SVN: r29818

25 years agotree.c (build1): Set TREE_SIDE_EFFECTS for expressions that always have side-effects.
Richard Henderson [Mon, 4 Oct 1999 23:57:47 +0000 (16:57 -0700)]
tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that always have side-effects.

        * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
        always have side-effects.  Use memset not bzero.
        (make_node): Likewise.

From-SVN: r29817

25 years agostmt.c (expand_anon_union_decl): When any of the elements of the union is addressable...
Mark Mitchell [Mon, 4 Oct 1999 23:18:09 +0000 (23:18 +0000)]
stmt.c (expand_anon_union_decl): When any of the elements of the union is addressable, so is the entire union.

* stmt.c (expand_anon_union_decl): When any of the elements of the
union is addressable, so is the entire union.

From-SVN: r29816

25 years agoUpdate.
Ulrich Drepper [Mon, 4 Oct 1999 22:13:38 +0000 (22:13 +0000)]
Update.

From-SVN: r29815

25 years agoTest for not using results of va_arg calls.
Ulrich Drepper [Mon, 4 Oct 1999 22:12:37 +0000 (22:12 +0000)]
Test for not using results of va_arg calls.

From-SVN: r29814

25 years agoconfigure: Rebuilt.
Tom Tromey [Mon, 4 Oct 1999 22:08:42 +0000 (22:08 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Call AC_EXEEXT after LIB_AC_PROG_CC, but don't
actually let AC_EXEEXT run.

From-SVN: r29813

25 years agonatPlainSocketImpl.cc: Don't include headers if java.net is disabled.
Tom Tromey [Mon, 4 Oct 1999 21:37:30 +0000 (21:37 +0000)]
natPlainSocketImpl.cc: Don't include headers if java.net is disabled.

* java/net/natPlainSocketImpl.cc: Don't include headers if
java.net is disabled.

From-SVN: r29812

25 years agore GNATS gcj/59 (Problem with jv-scan --print-main)
Tom Tromey [Mon, 4 Oct 1999 20:32:08 +0000 (20:32 +0000)]
re GNATS gcj/59 (Problem with jv-scan --print-main)

* lex.h (BUILD_OPERATOR2): Return ASSIGN_ANY_TK in `lite' case as
well.  Fixes Java PR gcj/59.
* parse-scan.y (yyerror): Report errors.

From-SVN: r29811

25 years agoAlways use -fvtable-thunks.
Mark Mitchell [Mon, 4 Oct 1999 20:13:42 +0000 (20:13 +0000)]
Always use -fvtable-thunks.

From-SVN: r29810

25 years agoMakefile.in: Rebuilt.
Tom Tromey [Mon, 4 Oct 1999 19:09:09 +0000 (19:09 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (ZINCS): Removed.  This is defined in configure.in
when needed, and must be left empty when not needed.

From-SVN: r29809

25 years agobitmap.h (enum bitmap_bits): Add BITMAP_XOR.
Richard Henderson [Mon, 4 Oct 1999 18:52:39 +0000 (11:52 -0700)]
bitmap.h (enum bitmap_bits): Add BITMAP_XOR.

        * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
        * bitmap.c (bitmap_operation): Return true iff TO changed.
        (bitmap_equal_p): New.
        (bitmap_bit_p): Tidy arithmetic.
        (debug_bitmap_file): Likewise.

From-SVN: r29808

25 years ago* sbitmap.c (sbitmap_ones): Don't set too many bits.
Richard Henderson [Mon, 4 Oct 1999 18:39:19 +0000 (11:39 -0700)]
* sbitmap.c (sbitmap_ones): Don't set too many bits.

From-SVN: r29807

25 years agotoplev.c (rest_of_compilation): Turn on cse_not_expected before cse2 instead of after.
Richard Henderson [Mon, 4 Oct 1999 18:30:10 +0000 (11:30 -0700)]
toplev.c (rest_of_compilation): Turn on cse_not_expected before cse2 instead of after.

        * toplev.c (rest_of_compilation): Turn on cse_not_expected
        before cse2 instead of after.

From-SVN: r29806

25 years agodecl2.c (grok_alignof): Don't decay lvalues.
Nathan Sidwell [Mon, 4 Oct 1999 15:13:26 +0000 (15:13 +0000)]
decl2.c (grok_alignof): Don't decay lvalues.

* decl2.c (grok_alignof): Don't decay lvalues.

* init.c (build_new): Remove unused variable.

From-SVN: r29805

25 years agomips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large register offsets.
Stan Cox [Mon, 4 Oct 1999 13:59:24 +0000 (13:59 +0000)]
mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large register offsets.

* mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
register offsets.

From-SVN: r29804

25 years ago* mn10200.c (asm_file_start): Fix typo.
Jeffrey A Law [Mon, 4 Oct 1999 11:20:11 +0000 (11:20 +0000)]
* mn10200.c (asm_file_start): Fix typo.

From-SVN: r29803

25 years agocppinit.c (is_idchar initializer): Loosen tests to accept gcc 2.>6 and >2.
Alexandre Oliva [Mon, 4 Oct 1999 11:11:16 +0000 (11:11 +0000)]
cppinit.c (is_idchar initializer): Loosen tests to accept gcc 2.>6 and >2.

* cppinit.c (is_idchar initializer): Loosen tests to accept
gcc 2.>6 and >2.

From-SVN: r29802

25 years agocp-tree.h (struct language_function): Remove static_labelno.
Mark Mitchell [Mon, 4 Oct 1999 09:33:31 +0000 (09:33 +0000)]
cp-tree.h (struct language_function): Remove static_labelno.

* cp-tree.h (struct language_function): Remove static_labelno.
(static_labelno): Remove macro.
* method.c (build_overload_nested_name): Make static_labelno
static here.

* pt.c (instantiate_decl): Use DECL_SAVED_TREE, not DECL_INITIAL,
to decide whether or not a function is defined.

From-SVN: r29801

25 years agomips.md: Define conditional move patterns for floating point operands and DI mode...
Mark Mitchell [Mon, 4 Oct 1999 09:26:57 +0000 (09:26 +0000)]
mips.md: Define conditional move patterns for floating point operands and DI mode conditions.

* mips.md: Define conditional move patterns for floating point
operands and DI mode conditions.

From-SVN: r29800

25 years agocall.c (build_over_call): Don't set TREE_SIDE_EFFECTS for situations where make_node...
Mark Mitchell [Mon, 4 Oct 1999 09:15:17 +0000 (09:15 +0000)]
call.c (build_over_call): Don't set TREE_SIDE_EFFECTS for situations where make_node will do it automatically.

1999-10-04  Mark Mitchell  <mark@codesourcery.com>

* call.c (build_over_call): Don't set TREE_SIDE_EFFECTS for
situations where make_node will do it automatically.
* decl.c (grok_reference_init): Likewise.
(expand_static_init): Likewise.
(do_static_initialization): Likewise.
* init.c (perform_member_init): Likewise.
(expand_aggr_init_1): Likewise.
(build_new_1): Likewise.
* method.c (do_build_copy_constructor): Likewise.
(do_build_assign_ref): Likewise.
* search.c (expand_upcast_fixups): Likewise.
* semantics.c (finish_stmt_expr): Likewise.
* typeck.c (build_unary_op): Likewise.
(check_return_expr): Likewise.

From-SVN: r29799

25 years agotree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that are always have side...
Mark Mitchell [Mon, 4 Oct 1999 09:07:53 +0000 (09:07 +0000)]
tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that are always have side-effects.

* tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
are always have side-effects.

From-SVN: r29798

25 years ago* init.c (build_vec_delete_1): Fold COND_EXPRs.
Jason Merrill [Mon, 4 Oct 1999 08:30:28 +0000 (08:30 +0000)]
* init.c (build_vec_delete_1): Fold COND_EXPRs.

From-SVN: r29796

25 years agoDaily bump.
Jeff Law [Mon, 4 Oct 1999 07:45:16 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29795

25 years agocppinit.c (is_idchar initializer): Tighten tests for when to put the table into initi...
Jeffrey A Law [Mon, 4 Oct 1999 06:19:02 +0000 (06:19 +0000)]
cppinit.c (is_idchar initializer): Tighten tests for when to put the table into initialized memory.

        * cppinit.c (is_idchar initializer): Tighten tests for when
        to put the table into initialized memory.

From-SVN: r29794

25 years agoggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx, not an array of rtunion.
Jeffrey A Law [Mon, 4 Oct 1999 06:14:10 +0000 (06:14 +0000)]
ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx, not an array of rtunion.

        * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
        not an array of rtunion.
        * gcc-page.c (ggc_alloc_rtvec): Similarly.
        * gcc-simple (ggc_free_rtvec): Similarly.

From-SVN: r29793

25 years agogenattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead of rtunions.
Jeffrey A Law [Mon, 4 Oct 1999 06:08:16 +0000 (06:08 +0000)]
genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead of rtunions.

        * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
        of rtunions.

From-SVN: r29792

25 years agoFix changelog entry
Anthony Green [Mon, 4 Oct 1999 03:44:07 +0000 (03:44 +0000)]
Fix changelog entry

From-SVN: r29791

25 years agoA little clean up.
Anthony Green [Mon, 4 Oct 1999 03:30:54 +0000 (03:30 +0000)]
A little clean up.

From-SVN: r29790

25 years ago* configure.in (fr30): Fix typo.
Jeffrey A Law [Sun, 3 Oct 1999 20:21:45 +0000 (20:21 +0000)]
* configure.in (fr30): Fix typo.

From-SVN: r29789

25 years ago* mbchar.h: Add missing #endif.
Jeffrey A Law [Sun, 3 Oct 1999 20:16:30 +0000 (20:16 +0000)]
* mbchar.h: Add missing #endif.

From-SVN: r29788

25 years agot-fr30 (LIB2FUNCS_EXTRA): Remove definition.
Jeffrey A Law [Sun, 3 Oct 1999 20:14:14 +0000 (20:14 +0000)]
t-fr30 (LIB2FUNCS_EXTRA): Remove definition.

        * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
        (FPBIT, DPBIT): Define.

From-SVN: r29787

25 years agocp-tree.def (VEC_INIT_EXPR): Remove.
Mark Mitchell [Sun, 3 Oct 1999 18:57:37 +0000 (18:57 +0000)]
cp-tree.def (VEC_INIT_EXPR): Remove.

* cp-tree.def (VEC_INIT_EXPR): Remove.
* cp-tree.h (struct stmt_tree): New type.
(struct saved_scope): Remove firstobj.  Add x_saved_tree,
x_stmt_tree.
(class_cache_firstobj): Remove.
(struct language_function): Remove stmts_are_full_exprs_p,
x_last_tree, and x_last_expr_type.  Add x_stmt_tree.
(current_stmt_tree): New macro.
(last_tree): Adjust.
(last_expr_type): Likewise.
(doing_semantic_analysis_p): Simplify.
(stmts_are_full_exprs_p): Adjust.
(begin_tree): Remove prototype.
(end_tree): Likewise.
(begin_stmt_tree): Change prototype.
(finish_stmt_tree): Likewise.
(building_stmt_tree): Simplify.
* decl.c (mark_stmt_tree): New function.
(mark_saved_scope): Use it.
(start_function): Rearrange slightly to call begin_stmt_tree
earlier.
(save_function_data): Tweak.
(finish_function): Adjust call to finish_stmt_tree.
(mark_lang_function): Use mark_stmt_tree.
* expr.c (cplus_expand_expr): Don't handle VEC_INIT_EXPR.
* init.c (build_new_1): Remove creation of VEC_INIT_EXPR.
(build_vec_init): Remove creation of stand-in intializer.
* pt.c (begin_tree): Remove.
(end_tree): Likewise.
* semantics.c (SET_LAST_STMT): New macro.  Use it throughout.
(begin_compound_stmt): Handle a compound-statement outside of a
function.
(begin_stmt_expr): Handle a statement-expression outsidef of a
function.
(finish_stmt_expr): Likewise.
(begin_class_definition): Don't call begin_tree.
(finish_inline_definitions): Don't call end_tree.
(begin_stmt_tree): Take a pointer to tree, not a function as input.
(finish_stmt_tree): Likewise.
* tree.c (search_tree): Don't handle VEC_INIT_EXPR.
(mapcar): Likewise.

* parse.y (simple_stmt): Don't call finish_stmt unnecessarily.
* parse.c: Regenerated.

* dump.c (dqueue_and_dump): Dump bitfieldness.

From-SVN: r29786

25 years agoUpdate copyright date
Kaveh Ghazi [Sun, 3 Oct 1999 17:01:59 +0000 (17:01 +0000)]
Update copyright date

From-SVN: r29785

25 years agoprint-tree.c (print_node, indent_to): Remove redundant prototypes.
Kaveh R. Ghazi [Sun, 3 Oct 1999 16:47:52 +0000 (16:47 +0000)]
print-tree.c (print_node, indent_to): Remove redundant prototypes.

* print-tree.c (print_node, indent_to): Remove redundant prototypes.

* profile.c (instrument_arcs, output_gcov_string,
tablejump_entry_p): Add static prototypes.
(output_gcov_string): Constify a char*.

* regmove.c (replacement_quality, fixup_match_2): Add static
prototypes.

* resource.h (reg_dead_p): Add extern prototype.

* rtl.c (trim_filename): Add static prototype.

* scan-decls.c (skip_to_closing_brace): Likewise.

* stmt.c (expand_decl_cleanup_no_eh): Hide definition.
(expand_end_case): Initialize variable `range'.
(emit_case_nodes): Remove unused prototype `rtx_fn'.

* varasm.c (asm_emit_uninitialised): Add static prototype.
(asm_emit_uninitialised, assemble_variable): Mark parameter with
ATTRIBUTE_UNUSED.

From-SVN: r29784

25 years agocpplib.c (if_directive_nameo): Add static prototype.
Kaveh R. Ghazi [Sun, 3 Oct 1999 16:28:33 +0000 (16:28 +0000)]
cpplib.c (if_directive_nameo): Add static prototype.

* cpplib.c (if_directive_nameo): Add static prototype.

* cse.c (cse_insn): Remove unused variable `p'.

* except.c (create_rethrow_ref, push_entry,
receive_exception_label, new_eh_region_entry, find_func_region,
clear_function_eh_region, process_nestinfo): Add static prototypes.
(get_reg_for_handler): Hide definition.
(process_nestinfo): Initialize variable `extra_handlers'.

* expr.h (expand_builtin_longjmp): Add extern prototype.

* final.c (final_addr_vec_align, align_fuzz): Add static prototypes.

* function.c (prepare_function_start): Likewise.
(pop_function_context_from): Mark parameter `context' with
ATTRIBUTE_UNUSED.
(push_temp_slots_for_block, flush_addressof): Hide definition.

* gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
solve_program_flow_graph, calculate_branch_probs,
function_summary, main, fancy_abort): Add prototypes.

* gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
(add_hash): Constify a char*.

* ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.

* integrate.c (expand_inline_function_eh_labelmap): Likewise.

* lists.c (free_list, zap_lists): Likewise.

From-SVN: r29783

25 years agoalias.c (nonlocal_reference_p): Add static prototype.
Kaveh R. Ghazi [Sun, 3 Oct 1999 16:08:31 +0000 (16:08 +0000)]
alias.c (nonlocal_reference_p): Add static prototype.

        * alias.c (nonlocal_reference_p): Add static prototype.

        * bitmap.c (bitmap_element_allocate): Prototype args in function
        pointer cast.

        * builtins.c (stabilize_va_list): Add static prototype.
        (expand_builtin_va_arg): Constify a char*.

        * c-lex.c (getch, put_back, extend_token_buffer_to,
        read_line_number, token_getch, token_put_back): Add static
        prototypes.

        * c-parse.gperf (hash, is_reserved_word): Likewise.

        * cccp.c (is_dir_separator): Likewise.

From-SVN: r29782

25 years agotree.c (lvalue_p_1): Use DECL_C_BIT_FIELD to check for bitfields, rather than DECL_BI...
Mark Mitchell [Sun, 3 Oct 1999 16:04:30 +0000 (16:04 +0000)]
tree.c (lvalue_p_1): Use DECL_C_BIT_FIELD to check for bitfields, rather than DECL_BIT_FIELD.

* tree.c (lvalue_p_1): Use DECL_C_BIT_FIELD to check for
bitfields, rather than DECL_BIT_FIELD.
* ir.texi: Document how to tell whether or not a field is a
bitfield.

* lex.c (make_lang_type): Fix typo in comment.

From-SVN: r29781

25 years agoDaily bump.
Jeff Law [Sun, 3 Oct 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29780

25 years agoxmalloc.c (xmalloc): Fix spelling error.
Mark Mitchell [Sun, 3 Oct 1999 01:55:59 +0000 (01:55 +0000)]
xmalloc.c (xmalloc): Fix spelling error.

* xmalloc.c (xmalloc): Fix spelling error.
(xcalloc, xrealloc): Likewise.

From-SVN: r29779

25 years agoFix copyright.
Kaveh Ghazi [Sat, 2 Oct 1999 20:16:10 +0000 (20:16 +0000)]
Fix copyright.

From-SVN: r29778

25 years agograph.h: New file to prototype functions exported by graph.c.
Kaveh R. Ghazi [Sat, 2 Oct 1999 20:13:24 +0000 (20:13 +0000)]
graph.h: New file to prototype functions exported by graph.c.

* graph.h: New file to prototype functions exported by graph.c.

* Makefile.in (graph.o, toplev.o): Depend on graph.h.

* graph.c: Include graph.h.

* toplev.c: Likewise.  Remove redundant prototypes.

From-SVN: r29777

25 years agocplus-dem.c (fancy_abort, [...]): Add prototype.
Kaveh R. Ghazi [Sat, 2 Oct 1999 20:03:15 +0000 (20:03 +0000)]
cplus-dem.c (fancy_abort, [...]): Add prototype.

* cplus-dem.c (fancy_abort, demangle_integral_value,
demangle_arm_hp_template, recursively_demangle,
standard_symbol_characters, hp_symbol_characters, main): Add prototype.
(program_name, program_version, fatal): Constify a char*.
(usage, fatal): Mark with ATTRIBUTE_NORETURN.
(main): Call return, not exit.

From-SVN: r29776

25 years agoFix typo in peep2 example.
Richard Henderson [Sat, 2 Oct 1999 18:45:42 +0000 (11:45 -0700)]
Fix typo in peep2 example.

From-SVN: r29775

25 years agoKrister Walfridsson <cato@df.lth.se>
Krister Walfridsson [Sat, 2 Oct 1999 18:29:08 +0000 (20:29 +0200)]
Krister Walfridsson <cato@df.lth.se>

        * invoke.texi: Removed duplicated description for -Q.

From-SVN: r29774

25 years agoJim Kingdon <http://developer.redhat.com>
Jim Kingdon [Sat, 2 Oct 1999 18:16:33 +0000 (11:16 -0700)]
Jim Kingdon  <http://developer.redhat.com>

        * extend.texi: Grammar fix in __extension__ text.

From-SVN: r29773

25 years ago* md.texi (define_peephole2): New section.
Richard Henderson [Sat, 2 Oct 1999 18:07:49 +0000 (11:07 -0700)]
* md.texi (define_peephole2): New section.

From-SVN: r29772

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Sat, 2 Oct 1999 17:59:37 +0000 (19:59 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
        (mov $-1 to or peepholer): Enable for pentium when optimizing for
        speed.

From-SVN: r29771

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Sat, 2 Oct 1999 17:56:05 +0000 (19:56 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * builtins.c (expand_builtin_strlen): Fix best mode searching loop.

From-SVN: r29770

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Sat, 2 Oct 1999 17:54:05 +0000 (19:54 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * i386.md (ffs expander): Emit Pentium friendly code for
        TARGET_PENTIUM.

From-SVN: r29769

25 years agoRefreshed from htdocs
Anthony Green [Sat, 2 Oct 1999 16:39:36 +0000 (16:39 +0000)]
Refreshed from htdocs

From-SVN: r29768

25 years agoI am committing the following changes to enable the picojava port.
Steve Chamberlain [Sat, 2 Oct 1999 15:50:57 +0000 (15:50 +0000)]
I am committing the following changes to enable the picojava port.

I am committing the following changes to enable the picojava port.  I
will also forward them to Boehm.

From-SVN: r29767

25 years agoMissing file from last commit
Steve Chamberlain [Sat, 2 Oct 1999 15:46:27 +0000 (15:46 +0000)]
Missing file from last commit

From-SVN: r29766

25 years agoThe following patches include a couple of fixes for cross toolchains,
Steve Chamberlain [Sat, 2 Oct 1999 15:44:24 +0000 (15:44 +0000)]
The following patches include a couple of fixes for cross toolchains,

and endian bits for the picojava port.  I am committing this (and the
rebuilt Makefile.in/configure files).

From-SVN: r29765

25 years agotree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES for non-trees.
Mark Mitchell [Sat, 2 Oct 1999 08:52:17 +0000 (08:52 +0000)]
tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES for non-trees.

* tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
for non-trees.
(build1): Likewise.

From-SVN: r29764

25 years agoDaily bump.
Jeff Law [Sat, 2 Oct 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29763

25 years ago* typeck.c (decay_conversion): Strip cv-quals from non-class rvalues.
Jason Merrill [Sat, 2 Oct 1999 01:09:54 +0000 (01:09 +0000)]
* typeck.c (decay_conversion): Strip cv-quals from non-class rvalues.

From-SVN: r29762

25 years agonew
Jason Merrill [Sat, 2 Oct 1999 00:41:00 +0000 (20:41 -0400)]
new

From-SVN: r29761

25 years agore GNATS gcj/56 (gcj segfaults in jc1 on OK java file)
Tom Tromey [Sat, 2 Oct 1999 00:39:04 +0000 (00:39 +0000)]
re GNATS gcj/56 (gcj segfaults in jc1 on OK java file)

* libjava.lang/PR56.out: New file.
* libjava.lang/PR56.java: New file.

From-SVN: r29760

25 years agoconfigure: Rebuilt.
Tom Tromey [Sat, 2 Oct 1999 00:19:01 +0000 (00:19 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Set classpath when invoking gcj.  Use changequote
around sed invocation.

* java/net/natPlainSocketImpl.cc: Stub native functions if
DISABLE_JAVA_NET is defined.
* java/net/natPlainDatagramSocketImpl.cc (setTimeToLive): Fixed
typo in exception string.
(getTimeToLive): Likewise.
Stub native functions if DISABLE_JAVA_NET is defined.
* java/net/natInetAddress.cc: Stub native functions if
DISABLE_JAVA_NET is defined.
* configure.host: Disable java.net for mips-tx39.
* configure, include/config.h.in: Rebuilt.
* acconfig.h (DISABLE_JAVA_NET): Undefine.
* configure.in: Added --disable-java-net and new define
`DISABLE_JAVA_NET'.

From-SVN: r29759

25 years agoupdate
Jason Merrill [Fri, 1 Oct 1999 22:44:51 +0000 (18:44 -0400)]
update

From-SVN: r29758

25 years agopt.c (tsubst_decl): If the type of a template instantiation is bogus, so is the whole...
Mark Mitchell [Fri, 1 Oct 1999 17:25:05 +0000 (17:25 +0000)]
pt.c (tsubst_decl): If the type of a template instantiation is bogus, so is the whole instantiation.

* pt.c (tsubst_decl): If the type of a template instantiation is
bogus, so is the whole instantiation.

From-SVN: r29757

25 years agoFix i386elf bug
Bernd Schmidt [Fri, 1 Oct 1999 17:02:21 +0000 (17:02 +0000)]
Fix i386elf bug

From-SVN: r29756

25 years agom68k.c (use_return_insn): Return false if the pic register is in use.
Andreas Schwab [Fri, 1 Oct 1999 10:44:28 +0000 (10:44 +0000)]
m68k.c (use_return_insn): Return false if the pic register is in use.

* config/m68k/m68k.c (use_return_insn): Return false if the pic
register is in use.

From-SVN: r29755

25 years agoDelete !REGISTER_CONSTRAINTS code
Bernd Schmidt [Fri, 1 Oct 1999 10:26:46 +0000 (10:26 +0000)]
Delete !REGISTER_CONSTRAINTS code

From-SVN: r29754

25 years agoDelete !REGISTER_CONSTRAINTS code
Bernd Schmidt [Fri, 1 Oct 1999 10:00:33 +0000 (10:00 +0000)]
Delete !REGISTER_CONSTRAINTS code

From-SVN: r29753

25 years agoDaily bump.
Jeff Law [Fri, 1 Oct 1999 07:45:14 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29752

25 years ago* iris6.h (BUILD_VA_LIST_TYPE): Define.
Mark Mitchell [Fri, 1 Oct 1999 07:03:06 +0000 (07:03 +0000)]
* iris6.h (BUILD_VA_LIST_TYPE): Define.

From-SVN: r29751

25 years agofile-format.exp (gcc_target_object_format): Don't crash if objdump is unavailable.
Mark Mitchell [Fri, 1 Oct 1999 06:55:49 +0000 (06:55 +0000)]
file-format.exp (gcc_target_object_format): Don't crash if objdump is unavailable.

* lib/file-format.exp (gcc_target_object_format): Don't
crash if objdump is unavailable.

From-SVN: r29750

25 years agodecl.c (initialize_local_var): Handle static variables here.
Mark Mitchell [Fri, 1 Oct 1999 04:45:10 +0000 (04:45 +0000)]
decl.c (initialize_local_var): Handle static variables here.

* decl.c (initialize_local_var): Handle static variables here.
(cp_finish_decl): Tweak handling of function-scope static
variables.
* semantics.c (expand_stmt): Handle DECL_STMTs for static
variables.

From-SVN: r29749

25 years ago* method.c (emit_thunk): Don't crash when -fsyntax-only.
Mark Mitchell [Fri, 1 Oct 1999 04:34:24 +0000 (04:34 +0000)]
* method.c (emit_thunk): Don't crash when -fsyntax-only.

From-SVN: r29748

25 years agoFix typo in comment
Mark Mitchell [Fri, 1 Oct 1999 04:31:00 +0000 (04:31 +0000)]
Fix typo in comment

From-SVN: r29747

25 years agoFranz Sirl <Franz.Sirl-kernel@lauterbach.com>
Franz Sirl [Fri, 1 Oct 1999 01:46:41 +0000 (01:46 +0000)]
Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
        for the va_list record.

From-SVN: r29746

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Fri, 1 Oct 1999 01:35:37 +0000 (03:35 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
        prologues.

From-SVN: r29745

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Fri, 1 Oct 1999 01:32:18 +0000 (03:32 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * alias.c: Include insn-flags.h.
        * Makefile.in (alias.o): Update.

From-SVN: r29744

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Fri, 1 Oct 1999 01:22:24 +0000 (03:22 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
        to LTU and GEU.  Handle more cases using sbb.

From-SVN: r29743

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Fri, 1 Oct 1999 01:19:16 +0000 (03:19 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * i386.md (truncatexfdf splitters): Do not use subreg.
        (fop XFmode patterns): Fix mode in operand testing.

From-SVN: r29742

25 years agojump.c (jump_optimize_1): Amend last change to test only the form of the operand...
Richard Henderson [Fri, 1 Oct 1999 01:13:51 +0000 (18:13 -0700)]
jump.c (jump_optimize_1): Amend last change to test only the form of the operand, not the insn.

        * jump.c (jump_optimize_1): Amend last change to test only the
        form of the operand, not the insn.

From-SVN: r29741

25 years agojump.c (jump_optimize_1): Use general_operand not register_operand to determine when...
Richard Henderson [Fri, 1 Oct 1999 01:06:14 +0000 (18:06 -0700)]
jump.c (jump_optimize_1): Use general_operand not register_operand to determine when B may need preloading.

        * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
        not register_operand to determine when B may need preloading.

From-SVN: r29740

25 years agoalpha.md (*): Use nonimmediate not general_operand for SET_DEST.
Richard Henderson [Fri, 1 Oct 1999 00:45:07 +0000 (17:45 -0700)]
alpha.md (*): Use nonimmediate not general_operand for SET_DEST.

        * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
        (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
        (call-value patterns): Move to end of file.
        (*): Remove mode from label_ref in (pc) context.
        (movstrqi): Use memory not general_operand for BLKmode operands.
        (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
        to register_operand operands.
        (peep2 patterns): Convert from commented-out peephole patterns.

From-SVN: r29739

25 years agocp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.
Mark Mitchell [Fri, 1 Oct 1999 00:43:27 +0000 (00:43 +0000)]
cp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.

* cp-tree.h (lang_decl_flags): Add global_ctor_p and
global_dtor_p.  Add init_priority.
(DECL_ACCESS): Adjust accordingly.
(DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P): New macros.
(GLOBAL_INIT_PRIORITY): Likewise.
* decl.c (lang_mark_tree): Adjust accordingly.
(start_objects): Set DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P,
and GLOBAL_INIT_PRIORITY.
* dump.c (dequeue_and_dump): Print them.
* ir.texi: Document them.

From-SVN: r29738

25 years ago* java/net/natPlainDatagramSocketImpl.cc: Indentation fix.
Tom Tromey [Thu, 30 Sep 1999 22:20:29 +0000 (22:20 +0000)]
* java/net/natPlainDatagramSocketImpl.cc: Indentation fix.

From-SVN: r29737

25 years agoUpdate copyright dates.
Jeff Law [Thu, 30 Sep 1999 22:08:56 +0000 (16:08 -0600)]
Update copyright dates.

From-SVN: r29736

25 years agoh8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of generating RTL directly.
Jeffrey A Law [Thu, 30 Sep 1999 18:50:56 +0000 (18:50 +0000)]
h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of generating RTL directly.

        * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
        generating RTL directly.
        * mips.h (INIT_TARGET_OPTABS): Likewise.
        * mn10200.h (INIT_TARGET_OPTABS): Likewise.

From-SVN: r29734

25 years agocp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.
Mark Mitchell [Thu, 30 Sep 1999 17:43:44 +0000 (17:43 +0000)]
cp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.

* cp-tree.h (lang_decl_flags): Add global_ctor_p and
global_dtor_p.  Add init_priority.
(DECL_ACCESS): Adjust accordingly.
(DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P): New macros.
(GLOBAL_INIT_PRIORITY): Likewise.
* decl.c (lang_mark_tree): Adjust accordingly.
(start_objects): Set DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P,
and GLOBAL_INIT_PRIORITY.
* dump.c (dequeue_and_dump): Print them.
* ir.texi: Document them.

From-SVN: r29733