summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * loop.h (REG_IV_CLASS): New accessor macro.m.hayes2001-01-014-15/+22
| | | | | | | | * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array. * unroll.c (REG_IV_CLASS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38580 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New.kenner2001-01-012-9/+13
| | | | | | | (loc_descriptor_from_tree, case SAVE_EXPR): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38579 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.m.hayes2001-01-013-429/+469
| | | | | | | | | | (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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38578 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (loop_bivs_find): Break out from strength_reduce.m.hayes2001-01-012-102/+208
| | | | | | | | (loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise. (loop_givs_check, loop_biv_eliminable_p): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38577 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define.m.hayes2001-01-012-13/+17
| | | | | | | (scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38576 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.m.hayes2001-01-014-31/+43
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38575 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.h (struct loop_movables): New.m.hayes2001-01-013-37/+89
| | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38573 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (debug_loops): New.m.hayes2000-12-312-0/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38572 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing operands to asm statement.pb2000-12-312-2/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38571 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law2000-12-312-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38570 138bc75d-0d04-0410-961f-82ee72b054a4
* * dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.rth2000-12-312-6/+14
| | | | | | | Initialize variables properly for DBX_LBRAC_FIRST. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38569 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.kenner2000-12-312-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38568 138bc75d-0d04-0410-961f-82ee72b054a4
* Oops, fix style nit.ghazi2000-12-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38567 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c (validate_arglist): New function, use it.ghazi2000-12-302-141/+90
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38566 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-29 Robert Lipe <robertl@sco.com>robertl2000-12-302-17/+11
| | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38565 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>oldham2000-12-302-1/+6
| | | | | | | | * gcc.c-torture/execute/20001009-2.c (foo): Test only works for signed char, not default char. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38564 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>oldham2000-12-302-1/+5
| | | | | | | * g++.old-deja/g++.other/crash18.C: Fails on mips*-sgi-irix*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38563 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typos.pb2000-12-302-2/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38562 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>oldham2000-12-303-5/+15
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38561 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (calls_function_1, case CONSTRUCTOR): New case.kenner2000-12-302-0/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38560 138bc75d-0d04-0410-961f-82ee72b054a4
* * alias.c (alias_sets_conflict_p): New function.kenner2000-12-308-225/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38559 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law2000-12-302-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38555 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/sh.c (split_branches): Don't dereference re-computedaoliva2000-12-302-2/+7
| | | | | | | `beyond' before checking it's non-NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38554 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/g++.exp: Use sh to exec ${odir_v3}/tests_flagslaw2000-12-292-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38553 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove COFF support from i?86-pc-sco3.2v5.robertl2000-12-291-0/+13
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38552 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (output_constant_def): Don't ENCODE_SECTION_INFOaoliva2000-12-292-1/+14
| | | | | | | | twice. Update desc->rtl and ->label, in case ENCODE_SECTION_INFO modifies them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38551 138bc75d-0d04-0410-961f-82ee72b054a4
* Improve alias analysis on ia64bernds2000-12-294-14/+37
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38549 138bc75d-0d04-0410-961f-82ee72b054a4
* Add a commentbernds2000-12-292-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38548 138bc75d-0d04-0410-961f-82ee72b054a4
* Compute REG_N_SETS for ORIGINAL_REGNOs.bernds2000-12-292-1/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38547 138bc75d-0d04-0410-961f-82ee72b054a4
* Introduce ORIGINAL_REGNO macrobernds2000-12-297-21/+59
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38546 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (get_set_constructor_bits): Use host_integerp andkenner2000-12-292-6/+10
| | | | | | | tree_low_cst. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38545 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (init_decl_processing): Fix sign of wchar_type_node.jakub2000-12-292-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38537 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>kenner2000-12-292-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | * local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN. *** local-alloc.c 2000/11/30 21:40:33 1.75 --- local-alloc.c 2000/12/29 13:10:59 *************** update_equiv_regs () *** 1141,1146 **** rtx new_insn; ! new_insn = emit_insn_before (copy_rtx (PATTERN (equiv_insn)), ! insn); REG_NOTES (PREV_INSN (insn)) = REG_NOTES (equiv_insn); REG_NOTES (equiv_insn) = 0; --- 1141,1145 ---- rtx new_insn; ! new_insn = emit_insn_before (PATTERN (equiv_insn), insn); REG_NOTES (PREV_INSN (insn)) = REG_NOTES (equiv_insn); REG_NOTES (equiv_insn) = 0; git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38536 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (main): Call xmalloc_set_program_name.kenner2000-12-293-0/+9
| | | | | | | * gcc.c (main): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38535 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo.pb2000-12-292-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38534 138bc75d-0d04-0410-961f-82ee72b054a4
* New test.rth2000-12-291-0/+48
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38533 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.c (alpha_expand_block_move): Initializerth2000-12-292-40/+203
| | | | | | | | | | | | src_align and dst_align in bits. Do unaligned quadword loads if possible for BWX too. (alpha_expand_block_clear): Initialize align in bits. Track small leading offsets into a larger alignment. Play games with stq_u for large 4-byte aligned blocks. Use load/mask/store for appropreately aligned heads and tails. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38532 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/20001117-1.c (__cyg_profile_func_enter): Define.rth2000-12-292-0/+8
| | | | | | | (__cyg_profile_func_exit): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38531 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c (pushclass): Remove #if 0'd code.mmitchel2000-12-295-43/+27
| | | | | | | | | | | | * cp-tree.h (overload_template_name): Remove. * decl.c (store_bindings): Simplify. (pop_from_top_level): Likewise. * pt.c (overload_template_name): Remove. (instantiate_decl): Don't call push_to_top_level if it's not needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38530 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law2000-12-292-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38529 138bc75d-0d04-0410-961f-82ee72b054a4
* * function.c (assign_parms): Convert arguments passed byaoliva2000-12-292-1/+21
| | | | | | | reference to the right mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38528 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-28 Geoffrey Keating <geoffk@redhat.com>geoffk2000-12-294-1/+16
| | | | | | | | | | | | | * c-parse.in (select_or_iter_stmt): Use truthvalue_conversion on the condition of a FOR statement, so that it gets typechecked and optimised. 2000-12-28 Geoffrey Keating <geoffk@redhat.com> * gcc.dg/noncompile/20001228-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38527 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (grokdeclarator): Prevent crash in case of overflow inaoliva2000-12-292-1/+9
| | | | | | | array size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38526 138bc75d-0d04-0410-961f-82ee72b054a4
* Add commentmmitchel2000-12-291-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38525 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.c (register_local_specialization): Don't return a value.mmitchel2000-12-292-11/+28
| | | | | | | | | | (lookup_template_class): Use move-to-front heuristic when looking up template instantiations. (instantiate_decl): Only push_to_top_level when we're actually going to instantiate the template. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38524 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (emit_library_call_value_1): Add to call_fusage theaoliva2000-12-292-0/+8
| | | | | | | stack slot assigned to argument passed by reference. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38523 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/vtgc1.C: New test.hp2000-12-292-0/+139
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38522 138bc75d-0d04-0410-961f-82ee72b054a4
* * search.c (binfo_for_vtable): Return least derived class, nothp2000-12-292-6/+24
| | | | | | | most. Handle secondary vtables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38521 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-28 Jeffrey Oldham <oldham@codesourcery.com>oldham2000-12-292-2/+5
| | | | | | | | * toplev.h (extern really_sorry): Remove extern declaration for nonexistent function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38520 138bc75d-0d04-0410-961f-82ee72b054a4
* Alan forgot his name...geoffk2000-12-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38519 138bc75d-0d04-0410-961f-82ee72b054a4