OSDN Git Service

pf3gnuchains/gcc-fork.git
27 years ago(do_include): Diagnose #import and #include_next if pedantic and if
kenner [Sun, 13 Apr 1997 18:30:13 +0000 (18:30 +0000)]
(do_include): Diagnose #import and #include_next if pedantic and if
not in a system header.
(do_warning): #warning now causes an error if -pedantic-errors is
given; this is needed since #warning isn't ANSI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13887 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoRemove REG_DEAD notes when eliminating a set in the reload CSE pass
ian [Sun, 13 Apr 1997 18:20:27 +0000 (18:20 +0000)]
Remove REG_DEAD notes when eliminating a set in the reload CSE pass

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13886 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(fatal_perror, fatal, collect_wait): Use FATAL_EXIT_CODE.
kenner [Sun, 13 Apr 1997 18:19:48 +0000 (18:19 +0000)]
(fatal_perror, fatal, collect_wait): Use FATAL_EXIT_CODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13885 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(print_usage, open_files): Use FATAL_EXIT_CODE.
kenner [Sun, 13 Apr 1997 18:19:11 +0000 (18:19 +0000)]
(print_usage, open_files): Use FATAL_EXIT_CODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13884 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(L_bb, L_exit): Use 0 rather than NULL for null pointers.
kenner [Sun, 13 Apr 1997 18:12:05 +0000 (18:12 +0000)]
(L_bb, L_exit): Use 0 rather than NULL for null pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13883 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(rotl[shq]i3, rotl[hq]i3+1): Don't directly modify operand.
kenner [Sun, 13 Apr 1997 17:17:56 +0000 (17:17 +0000)]
(rotl[shq]i3, rotl[hq]i3+1): Don't directly modify operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13882 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(tstdi): Add missing parallel around the pattern.
kenner [Sun, 13 Apr 1997 16:53:00 +0000 (16:53 +0000)]
(tstdi): Add missing parallel around the pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13881 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(cpp_lex) New arg skip_evaluation.
kenner [Sun, 13 Apr 1997 16:50:58 +0000 (16:50 +0000)]
(cpp_lex) New arg skip_evaluation.
(cpp_parse_expr): Pass skip_evaluation to cpp_lex.
Abort if cpp_lex returns NAME.
(cpp_lex): Optionally warn about undefined identifiers that evaluate to 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13880 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(cpp_handle_options): Set warn_undef from -Wundef and -Wno-undef.
kenner [Sun, 13 Apr 1997 16:50:30 +0000 (16:50 +0000)]
(cpp_handle_options): Set warn_undef from -Wundef and -Wno-undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13879 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(struct cpp_options): New member warn_undef.
kenner [Sun, 13 Apr 1997 16:50:11 +0000 (16:50 +0000)]
(struct cpp_options): New member warn_undef.
(CPP_WARN_UNDEF): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13878 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agocexp.y (warn_undef): New variable.
kenner [Sun, 13 Apr 1997 16:49:45 +0000 (16:49 +0000)]
cexp.y (warn_undef): New variable.
(exp): Optionally warn about undefined identifiers that evaluate to 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13877 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(warn_undef): New variable.
kenner [Sun, 13 Apr 1997 16:49:07 +0000 (16:49 +0000)]
(warn_undef): New variable.
(main): Set warn_undef from -Wundef and -Wno-undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13876 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(c_decode_option): Ignore -Wundef, -Wno-undef.
kenner [Sun, 13 Apr 1997 16:47:53 +0000 (16:47 +0000)]
(c_decode_option): Ignore -Wundef, -Wno-undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13875 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(lang_options): Add -Wundef, -Wno-undef.
kenner [Sun, 13 Apr 1997 16:47:38 +0000 (16:47 +0000)]
(lang_options): Add -Wundef, -Wno-undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13874 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoFormerly cpp.texi.~30~
kenner [Sun, 13 Apr 1997 16:47:14 +0000 (16:47 +0000)]
Formerly cpp.texi.~30~

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13873 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoFix typo in comment.
kenner [Sun, 13 Apr 1997 15:44:17 +0000 (15:44 +0000)]
Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13872 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoInitial revision
kenner [Sun, 13 Apr 1997 15:43:08 +0000 (15:43 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13871 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(lookup_field): Don't recurse unless FIELD is a RECORD_TYPE or
kenner [Sun, 13 Apr 1997 14:59:54 +0000 (14:59 +0000)]
(lookup_field): Don't recurse unless FIELD is a RECORD_TYPE or
UNION_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13870 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(validate_replace_rtx_1, case MINUS): New case.
kenner [Sun, 13 Apr 1997 13:48:25 +0000 (13:48 +0000)]
(validate_replace_rtx_1, case MINUS): New case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13869 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(*return_addsi): Change condition to exclude both ints.
kenner [Sun, 13 Apr 1997 13:47:25 +0000 (13:47 +0000)]
(*return_addsi): Change condition to exclude both ints.
(*return_adddi): Likewise.
(*return_subsi): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13868 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoClean up copyright notice.
kenner [Sun, 13 Apr 1997 13:47:11 +0000 (13:47 +0000)]
Clean up copyright notice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13867 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(eligible_for_delay_slot): Clean up and make to agree precisely with
kenner [Sun, 13 Apr 1997 13:46:34 +0000 (13:46 +0000)]
(eligible_for_delay_slot): Clean up and make to agree precisely with
patterns in MD file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13866 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(profile_function): Save the static chain register around the call to
kenner [Sun, 13 Apr 1997 12:44:41 +0000 (12:44 +0000)]
(profile_function): Save the static chain register around the call to
the profiler function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13865 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(TARGET_VERSION): Redefine.
kenner [Sun, 13 Apr 1997 12:20:20 +0000 (12:20 +0000)]
(TARGET_VERSION): Redefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13864 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(reload): If function has nonlocal label, mark all caller-saved regs
kenner [Sun, 13 Apr 1997 12:15:28 +0000 (12:15 +0000)]
(reload): If function has nonlocal label, mark all caller-saved regs
as used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13863 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(invariant_p, case REG): Pointers into frame are not invariants if
kenner [Sun, 13 Apr 1997 12:15:13 +0000 (12:15 +0000)]
(invariant_p, case REG): Pointers into frame are not invariants if
function has nonlocal gotos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13862 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoDelete some FIXMEs.
dje [Fri, 11 Apr 1997 21:14:47 +0000 (21:14 +0000)]
Delete some FIXMEs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13861 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoDelete some FIXMEs.
dje [Fri, 11 Apr 1997 21:08:57 +0000 (21:08 +0000)]
Delete some FIXMEs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13860 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoDelete "FIXME".
dje [Fri, 11 Apr 1997 21:03:35 +0000 (21:03 +0000)]
Delete "FIXME".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13859 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(REG_ALLOC_ORDER): Restore to original setting.
dje [Fri, 11 Apr 1997 20:52:56 +0000 (20:52 +0000)]
(REG_ALLOC_ORDER): Restore to original setting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13858 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * m32r/m32r.h (UPPER16_P): Fix calculation.
dje [Fri, 11 Apr 1997 20:48:54 +0000 (20:48 +0000)]
* m32r/m32r.h (UPPER16_P): Fix calculation.
* m32r/m32r.c (two_insn_const_operand): New function.
(m32r_print_operand): Handle 'X'.
* m32r/m32r.md (movsi): Tweak.
(*movsi_insn): Output hex value of constants too.
(movsi define_split): Add.
(andsi3,orsi3,xorsi3): Output hex value of constants too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13857 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoRecognize OpenBSD systems correctly (from Niklas Hallqvist
ian [Fri, 11 Apr 1997 20:40:28 +0000 (20:40 +0000)]
Recognize OpenBSD systems correctly (from Niklas Hallqvist
<niklas@appli.se>)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13849 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(sne): Modified to use negc instead of xor.
wilson [Thu, 10 Apr 1997 22:39:01 +0000 (22:39 +0000)]
(sne): Modified to use negc instead of xor.
(sne+1): New define_split for new sne pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13848 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(output_stack_adjust): Reorganize code for readability.
wilson [Wed, 9 Apr 1997 22:44:46 +0000 (22:44 +0000)]
(output_stack_adjust): Reorganize code for readability.
If size is negative, negate and subtract it instead of adding it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13847 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(output_stack_adjust): When splitting an adjustment into two parts,
amylaar [Wed, 9 Apr 1997 17:50:38 +0000 (17:50 +0000)]
(output_stack_adjust): When splitting an adjustment into two parts,
make sure the stack is aligned at all times.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13846 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * mn10300.h (RETURN_ADDR_RTX): Define.
law [Tue, 8 Apr 1997 18:41:49 +0000 (18:41 +0000)]
    * mn10300.h (RETURN_ADDR_RTX): Define.

        * mn10300.c (count_tst_insns): New function.
        (expand_prologue): Load zero into data and/or address registers
        if any are free and the function has optimizable tst insns.
        (output_tst): If a suitable register is known to have the
        value zero, use it instead of searching for a suitable register.
        * mn10300.h (zero_dreg, zero_areg): Declare.
        (FRAME_POINTER_NEEDED): Frame pointers are not needed if the
        outgoing argument size is zero.
        * mn10300.md (movXX): Optimize loading zero i        register if possible.  Optimize loading a DF/DI mode value
        into an address register from a constant memory address.
        (addsi3): Provide alternative which doesn't require a matching
        inout operand.
        (return): Optimize consecutive return instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13845 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoAdd m32r support.
dje [Mon, 7 Apr 1997 22:31:52 +0000 (22:31 +0000)]
Add m32r support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13844 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(SUBTARGET_CC1_SPEC): Define.
amylaar [Mon, 7 Apr 1997 21:29:09 +0000 (21:29 +0000)]
(SUBTARGET_CC1_SPEC): Define.
(CC1_SPEC): Add subtarget_cc1_spec.
(EXTRA_SPECS): Add subtarget_cc1_spec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13843 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(SUBTARGET_CC1_SPEC): Define.
amylaar [Mon, 7 Apr 1997 21:29:09 +0000 (21:29 +0000)]
(SUBTARGET_CC1_SPEC): Define.
(STARTFILE_SPEC, LINK_SPEC): Support -static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13842 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(SUBTARGET_CC1_SPEC): Define.
amylaar [Mon, 7 Apr 1997 21:29:09 +0000 (21:29 +0000)]
(SUBTARGET_CC1_SPEC): Define.
(LINK_SPEC, STARTFILE_SPEC): Support -static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13841 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(incscc): Use a match_operand with cc_register to match
erich [Sun, 6 Apr 1997 16:24:02 +0000 (16:24 +0000)]
(incscc): Use a match_operand with cc_register to match
the condition code register.
(decscc, *condbranch, *condbranch_reversed, *mov_scc): Likewise.
(*mov_negscc, *mov_notscc, *cond_return): Likewise.
(*cond_return_inverted, *ior_scc, *cond_move): Likewise.
(insv): New expand.
(andsi_notsi_si): Renamed from *andsi_notsi_si.
(andsi_not_shiftsi_si): New insn.
(*minmax_arithsi): Don't match this insn if operand1 is an
eliminable register.
({sin,cos}*): Delete, since the ARM always emulates these its
faster to call a library function.
(movsicc, *movsicc_insn): Make operand0 an s_register_operand,
and operand3 an arm_not_operand.  Use cc_register to match the
condition code register.
(mov[sd]fcc*): Make operand[0,2] s_register_operands, and operand3
the nonmemory_operand.  Use cc_register to match the condition
code register.
(*ifcompare_plus_move): Move before *ifcompare_arith_move.  Just do
a split for the output.
(*ifcompare_move_plus): Similarly, but relative
to *ifcompare_move_arith.
(*if_plus_move, *if_move_plus): New patterns.
(*ifcompare_arith_arith): Simplify the alternatives down to just one,
and split the insn before output.
(*if_arith_arith, *if_arith_move, *if_move_arith): New patterns.
(*ifcompare_move_not, *ifcompare_not_move): Simplify and split the
insn before output.
(*if_move_not, *if_not_move): New patterns.
(*ifcompare_shift_move, *ifcompare_move_shift): Simplify and split the
insn before output.
(*if_shift_move, *if_move_shift): New patterns.
(*ifcompare_shift_shift): Simplify and split the insn before output.
(*if_shift_shift): New pattern.
(*ifcompare_not_arith, *ifcompare_arith_not): Simplify and split the
insn before output.
(*if_not_arith, *if_arith_not): New patterns.
(*ifcompare_neg_move, *ifcompare_move_neg): Simplify and split the
insn before output.
(*if_neg_move, *if_move_neg): New patterns..

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13840 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoFix adddi3 problem from wilson; make sol-ci.asm assemble with new gas
meissner [Sun, 6 Apr 1997 01:51:07 +0000 (01:51 +0000)]
Fix adddi3 problem from wilson; make sol-ci.asm assemble with new gas

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13839 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(no_conflict_p): Reject sequences with foreign insns.
wilson [Thu, 3 Apr 1997 23:08:40 +0000 (23:08 +0000)]
(no_conflict_p): Reject sequences with foreign insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13838 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * mn10300.c (can_use_return_insn): Add size of fixed stack space
law [Thu, 3 Apr 1997 22:20:18 +0000 (22:20 +0000)]
    * mn10300.c (can_use_return_insn): Add size of fixed stack space
        for function calls into the size of the frame.  */
        (expand_prologue, expand_epilogue): Likewise.
        (initial_offset): Corresponding changes..
        * mn10300.h (OUTGOING_REG_PARM_STACK_SPACE): No longer define.
        (STACK_POINTER_OFFSET): Define.
        * mn10300.md (call, call_value expanders): Don't adjust the stack
        pointer here anymore.

        * mn10300.md (ashlsi3): Remove some alternatives which are no longer
        needed or desired.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13837 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(move_deaths): Handle partial REG_DEAD note for
wilson [Thu, 3 Apr 1997 20:34:07 +0000 (20:34 +0000)]
(move_deaths): Handle partial REG_DEAD note for
multi-reg hard register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13836 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(expand_function_start): Emit queue after expanding
wilson [Thu, 3 Apr 1997 20:26:33 +0000 (20:26 +0000)]
(expand_function_start): Emit queue after expanding
each dynamic parameter type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13835 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(mips_move_2words): Add SIGN_EXTEND support for SYMBOL_REF,
wilson [Thu, 3 Apr 1997 20:18:13 +0000 (20:18 +0000)]
(mips_move_2words): Add SIGN_EXTEND support for SYMBOL_REF,
LABEL_REF, and CONST operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13834 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoDelete comment referring to README.DWARF.
wilson [Thu, 3 Apr 1997 20:04:23 +0000 (20:04 +0000)]
Delete comment referring to README.DWARF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13833 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoFixes from wilson
meissner [Wed, 2 Apr 1997 22:26:01 +0000 (22:26 +0000)]
Fixes from wilson

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13832 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago90th Cygnus<->FSF quick merge
mrs [Wed, 2 Apr 1997 03:58:33 +0000 (03:58 +0000)]
90th Cygnus<->FSF quick merge

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13831 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * libgcc2.c (find_exception_table): Fix to logic to deal with
mrs [Wed, 2 Apr 1997 03:31:36 +0000 (03:31 +0000)]
* libgcc2.c (find_exception_table): Fix to logic to deal with
  functions that are in their own section, such as template
  instantiations, that cause overlapping EH tables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13830 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * Makefile.in (USER_H): Add va-mn10300.h
law [Wed, 2 Apr 1997 03:07:22 +0000 (03:07 +0000)]
    * Makefile.in (USER_H): Add va-mn10300.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13829 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoInitial revision
law [Wed, 2 Apr 1997 01:34:17 +0000 (01:34 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13828 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * ginclude/stdarg.h: Include va-mn10300.h.
law [Wed, 2 Apr 1997 01:33:45 +0000 (01:33 +0000)]
    * ginclude/stdarg.h: Include va-mn10300.h.
        * ginclude/varargs.h: Likewise.
        * ginclude/va-mn10300.h: New file.
        * mn10300/mn10300.c (expand_prologue): If current_function_varargs is
        nonzero, then flush d0/d1 back into the stack.
        (mn10300_builtin_saveregs): New function.
        (function_arg, function_arg_partial_nregs): New functions.
        (initial_offset): Tweak now that the RP save area is allocated
        and deallocated around each call again.
        * mn10300/mn10300.h (FIRST_PARM_OFFSET): Now 4.
        (FRAME_POINTER_REQUIRED): Require a frame pointer for all non-leaf
        functions.
        (REG_PARM_STACK_SPACE): Now 8 bytes.
        (FUNCTION_ARG_REGNO_P): Update for new parameter passing conventions.
        (CUMULATIVE_ARGS, INIT_CUMULATIVE_ARGS): Likewise.
        (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Likewise.
        (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
        (TRAMPOLINE_TEMPLATE): Don't clobber d0 anymore.
        (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
        (EXPAND_BUILTIN_SAVEREGS): Define.
        * mn10300/mn10300.md (call, call_value patterns): Allocate and
        deallocate a stack slot for the return pointer around each call.

        * mn10300/mn10300.h (RTX_COSTS): Refine.
        (CASE_VALUES_THRESHHOLD, NO_FUNCTION_CSE): Likewise.
        * mn10300/mn10300.c (output_tst): New function.
        * mn10300/mn10300.md (movdi, movdf): Improve code to load constants
        into registers.
        (tst insns): Use output_tst to optimize some cases.  Add versions to
        encourage more zero extensions instead of sign extensions of HImode
        and QImode values.
        (divsi3, udivsi3): Remove patterns.  Replaced by...
        (divmodsi4, udivmodsi4): New expanders/patterns.
        (andsi3): Optimize "and" operations with certain constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13827 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoRemove some out of date comments.
law [Tue, 1 Apr 1997 17:00:31 +0000 (17:00 +0000)]
Remove some out of date comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13826 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(ADJUST_COSTS): Define.
amylaar [Tue, 1 Apr 1997 14:13:57 +0000 (14:13 +0000)]
(ADJUST_COSTS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13825 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoInitial revision
dje [Fri, 28 Mar 1997 22:43:13 +0000 (22:43 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13824 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * toplev.c (branch_prob_dump, profile_arc_flag, flag_test_coverage,
dje [Fri, 28 Mar 1997 22:40:07 +0000 (22:40 +0000)]
* toplev.c (branch_prob_dump, profile_arc_flag, flag_test_coverage,
flag_branch_probabilities, branch_prob_dump_file, branch_prob_time):
New variables.
(f_options): Add profile-arcs, test-coverage, and
branch-probabilities.
(compile_file): Set branch_prob_time.  Pass flag_test_coverage to
init_emit_once.  Handle branch_prob_dump.  Call init_branch_prob.
Call end_branch_prob. Call output_func_start_profiler.
(rest_of_compilation): Handle branch_prob_dump.  Call new
branch_prob pass.
(main): Set branch_prob_dump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13823 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * sched.c (update_flow_info): Handle REG_EXEC_COUNT and REG_BR_PROB
dje [Fri, 28 Mar 1997 22:39:39 +0000 (22:39 +0000)]
* sched.c (update_flow_info): Handle REG_EXEC_COUNT and REG_BR_PROB
notes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13822 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * rtl.c (note_insn_name): Add NOTE_REPEATED_LINE_NUMBER.
dje [Fri, 28 Mar 1997 22:39:20 +0000 (22:39 +0000)]
* rtl.c (note_insn_name): Add NOTE_REPEATED_LINE_NUMBER.
(reg_note_name): Add REG_BR_PROB and REG_EXEC_COUNT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13821 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * rtl.h (enum reg_note): Add REG_BR_PROB and REG_EXEC_COUNT.
dje [Fri, 28 Mar 1997 22:39:00 +0000 (22:39 +0000)]
* rtl.h (enum reg_note): Add REG_BR_PROB and REG_EXEC_COUNT.
(REG_BR_PROB_BASE): Define.
(NOTE_REPEATED_LINE_NUMBER): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13820 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * reorg.c (mostly_true_jump): Use REG_BR_PROB notes when
dje [Fri, 28 Mar 1997 22:38:24 +0000 (22:38 +0000)]
* reorg.c (mostly_true_jump): Use REG_BR_PROB notes when
flag_branch_probabilities.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13819 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * libgcc2.c (__bb_exit_func): Support gcov style output.
dje [Fri, 28 Mar 1997 22:38:07 +0000 (22:38 +0000)]
* libgcc2.c (__bb_exit_func): Support gcov style output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13818 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * jump.c (jump_optimize, follow_jumps, mark_jump_label): Disable some
dje [Fri, 28 Mar 1997 22:37:37 +0000 (22:37 +0000)]
* jump.c (jump_optimize, follow_jumps, mark_jump_label): Disable some
  optimizations when flag_test_coverage and there is a line number note
  in the way.
(invert_jump): Add REG_BR_PROB when flag_branch_probabililties.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13817 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * integrate.c (expand_inline_function): Output
dje [Fri, 28 Mar 1997 22:36:53 +0000 (22:36 +0000)]
* integrate.c (expand_inline_function): Output
NOTE_REPEATED_LINE_NUMBER after inlined call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13816 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * function.c (expand_function_end): Output NOTE_REPEATED_LINE_NUMBER
dje [Fri, 28 Mar 1997 22:36:31 +0000 (22:36 +0000)]
* function.c (expand_function_end): Output NOTE_REPEATED_LINE_NUMBER
for last line of function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13815 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * flags.h (profile_arc_flag, flag_test_coverage,
dje [Fri, 28 Mar 1997 22:36:13 +0000 (22:36 +0000)]
* flags.h (profile_arc_flag, flag_test_coverage,
flag_branch_probabilities): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13814 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * final.c (LONG_TYPE_SIZE): Define.
dje [Fri, 28 Mar 1997 22:35:56 +0000 (22:35 +0000)]
* final.c (LONG_TYPE_SIZE): Define.
(count_instrumented_arcs): New variable.
(end_final, profile_after_prologue, leaf_function_p): Add support
for profile_arc_flag.
(add_bb): Only call CC_STATUS_INIT if HAVE_cc0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13813 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * sparc.h (OVERRIDE_OPTIONS): Check profile_arc_flag.
dje [Fri, 28 Mar 1997 22:35:28 +0000 (22:35 +0000)]
* sparc.h (OVERRIDE_OPTIONS): Check profile_arc_flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13812 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * combine.c (distribute_notes): Handle REG_BR_PROB and REG_EXEC_COUNT
dje [Fri, 28 Mar 1997 22:34:53 +0000 (22:34 +0000)]
* combine.c (distribute_notes): Handle REG_BR_PROB and REG_EXEC_COUNT
REG_NOTES.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13811 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * Makefile.in (LANGUAGES): Add gcov.
dje [Fri, 28 Mar 1997 22:34:21 +0000 (22:34 +0000)]
* Makefile.in (LANGUAGES): Add gcov.
(OBJS): Add profile.o.
(STAGESTUFF): Add gcov.
(profile.o, gcov.o, gcov): Add rules to build them.
(cpp.info, gcc.info, gcc.dvi): Add gcov.texi.
(install-common): Install gcov.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13810 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoentered into RCS
dje [Fri, 28 Mar 1997 22:32:02 +0000 (22:32 +0000)]
entered into RCS

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13809 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(zero_extendhisi2+[12]): use true_regnum instead of REGN
coxs [Thu, 27 Mar 1997 22:23:58 +0000 (22:23 +0000)]
(zero_extendhisi2+[12]): use true_regnum instead of REGN

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13808 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(CPP_CPU_DEFAULT): Define if TARGET_CPU_DEFAULT is not set.
coxs [Thu, 27 Mar 1997 22:17:33 +0000 (22:17 +0000)]
(CPP_CPU_DEFAULT): Define if TARGET_CPU_DEFAULT is not set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13807 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoFormerly cpp.texi.~29~
eggert [Wed, 26 Mar 1997 20:35:20 +0000 (20:35 +0000)]
Formerly cpp.texi.~29~

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13806 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoAdd a CSE pass over the hard registers after reload is complete
ian [Wed, 26 Mar 1997 17:35:01 +0000 (17:35 +0000)]
Add a CSE pass over the hard registers after reload is complete

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13805 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(__va_copy): New definition.
kenner [Wed, 26 Mar 1997 12:34:03 +0000 (12:34 +0000)]
(__va_copy): New definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13804 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoAdd %include, %include_noerr, %rename support to specs
meissner [Tue, 25 Mar 1997 22:03:18 +0000 (22:03 +0000)]
Add %include, %include_noerr, %rename support to specs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13803 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago* c-decl.c (grokdeclarator): Pedwarn qualified void function return type.
dje [Tue, 25 Mar 1997 21:39:09 +0000 (21:39 +0000)]
* c-decl.c (grokdeclarator): Pedwarn qualified void function return type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13802 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(udivsi3): Fix hunk from previous patch that did not apply correctly.
kenner [Tue, 25 Mar 1997 20:28:51 +0000 (20:28 +0000)]
(udivsi3): Fix hunk from previous patch that did not apply correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13801 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(ASM_RETURN_CASE_JUMP): Use extl to explicitly sign extend index
kenner [Tue, 25 Mar 1997 20:24:20 +0000 (20:24 +0000)]
(ASM_RETURN_CASE_JUMP): Use extl to explicitly sign extend index
register on TARGET_5200.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13800 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(tablejump): Use extl to explicitly sign extend index registern on
kenner [Tue, 25 Mar 1997 20:20:06 +0000 (20:20 +0000)]
(tablejump): Use extl to explicitly sign extend index registern on
TARGET_5200.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13799 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(mulsi3): Changed into define_expand. Split insn into m68k and
kenner [Tue, 25 Mar 1997 19:50:42 +0000 (19:50 +0000)]
(mulsi3): Changed into define_expand.  Split insn into m68k and
coldfire specific versions with appropriate constraints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13798 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * expr.c (emit_push_insn): Delete emission of CLOBBER
dje [Tue, 25 Mar 1997 19:43:45 +0000 (19:43 +0000)]
* expr.c (emit_push_insn): Delete emission of CLOBBER
when doing partial push, no longer necessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13797 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(movqi): Disable use of address registers for TARGET_5200.
kenner [Tue, 25 Mar 1997 19:36:28 +0000 (19:36 +0000)]
(movqi): Disable use of address registers for TARGET_5200.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13796 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(find_dummy_reload): New parameter earlyclobber. If set then don't
kenner [Tue, 25 Mar 1997 19:27:59 +0000 (19:27 +0000)]
(find_dummy_reload): New parameter earlyclobber.  If set then don't
use IN for the reload if it also appears elsewhere in the insn.  All
callers changed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13795 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoInitial revision
kenner [Tue, 25 Mar 1997 19:26:08 +0000 (19:26 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13794 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(__modsi3, __umodsi3): Use mulsl instruction instead of __mulsi3
kenner [Tue, 25 Mar 1997 19:17:05 +0000 (19:17 +0000)]
(__modsi3, __umodsi3): Use mulsl instruction instead of __mulsi3
function call on the coldfire.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13793 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoFix typo in comment.
kenner [Tue, 25 Mar 1997 19:04:54 +0000 (19:04 +0000)]
Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13792 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(bne0_di): Fix typo in last change.
kenner [Tue, 25 Mar 1997 19:01:08 +0000 (19:01 +0000)]
(bne0_di): Fix typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13791 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(xorsi3_5200): Correct constraints.
kenner [Tue, 25 Mar 1997 18:24:02 +0000 (18:24 +0000)]
(xorsi3_5200): Correct constraints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13790 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(move{si,hi,qi,di}): Changed into define_expands. Split insns into
kenner [Tue, 25 Mar 1997 18:20:11 +0000 (18:20 +0000)]
(move{si,hi,qi,di}): Changed into define_expands.  Split insns into
m68k and coldfire specific versions with appropriate constraints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13789 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(output_move_{si,hi,qi}mode): Declare.
kenner [Tue, 25 Mar 1997 18:19:21 +0000 (18:19 +0000)]
(output_move_{si,hi,qi}mode): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13788 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(output_move_{si,hi,qi}mode): New functions.
kenner [Tue, 25 Mar 1997 18:18:54 +0000 (18:18 +0000)]
(output_move_{si,hi,qi}mode): New functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13787 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(GCC_PASSES): Revert previous change; use cc1$(exeext).
kenner [Tue, 25 Mar 1997 17:18:27 +0000 (17:18 +0000)]
(GCC_PASSES): Revert previous change; use cc1$(exeext).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13786 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoUpdate copyright.
dje [Mon, 24 Mar 1997 21:11:54 +0000 (21:11 +0000)]
Update copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13785 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoAdd m32r support.
dje [Mon, 24 Mar 1997 21:11:18 +0000 (21:11 +0000)]
Add m32r support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13784 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoUpdate rtems configuration
meissner [Mon, 24 Mar 1997 21:10:53 +0000 (21:10 +0000)]
Update rtems configuration

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13783 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoFormerly extend.texi.~113~
dje [Mon, 24 Mar 1997 20:53:34 +0000 (20:53 +0000)]
Formerly extend.texi.~113~

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13782 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(m32r,mn10300): Add.
dje [Mon, 24 Mar 1997 20:38:28 +0000 (20:38 +0000)]
(m32r,mn10300): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13763 138bc75d-0d04-0410-961f-82ee72b054a4