aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-01-01attribs.c (handle_vector_size_attribute): Use host_integerp and ↵Richard Kenner5-23/+37
tree_int_cst; remove warnings. * attribs.c (handle_vector_size_attribute): Use host_integerp and tree_int_cst; remove warnings. * caller-save.c (insert_restore): Add cast to get rid of warning. (insert_save): Likewise. * emit-rtl.c (adjust_address_1, offset_address): Likewise. * regmove.c (find_matches): Add temporary var to kill a warning. From-SVN: r48452
2002-01-01vms.h (DWARF2_UNWIND_INFO, [...]): Define.Douglas B Rupp5-7/+518
* config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX, LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define. * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o (vms-dwarf2eh.o): Add Makefile rule. * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o. * config/alpha/vms-dwarf2eh.asm: New file. From-SVN: r48451
2002-01-01* gcc.c (delete_if_ordinary): Delete all versions.Douglas B Rupp2-2/+8
From-SVN: r48450
2002-01-01Update copyright years listHans-Peter Nilsson3-3/+3
From-SVN: r48449
2002-01-01mmix.md: Update FIXME to not mention define_constants.Hans-Peter Nilsson4-41/+81
* config/mmix/mmix.md: Update FIXME to not mention define_constants. (MMIX_rJ_REGNUM): New define_constants constant. ("movqi", "movsi", "movdi", "*movdicc_real_foldable", "*movdicc_real"): Adjust contraints formatting. ("*bCC_foldable"): Add %+ for P in output format and delete FIXME for branch prediction. ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in output template. ("*call_real", "*call_value_real", "nonlocal_goto_receiver", "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of number. Delete related FIXMEs. * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change from number to MMIX_rJ_REGNUM. (TARGET_MASK_BRANCH_PREDICT): New. (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT. (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols value. Add -mbranch-predict and -mno-branch-predict. (TARGET_VERSION): Drop date. (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number. * config/mmix/mmix.c (mmix_encode_section_info): Correct condition for finding out global symbols. (mmix_asm_output_labelref): Revert condition for global symbol. (mmix_print_operand): <case '+'>: Emit P for a likely branch. (mmix_print_operand_punct_valid_p): A '+' is valid. From-SVN: r48448
2002-01-01* gcc.dg/mmix-1.c: New test.Hans-Peter Nilsson2-0/+46
From-SVN: r48447
2002-01-01stubs.c (sinf,cosf): Implement stubs to enable the equivalent ___builtin__ ↵Roger Sayle3-99/+24
versions. 2002-01-01 Roger Sayle <roger@eyesopen.com> * libmath/stubs.c (sinf,cosf): Implement stubs to enable the equivalent ___builtin__ versions. * include/c_shadow/bits/std_cmath.h: All __builtin math functions are available in libstdc++ as the necessary stub implementations are provided by libmath/stubs.c. From-SVN: r48445
2002-01-01* MAINTAINERS (Write After Approval): Add myself.Jason Thorpe1-0/+1
From-SVN: r48444
2002-01-01configure.in: Add support for NetBSD cross compiles.Jason Thorpe3-730/+1536
* configure.in: Add support for NetBSD cross compiles. * configure: Regenerate. From-SVN: r48443
2002-01-01configure.in (uintptr_t): Use AC_CHECK_TYPE.Douglas B Rupp1-0/+5
* configure.in (uintptr_t): Use AC_CHECK_TYPE. * configure: Regenerated. From-SVN: r48442
2002-01-01Daily bump.GCC Administrator6-6/+6
From-SVN: r48440
2002-01-01parse.y (dump_java_tree): New function.Tom Tromey3-2/+37
* parse.y (dump_java_tree): New function. (source_end_java_method): Call it. (end_class_declaration): Likewise. * lang.c (java_decode_option): Call dump_switch_p. From-SVN: r48439
2001-12-31* config/ia64/ia64.c (mark_reg_gr_used_mask): Mind HARD_REGNO_NREGS.Richard Henderson2-1/+9
From-SVN: r48437
2001-12-31aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.Ira Ruben3-1/+12
* aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try. * configure: Regenerated. From-SVN: r48436
2001-12-31regrename.c (build_def_use): Don't rename asm operands that were originally ↵Richard Henderson5-22/+160
hard registers. * regrename.c (build_def_use): Don't rename asm operands that were originally hard registers. (copyprop_hardreg_forward_1): Likewise. (find_oldest_value_reg): Copy ORIGINAL_REGNO from source. * varasm.c (make_decl_rtl): Use gen_rtx_raw_REG. Set ORIGINAL_REGNO. * gcc.dg/asm-5.c: New. From-SVN: r48435
2001-12-31vms.h (HAS_INIT_SECTION, [...]): Remove.Douglas B Rupp2-5/+7
* config/alpha/vms.h (HAS_INIT_SECTION, NEED_ATEXIT): Remove. (NAME__MAIN, SYMBOL__MAIN): Define. From-SVN: r48434
2001-12-31alpha.c (reg_no_subreg_operand): Reject all non-registers.Richard Henderson2-19/+11
* config/alpha/alpha.c (reg_no_subreg_operand): Reject all non-registers. From-SVN: r48433
2001-12-31* final.c (alter_subreg): Assign REGNO after changing the rtx code.Richard Henderson1-1/+2
From-SVN: r48432
2001-12-31cfgrtl.c (delete_insn): Check for not NOTE_INSN_DELETED_LABEL before ↵Richard Henderson1-1/+9
decrementing LABEL_NUSES from a... * cfgrtl.c (delete_insn): Check for not NOTE_INSN_DELETED_LABEL before decrementing LABEL_NUSES from a jump table. From-SVN: r48431
2001-12-31iterator: Add #include <bits/std_iterator.h>, tweak.Paolo Carlini3-3/+10
2001-12-31 Paolo Carlini <pcarlini@unitus.it> * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak. * testsuite/ext/headers.cc: Add <ext/iterator>. From-SVN: r48430
2001-12-31algo.h: Add two more using declarations.Paolo Carlini4-2/+15
2001-12-31 Paolo Carlini <pcarlini@unitus.it> * include/backward/algo.h: Add two more using declarations. * include/backward/iterator.h: Include <ext/iterator>, add using declaration. * include/ext/algorithm: Add #pragma GCC system_header. From-SVN: r48429
2001-12-31stl_bvector.h: Change calls to 3-argument distance() into standard ↵Phil Edwards11-158/+238
2-argument version. 2001-12-31 Phil Edwards <pme@gcc.gnu.org> * include/bits/stl_bvector.h: Change calls to 3-argument distance() into standard 2-argument version. * include/bits/stl_deque.h: Likewise. * include/bits/stl_tempbuf.h: Likewise. * include/bits/stl_tree.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/ext/stl_hashtable.h: Likewise. * include/bits/stl_iterator_base_funcs.h: Move distance() extension... * include/ext/iterator: to here. New file. * include/Makefile.am (ext_headers): Add new file, alphabatize. * include/Makefile.in: Regenerate. From-SVN: r48428
2001-12-31eb130.C: hash_set is now in namespace __gnu_cxxPaolo Carlini2-1/+6
2001-12-31 Paolo Carlini <pcarlini@unitus.it> * g++.old-deja/g++.robertl/eb130.C: hash_set is now in namespace __gnu_cxx From-SVN: r48427
2001-12-31stl_deque.h: Doxygenate with initial/example hooks.Phil Edwards2-82/+211
2001-12-31 Phil Edwards <pme@gcc.gnu.org> * include/bits/stl_deque.h: Doxygenate with initial/example hooks. Clean up spacing and indentation. From-SVN: r48426
2001-12-31slist: Move into __gnu_cxx, tweak, add using declarations.Paolo Carlini2-10/+25
2001-12-31 Paolo Carlini <pcarlini@unitus.it> * include/ext/slist: Move into __gnu_cxx, tweak, add using declarations. From-SVN: r48423
2001-12-31hash_map: Move into __gnu_cxx, tweak, add using declarations.Paolo Carlini9-36/+94
2001-12-31 Paolo Carlini <pcarlini@unitus.it> * include/ext/hash_map: Move into __gnu_cxx, tweak, add using declarations. * include/ext/hash_set: Ditto. * include/ext/ropeimpl.h: Ditto. * include/ext/stl_hash_fun.h: Ditto. * include/ext/stl_hashtable.h: Ditto. * include/ext/stl_rope.h: Ditto. * src/ext-inst.cc: Tweak. * testsuite/ext/rope.cc: Tweak. From-SVN: r48422
2001-12-31algo.h: Include <ext/algorithm>, tweak using declarations.Paolo Carlini2-4/+12
2001-12-31 Paolo Carlini <pcarlini@unitus.it> * include/backward/algo.h: Include <ext/algorithm>, tweak using declarations. From-SVN: r48421
2001-12-31Daily bump.GCC Administrator6-6/+6
From-SVN: r48419
2001-12-31* halfpic.h: Remove foward defs of tree_node and rtx_def.Graham Stott2-5/+4
From-SVN: r48418
2001-12-31* toplev.h: Remove forward def of tree_node, rtx_def.Graham Stott2-5/+4
From-SVN: r48417
2001-12-31except.h: Remove forward def of tree_node, rtx_def and define of tree, rtx.Graham Stott1-18/+0
* except.h: Remove forward def of tree_node, rtx_def and define of tree, rtx. Also remove undefs. From-SVN: r48416
2001-12-31basic-block.h: Remove forward def of tree_node and define of tree.Graham Stott1-5/+0
* basic-block.h: Remove forward def of tree_node and define of tree. From-SVN: r48415
2001-12-31except.h: Remove forward def of tree_node, rtx_def and define of tree, rtx.Graham Stott1-0/+10
* except.h: Remove forward def of tree_node, rtx_def and define of tree, rtx. Also remove undefs. * basic-block.h: Remove forward def of tree_node and define of tree. From-SVN: r48414
2001-12-31Remove extranwous changelog header.Graham Stott1-2/+0
From-SVN: r48413
2001-12-30cfglayout.c (scope_def, [...]): Remove.Richard Henderson8-690/+189
* cfglayout.c (scope_def, scope_forest_info, forest, relate_bbs_with_scopes, make_new_scope, build_scope_forest, remove_scope_notes, insert_intra_before_1, insert_intra_1, insert_intra_bb_scope_notes, insert_inter_bb_scope_notes, rebuild_scope_notes, free_scope_forest_1, dump_scope_forest, dump_scope_forest_1, get_next_bb_note, get_prev_bb_note): Remove. (fixup_reorder_chain): Don't set scope for bb. (insn_scopes, scope_to_insns_initialize, set_block_levels, change_scope, scope_to_insns_finalize): New. (cfg_layout_initialize, cfg_layout_finalize): Update to match. * cfglayout.h (scope_def, scope): Remove. (reorder_block_def): Remove scope member. (scope_to_insns_initialize, scope_to_insns_finalize): Declare. * haifa-sched.c: Revert reemit_other_notes change. * sched-ebb.c (schedule_ebbs): Don't call remove_unnecessary_notes. Use scope_to_insns_initialize and scope_to_insns_finalize. * sched-rgn.c (schedule_insns): Likewise. * gcc.dg/debug-6.c: New. From-SVN: r48412
2001-12-31* c-lex.c: Include tree.h before expr.hGraham Stott2-2/+6
From-SVN: r48411
2001-12-31* c-typeck.c: Include rtl.h earlier.Graham Stott2-1/+5
From-SVN: r48410
2001-12-31tree.h (STRIP_NOPS): Remove extraneous semicolon.Graham Stott2-4/+12
* tree.h (STRIP_NOPS): Remove extraneous semicolon. (STRIP_SIGN_NOPS): Likewise. (STRIP_TYPE_NOPS): Likewise. (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): Add Parenthesis around macro paramater. From-SVN: r48409
2001-12-31final.c (struct bb_list): Delete.Graham Stott2-20/+5
* final.c (struct bb_list): Delete. (struct bb_str): Likewise. From-SVN: r48408
2001-12-31cfgloop.c (flow_loop_entry_edges_find): Fix typo.Graham Stott2-2/+7
* cfgloop.c (flow_loop_entry_edges_find): Fix typo. (flow_loop_exit_edges_find): Likewise. From-SVN: r48407
2001-12-31gcse.c (gcse_main): Fix typos.Graham Stott2-8/+13
* gcse.c (gcse_main): Fix typos. (alloc_gcse_mem): Likewise. From-SVN: r48406
2001-12-31* function.h: Remove undefs for rtx and tree.Graham Stott2-8/+4
From-SVN: r48405
2001-12-30loop.c (check_dbra_loop): Fix last change: examine both ↵Richard Henderson2-1/+8
has_multiple_exit_targets and exit_count. * loop.c (check_dbra_loop): Fix last change: examine both has_multiple_exit_targets and exit_count. From-SVN: r48404
2001-12-30integrate.c (copy_rtx_and_substitute): Fix error last change: we need to ↵Richard Henderson2-3/+8
unconditionally create a new mem. * integrate.c (copy_rtx_and_substitute): Fix error last change: we need to unconditionally create a new mem. From-SVN: r48403
2001-12-30mmix.md ("*call_real"): Fix typo in comment.Hans-Peter Nilsson5-21/+28
* config/mmix/mmix.md ("*call_real"): Fix typo in comment. * config/mmix/mmix.h (EXTRA_CONSTRAINT): Pass MMIX_REG_OK_STRICT to mmix_extra_constraint. * config/mmix/mmix.c (mmix_secondary_reload_class): Only handle non-global register classes. Mark now unused parameters as such. (mmix_extra_constraint, 'U'): Use new parameter strict and call calling memory_operand_p or strict_memory_address_p, not address_operand. * config/mmix/mmix-protos.h (mmix_extra_constraint): Add parameter. From-SVN: r48402
2001-12-30* unroll.c: Move include files above first use of `const'.Kaveh R. Ghazi2-17/+21
From-SVN: r48400
2001-12-30cfgrtl.c (try_redirect_by_replacing_jump): Allow redirect_jump to fail if ↵Jakub Jelinek5-6/+54
target is EXIT_BLOCK_PTR, die otherwise. * cfgrtl.c (try_redirect_by_replacing_jump): Allow redirect_jump to fail if target is EXIT_BLOCK_PTR, die otherwise. (redirect_edge_and_branch): Likewise. * cfgcleanup.c (try_forward_edge): Don't force jump redirecting if target is EXIT_BLOCK_PTR. * gcc.c-torture/compile/20011229-2.c: New test. From-SVN: r48399
2001-12-30Daily bump.GCC Administrator6-6/+6
From-SVN: r48398
2001-12-29gcc.c (init_gcc_spec): Do not link with static libgcc.a if gcc invoked with ↵David Edelsohn2-1/+6
-shared. * gcc.c (init_gcc_spec): Do not link with static libgcc.a if gcc invoked with -shared. From-SVN: r48396
2001-12-30i386.c (ix86_asm_dialect): Fix enum type.Graham Stott2-24/+25
* config/i386/i386.c (ix86_asm_dialect): Fix enum type. (override_options): Delete abs macro unused. (output_pic_addr_const): Use ASM_ATT/ASM_INTEL enumerations when testing ASSEMBLER_DIALECT. (print_reg): Likewise. (print_operand): Likewise. (print_operand_address): Likewise. (print_operand): abort if ASSEMBLER_DIALECT is unknown dialect. * config/i386/i386.h (ix86_asm_dialect): Fix enum type. (FIND_BASE_TERM): Fix typo. From-SVN: r48393