aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1998-03-22Try to import again.g77_0_0_21_970811Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/g77_0_0_21_970811@18750 138bc75d-0d04-0410-961f-82ee72b054a4
1997-09-14Import of g77-0.5.21Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/g77_0_0_21_970811@15440 138bc75d-0d04-0410-961f-82ee72b054a4
1997-09-14This commit was manufactured by cvs2svn to create branchno-author
'g77_0_0_21_970811'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/g77_0_0_21_970811@15439 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-12This commit was manufactured by cvs2svn to create branchno-author
'g77_0_0_21_970811'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/g77_0_0_21_970811@14773 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-12Initial revisionJeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14772 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-12Remove gratuitous changes from the alias analysis patches.Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14771 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-12 * Integrate Haifa instruction scheduler.Jeffrey A Law
* Integrate regmove pass. See ChangeLog for deatils. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14770 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-11 * Integrate tlink patch from jason@cygnus.comJeffrey A Law
* gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'. (process_command): Increment n_switches for them. Don't discard their args. Validate them. (main): Escape " marks when creating COLLECT_GCC_OPTIONS. From Rohan Lenard. (process_command): Set include_prefixes from COMPILER_PATH. (main): Set COLLECT_GCC_OPTIONS sooner. * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld. * tlink.c, hash.c, hash.h: New files. * Makefile.in (USE_COLLECT2): Always use collect2. (collect2): Depend on and link in hash.o and tlink.o. (tlink.o, hash.o): Add dependencies. tlink patches from Jason. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14769 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-11 * Integrate alias analysis changes from jfc@mit.eduJeffrey A Law
* Makefile.in (OBJS): Add alias.o (alias.o): Add dependencies. * alias.c: New file. * sched.c: Remove alias analysis code. It lives in alias.c now. (reg_last_uses_size): Declare. (sched_analyze_2): Add new arguments to true_dependence. (sched_analyze_insn): Use reg_last_uses_size instead of max_reg. (schedule_block): Initialize reg_last_uses_size. (schedule_insns): Always call init_alias_analysis. * calls.c (expand_call): Note calls to malloc, calloc, and realloc; mark return value from such functions as a pointer and keep track of them for alias analysis. If a return value from a function is a pointer, mark it as such. * combine.c (distribute_notes): Handle REG_NOALIAS. * cse.c (struct write_data): Delete. No longer needed. (invalidate): Don't call set_nonvarying_address_components anymore. Use true_dependence to decide if an entry should be removed from the hash table. (invalidate_memory): Remove WRITES argument, simplify appropriately. Fix all callers. (note_mem_written): Similarly for WRITE_PTR argument. (invalidate_from_clobbers): Similarly for W argument. (invalidate_for_call): Remove memory elements from the hash table. (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted. (cse_rtx_varies_p): New function. Derived from old cse_rtx_addr_varies_p. (cse_insn): Remove WRITES_MEMORY and INIT variables and all references. Don't call note_mem_written anymore. Stack pushes invalidate the stack pointer if PUSH_ROUNDING is defined. No longer need to call cse_rtx_addr_varies_p to decide if a MEM should be invalidated. (skipped_writes_memory): Remove variable. (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory. (invalidate_skipped_block): Simplify for new alias analysis code. (cse_set_around_loop): Likewise. (cse_main): Call init_alias_analysis. * flags.h (flag_alias_check, flag_argument_noalias): Declare. * toplev.c (flag_alias_check, flag_argument_noalias): Define. (f_options): Add new alias checking arguments. (main): Set flag_alias_check when optimizing. * local_alloc (validate_equiv_mem_from_store): Add new arguments to true_dependence. (memref_referenced_p): Likewise. * loop.c (NUM_STORES): Increase to 30. (prescan_loop): Only non-constant calls set unknown_address_altered. (invariant_p): Add new arguments to true_dependence. (record_giv): Initialize unrolled and shared fields. (emit_iv_add_mult): Call record_base_value as needed. * loop.h (struct induction): Add unrolled and shared fields. * unroll.c (unroll_loop): Call record_base_value as needed. (copy_loop_body): Likewise. (final_biv_value): Likewise. (final_giv_value): Likewise. (find_splittable_regs): Likewise. Only create one new pseudo if we have multiple address GIVs that were combined with the same dst_reg GIV. Note when a new register is created due to unrolling. * rtl.c (reg_note_name): Add REG_NOALIAS. * rtl.h (enum reg_note): Similarly. (rtx_varies_p, may_trap_p, side_effects_p): Declare. (volatile_refs_p, volatile_insn_p, remove_note): Likewise. (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise. (true_dependence, read_dependence, anti_dependence): Likewise. (output_dependence, init_alias_analysis, end_alias_analysis): Likewise. (mark_user_reg, mark_reg_pointer): Likewise. jfc's alias analysis code. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14768 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-11 * Integrate reload bugfix from Wilson which enables the PA portJeffrey A Law
to bootstrap again. * reload1.c (reload): Sum needs for both OPADDR_ADDR and and OPERAND_ADDRESS when computing how many registers an insn needs. (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do conflict. (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like OPADDR_ADDR reload. (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers in reload_reg_use_in_op_addr do not reach the end. do not reach the end. (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with RELOAD_FOR_OPERAND_ADDRESS. Start a new ChangeLog for gcc3. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14767 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-11Initial revisionJeff Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14764 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-07Initial revisionJeff Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14727 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-06Initial revisionJeff Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14676 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-05Initial revisionJeff Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14671 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(store_one_arg): Allow stack_slot to be SP in ARGS_GROW_DOWNWARD case.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14639 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02parmlist_tags_warning): Only suppress warning on union if anonymous.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14638 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(int_fits_type_p): Negative ints never fit unsigned types, andRichard Kenner
unsigned ints with top-bit-set never fit signed types. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14637 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(_trampoline): Rework last change; both getpagesize and mprotect areRichard Kenner
in cygwin32. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14636 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(reload): Add IN_ADDR to IN_ADDR_ADDR when computing needs since they conflict.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14635 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(debug_reload): Rework to make output more compact.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14634 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(indent): Move to file level; was static in print_rtx.Richard Kenner
(print_inline_rtx): New function. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14633 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02* objc/Make-lang.in (OBJC_CCOMMON): Removed.Per Bothner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14632 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02* Makefile.in (EXTRA_C_OBJS): Removed.Per Bothner
(C_AND_OBJC_OBJS): New. Subsumes EXTRA_C_OBJS and OBJC_CCOMMON. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14631 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02 * configure.in: Build .gdbinit for top level build dir here.Doug Evans
(AC_OUTPUT): Pass oldstyle_subdirs to configure.lang. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14630 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02 * configure.lang: Fix building of .gdbinit for oldstyle lang subdirs.Doug Evans
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14629 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(gen_compile_unit_die): Add support for Pascal.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14628 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(output_compile_unit_die): Add support for Pascal.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14627 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(lvalue_p, case BIND_EXPR, RTL_EXPR): Return 1 if array.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14626 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(cse_insn): Ignore paradoxical SUBREGs unless we are looking for such.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14625 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(sparc_builtin_saveregs): If -fcheck-memory-usage, set rights of savedRichard Kenner
registers. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14624 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(hppa_builtin_saveregs): f -fcheck-memory-usage, set rights of savedRichard Kenner
registers. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14623 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(m88k_builtin_saveregs): If -fcheck-memory-usage, set rights of savedRichard Kenner
registers. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14622 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(clipper_builtin_saveregs): If -fcheck-memory-usage, set rights ofRichard Kenner
saved registers. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14621 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(alpha_builtin_saveregs): If -fcheck-memory-usage, set rights of savedRichard Kenner
registers. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14620 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(make_function_rtl, make_decl_rtl): Add a prefix whenRichard Kenner
flag_prefix_function_name_usage is set. (assemble_name): Strip the CHKR_PREFIX. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14619 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(built_in_function): Add BUILT_IN_AGGREGATE_INCOMING_ADDRESS.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14618 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(flag_check_memory_usage, flag_prefix_function_name): New variable.Richard Kenner
(f_options): Add `check-memory-usage' and `prefix_function_name'. (main): Disable `-fomit-frame-pointer' if `-fcheck-memory-usage' is set and the machine can't debug without the frame pointer. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14617 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(expand_computed_goto): If -fcheck-memory-usage, check that computed addressRichard Kenner
of a goto is executable. (expand_asm, expand_asm_operands): If -fcheck-memory-usage, disallow asm statments. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14616 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(chkr_{check_addr,set_right}_libfunc): New definitions.Richard Kenner
(chkr_{copy_bitmap,check_exec}_libfunc): Likewise. (init_optabs): Initialize these chkr_*_libfunc. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14615 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(put_var_into_stack, assign_parms): If -fcheck-memory-usage, set theRichard Kenner
rights of pushed variable. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14614 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(flag_check_memory_usage, flag_prefix_function_name): New declaration.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14613 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02Add expand_modifier flags.Richard Kenner
(chkr_*_libfunc): New decls. (memory_use_mode): New declaration. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14612 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(expand_builtin, case BUILT_IN_AGGREGATE_INCOMING_ADDRESS): New case.Richard Kenner
(expand_assignment, expand_expr, emit_push_insn, store_expr): Insert calls to chkr_check_addr, chkr_set_right, and chkr_copy_bitmap when -fcheck-memory-usage. (get_push_address, get_memory_usage_from_modifier): New functions. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14611 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(expr_size): Call expand_expr with appropriate flag.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14610 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(init_decl_processing): Add __builtin_aggregate_incoming_address.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14609 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(expand_call): If -fcheck-memory-usage, use pseudo-register, checkRichard Kenner
indirectly called function is executable, and set rights of memory for aggregate as write only. (store_one_arg): If -fcheck-memory-usage, set rights for pushed stack argument. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14608 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(OBJC_OBJC): Delete from here.Richard Kenner
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14607 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(compare_constant_1, case STRING_CST): Compare TYPE_MODE.Richard Kenner
(record_constant_1, case STRING_CST): Record TYPE_MODE. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14606 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(expand_expr, case PLACEHOLDER_EXPR): Find innermost matching andRichard Kenner
don't check contains_placeholder_p. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14605 138bc75d-0d04-0410-961f-82ee72b054a4
1997-08-02(contains_this_placeholder_p): Delete.Richard Kenner
(contains_placeholder_p): Now contains code from above function. (contains_placeholder_p, case 'r'): Don't look at offset info. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14604 138bc75d-0d04-0410-961f-82ee72b054a4