aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-01-02Daily bump.Jeff Law2-2/+2
From-SVN: r38616
2001-01-02* alpha.md (*ze_and_ne): Duplicate insn condition to split.Richard Henderson2-2/+6
From-SVN: r38615
2001-01-02decl.c (cp_missing_noreturn_ok_p): New.Andreas Jaeger2-26/+41
* decl.c (cp_missing_noreturn_ok_p): New. (init_decl_processing): Set lang_missing_noreturn_ok_p. From-SVN: r38613
2001-01-02c-decl.c (c_decode_option): Remove support of -Wmissing-noreturn.Andreas Jaeger7-113/+150
* c-decl.c (c_decode_option): Remove support of -Wmissing-noreturn. * toplev.c (documented_lang_options): Remove -Wmissing-noreturn. (W_options): Add -Wmissing-noreturn here. * flow.c: Define lang_missing_noreturn_ok_p. (check_function_return_warnings): Use it. * c-common.h: Declare lang_missing_noreturn_ok_p. * c-lang.c (c_missing_noreturn_ok_p): New function. (lang_init): Set lang_missing_noreturn_ok_p. * invoke.texi (Warning Options): Document this. From-SVN: r38612
2001-01-02New tests for noreturn.Andreas Jaeger3-57/+83
From-SVN: r38611
2001-01-02extend.texi (C++ Extensions): New node for C++ attributes; describe ↵Phil Edwards5-14/+69
init_priority and com_interface. 2000-12-27 Phil Edwards <pme@sources.redhat.com> * extend.texi (C++ Extensions): New node for C++ attributes; describe init_priority and com_interface. * invoke.texi: Remove -finit-priority as it now has zero effect. * install.texi: Fix xref syntax. * md.texi: Likewise. From-SVN: r38610
2001-01-01config.gcc (sparc64-wrs-vxworks*): New case.Richard Kenner4-1/+136
* config.gcc (sparc64-wrs-vxworks*): New case. * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files. From-SVN: r38609
2001-01-01sparc.c (sparc_override_options): Do support different pointer and ↵Richard Kenner4-42/+34
architecture size. * config/sparc/sparc.c (sparc_override_options): Do support different pointer and architecture size. * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4. (POINTERS_EXTEND_UNSIGNED): Define. (Pmode): Test TARGET_ARCH64, not TARGET_PTR64. (FUNCTION_MODE): Define to be Pmode. * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI. From-SVN: r38608
2001-01-01function.c (expand_function_end): Properly handle DECL_RESULT and copy when ↵Richard Kenner3-6/+30
ptr_mode != Pmode. * function.c (expand_function_end): Properly handle DECL_RESULT and copy when ptr_mode != Pmode. * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed. From-SVN: r38607
2001-01-02update copyrightsKaveh Ghazi2-2/+2
From-SVN: r38606
2001-01-02c-common.c (c_common_nodes_and_builtins): Set prototype parameters for ↵Kaveh R. Ghazi4-12/+49
__builtin_fputs, __builtin_fputc and __builtin_fwrite. * c-common.c (c_common_nodes_and_builtins): Set prototype parameters for __builtin_fputs, __builtin_fputc and __builtin_fwrite. Don't declare plain fputc as a builtin. testsuite: * gcc.c-torture/execute/stdio-opt-1.c: Also test __builtin_fputc and __builtin_fwrite. From-SVN: r38605
2001-01-02tm.texi (REGISTER_MOVE_COST): Add a mode argument.Alexandre Oliva4-59/+67
* tm.texi (REGISTER_MOVE_COST): Add a mode argument. * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers. * reload1.c (REGISTER_MOVE_COST): Likewise. * regclass.c (REGISTER_MOVE_COST): Likewise. (move_cost, may_move_in_cost, may_move_out_cost): Add mode dimension. Adjust all users. (init_reg_sets_1): Iterate on all modes. * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust. * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust. * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust. * config/arc/arc.h (REGISTER_MOVE_COST): Adjust. * config/arm/arm.h (REGISTER_MOVE_COST): Adjust. * config/avr/avr.h (REGISTER_MOVE_COST): Adjust. * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust. * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust. * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust. * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust. * config/i386/i386.h (REGISTER_MOVE_COST): Adjust. * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust. * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust. * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust. * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust. * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust. * config/mips/mips.h (REGISTER_MOVE_COST): Adjust. * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust. * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust. * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust. * config/pa/pa.h (REGISTER_MOVE_COST): Adjust. * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust. * config/pj/pj.h (REGISTER_MOVE_COST): Adjust. * config/romp/romp.h (REGISTER_MOVE_COST): Adjust. * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust. * config/sh/sh.h (REGISTER_MOVE_COST): Adjust. * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust. From-SVN: r38604
2001-01-01loop.c (add_label_notes): Increment the label usage count when a note is ↵John David Anglin3-6/+20
added to an insn which refers to... * loop.c (add_label_notes): Increment the label usage count when a note is added to an insn which refers to a CODE_LABEL. * gcse.c (add_label_notes): Likewise. From-SVN: r38603
2001-01-02more README infoBruce Korb1-0/+7
From-SVN: r38601
2001-01-02update the README for fixincBruce Korb1-11/+10
From-SVN: r38600
2001-01-01* loop.c (scan_loop): Use xmalloc to allocate movables.Andreas Jaeger2-2/+6
From-SVN: r38598
2001-01-01tm.texi (REGISTER_MOVE_COST): Add a mode argument.Alexandre Oliva28-66/+112
* tm.texi (REGISTER_MOVE_COST): Add a mode argument. * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers. * reload1.c (REGISTER_MOVE_COST): Likewise. * regclass.c (REGISTER_MOVE_COST): Likewise. (move_cost, may_move_in_cost, may_move_out_cost): Add mode dimension. Adjust all users. (init_reg_sets_1): Iterate on all modes. * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust. * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust. * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust. * config/arc/arc.h (REGISTER_MOVE_COST): Adjust. * config/arm/arm.h (REGISTER_MOVE_COST): Adjust. * config/avr/avr.h (REGISTER_MOVE_COST): Adjust. * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust. * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust. * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust. * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust. * config/i386/i386.h (REGISTER_MOVE_COST): Adjust. * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust. * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust. * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust. * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust. * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust. * config/mips/mips.h (REGISTER_MOVE_COST): Adjust. * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust. * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust. * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust. * config/pa/pa.h (REGISTER_MOVE_COST): Adjust. * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust. * config/pj/pj.h (REGISTER_MOVE_COST): Adjust. * config/romp/romp.h (REGISTER_MOVE_COST): Adjust. * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust. * config/sh/sh.h (REGISTER_MOVE_COST): Adjust. * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust. From-SVN: r38597
2001-01-01Extra arg for rtx_varies_pBernd Schmidt8-34/+56
From-SVN: r38590
2001-01-01explow.c (convert_memory_address, [...]): Copy STRING_POOL_ADDRESS_P.Richard Kenner2-0/+4
* explow.c (convert_memory_address, case SYMBOL_REF): Copy STRING_POOL_ADDRESS_P. From-SVN: r38589
2001-01-01* config/sparc/sparc.c (input_operand): Properly test for short op.Richard Kenner2-1/+4
From-SVN: r38588
2001-01-01config.gcc (sparc-*-elf): Include sparc/sol2.h.Richard Kenner6-13/+11
* config.gcc (sparc-*-elf): Include sparc/sol2.h. (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h. (sparclite-*-elf*, sparc86x-*-elf*): Likewise. * config/sparc/elf.h: No longer include sol2.h. * config/sparc/lifeelf.h: No longer include sparc/elf.h. * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise. From-SVN: r38587
2001-01-01* config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.Richard Kenner2-19/+23
From-SVN: r38586
2001-01-01Daily bump.Jeff Law2-2/+2
From-SVN: r38585
2001-01-01loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.Michael Hayes3-10/+15
* loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds. (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise. (record_initial): Likewise. * unroll.c (copy_loop_body, loop_iterations): Likewise. (remap_split_bivs): Likewise. From-SVN: r38584
2001-01-01loop.c (loop_ivs_free): New function.Michael Hayes2-26/+43
* loop.c (loop_ivs_free): New function. (strength_reduce): Break out from... From-SVN: r38583
2001-01-01loop.h (struct iv): New.Michael Hayes4-71/+82
* loop.h (struct iv): New. (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'. (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info', 'reg_biv_class' fields with 'regs' and 'n_regs'. (struct ivs): Rename 'loop_iv_list' field to 'list'. * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array. * unroll.c (loop_iterations): Check array bounds with ivs->n_regs. From-SVN: r38582
2001-01-01resource.c (mark_referenced_resources): Abort() before attempting to mark a ↵Alexandre Oliva2-4/+30
pseudo register. * resource.c (mark_referenced_resources): Abort() before attempting to mark a pseudo register. (mark_set_resources): Likewise. From-SVN: r38581
2001-01-01loop.h (REG_IV_CLASS): New accessor macro.Michael Hayes4-15/+22
* loop.h (REG_IV_CLASS): New accessor macro. * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array. * unroll.c (REG_IV_CLASS): Likewise. From-SVN: r38580
2000-12-31dwarf2out.c (loc_descriptor_from_tree, [...]): New.Richard Kenner2-9/+13
* dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New. (loc_descriptor_from_tree, case SAVE_EXPR): New. From-SVN: r38579
2001-01-01loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.Michael Hayes3-429/+469
* loop.c (loop_giv_reduce_benefit): Break out from strength_reduce. (loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise. (prescan_loop): Set pre_header_has_call in loop_info. * loop.h (struct_iv_class): Add `final_value' and `all_reduced'. (struct loop_info): Add `pre_header_has_call'. From-SVN: r38578
2001-01-01loop.c (loop_bivs_find): Break out from strength_reduce.Michael Hayes2-102/+208
* loop.c (loop_bivs_find): Break out from strength_reduce. (loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise. (loop_givs_check, loop_biv_eliminable_p): Likewise. From-SVN: r38577
2001-01-01loop.c (LOOP_REG_LIFETIME, [...]): Define.Michael Hayes2-13/+17
* loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define. (scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P. From-SVN: r38576
2001-01-01loop.h (REGNO_FIRST_LUID, [...]): Define.Michael Hayes4-31/+43
* loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define. * loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of direct access to uid_luid array. * unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise. From-SVN: r38575
2001-01-01loop.h (struct loop_movables): New.Michael Hayes3-37/+89
* loop.h (struct loop_movables): New. (LOOP_MOVABLES): New. (struct loop_info): Add movables field. * loop.c (struct movables): Delete. Replace all uses with struct loop_movables. (the_movables): Delete. Replace all uses with movables field in loop_info. (loop_movables_add, loop_movables_free): New functions. (scan_loop): Use xmalloc instead of alloca for movables. Call loop_movables_free. From-SVN: r38573
2000-12-31* loop.c (debug_loops): New.Michael Hayes2-0/+14
From-SVN: r38572
2000-12-31Add missing operands to asm statement.Philip Blundell2-2/+7
From-SVN: r38571
2000-12-31Daily bump.Jeff Law2-2/+2
From-SVN: r38570
2000-12-30dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.Richard Henderson2-6/+14
* dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC. Initialize variables properly for DBX_LBRAC_FIRST. From-SVN: r38569
2000-12-30* expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.Richard Kenner2-1/+5
From-SVN: r38568
2000-12-30Oops, fix style nit.Kaveh Ghazi1-1/+1
From-SVN: r38567
2000-12-30* builtins.c (validate_arglist): New function, use it.Kaveh R. Ghazi2-141/+90
From-SVN: r38566
2000-12-30Remove COFF support from i?86-pc-sco3.2v5.Robert Lipe2-17/+11
2000-12-29 Robert Lipe <robertl@sco.com> Remove COFF support from i?86-pc-sco3.2v5. * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II. (TARGET_ELF): Now always true. (SUBTARGET_SWTICHES: )Remove -mcoff. * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_EXCEPTION): Nuke coff. (CRTSTUFF_T_CFLAGS_S): Deleted. (TARGET_LIBGCC2_CFLAGS): Added. From-SVN: r38565
2000-12-3020001009-2.c (foo): Test only works for signed char, not default char.Jeffrey Oldham2-1/+6
2000-12-30 Jeffrey Oldham <oldham@codesourcery.com> * gcc.c-torture/execute/20001009-2.c (foo): Test only works for signed char, not default char. From-SVN: r38564
2000-12-30crash18.C: Fails on mips*-sgi-irix*.Jeffrey Oldham2-1/+5
2000-12-30 Jeffrey Oldham <oldham@codesourcery.com> * g++.old-deja/g++.other/crash18.C: Fails on mips*-sgi-irix*. From-SVN: r38563
2000-12-30Fix typos.Philip Blundell2-2/+9
From-SVN: r38562
2000-12-30defaults.h (BUILD_VA_LIST_TYPE): New definition.Jeffrey Oldham3-5/+15
2000-12-30 Jeffrey Oldham <oldham@codesourcery.com> * defaults.h (BUILD_VA_LIST_TYPE): New definition. * tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node is a copy, not an alias. From-SVN: r38561
2000-12-30* calls.c (calls_function_1, case CONSTRUCTOR): New case.Richard Kenner2-0/+13
From-SVN: r38560
2000-12-30alias.c (alias_sets_conflict_p): New function.Richard Kenner8-225/+279
* alias.c (alias_sets_conflict_p): New function. (mems_in_disjoint_alias_sets_p): Use it. (readonly_fields_p): Moved from expr.c; check for record type. (objects_must_conflict_p): New function. * calls.c (expand_call): Use assign_temp as much as possible, use readonly variant if assigned once, and don't set memory attributes. (emit_library_call_value_1, store_one_arg): Likewise. * integrate.c (expand_inline_function): Likewise. * stmt.c (expand_asm_operands, expand_return): Likewise. * expr.c (copy_blkmode_from_reg, store_constructor): Likewise. (store_field, save_noncopied_parts, expand_expr): Likewise. (expand_expr_unaligned): Likewise. (readonly_fields_p): Moved to alias.c. (safe_from_p): Rework handling of SAVE_EXPR. MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF. * function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE. (assign_stack_for_temp): Use objects_must_confict_p. Set all memory attributes from type, if specified. (mark_temp_slot): Mark TYPE field. * tree.h (alias_sets_conflict_p, readonly_fields_p): New decls. (objects_must_conflict_p): Likewise. * stmt.c (expand_decl): Don't use assign_stack_temp in error case. (add_case_node): No need to copy nodes anymore. From-SVN: r38559
2000-12-30Daily bump.Jeff Law2-2/+2
From-SVN: r38555
2000-12-30sh.c (split_branches): Don't dereference re-computed `beyond' before ↵Alexandre Oliva2-2/+7
checking it's non-NULL. * config/sh/sh.c (split_branches): Don't dereference re-computed `beyond' before checking it's non-NULL. From-SVN: r38554