OSDN Git Service

pf3gnuchains/gcc-fork.git
29 years ago This patch makes selectors in the Objective-C language be pointers
krab [Thu, 30 Jun 1994 16:18:55 +0000 (16:18 +0000)]
    This patch makes selectors in the Objective-C language be pointers
        to a struct { void *sel_id, char *sel_types }, where the sel_types
        element is the type encoding of the method arguments.

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

29 years ago (read:, write:, streamVersion:):
krab [Thu, 30 Jun 1994 16:18:55 +0000 (16:18 +0000)]
 (read:, write:, streamVersion:):
        Un-disable for alpha.  (forward::, performv::): Declare and fix to
        return retval_t. .

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

29 years ago * objc-act.c (get_proto_encoding, build_typed_selector_reference):
krab [Thu, 30 Jun 1994 16:17:36 +0000 (16:17 +0000)]
    * objc-act.c (get_proto_encoding, build_typed_selector_reference):
        New fucnctions. (UTAG_PROTOCOL): New define.
        (objc_selector_template, flag_typed_selectors): New variables.
        (objc_init): set flag_typed_selectors if -fgnu-runtime.
        (synth_module_prologue): Change declaration of
        _OBJC_SELECTOR_TABLE when flag_typed_selectors is non-null.
        (build_module_descriptor): Make sure the generated constructor
        function is declared public.
        (build_selector): Only cast to SEL when not doing typed selectors.
        (build_selector_translation_table): Rewrite initialization.
        (build_tmp_function_decl): Make up new name when called, since it
        may now be called multiple times.
        (hack_method_prototype): Use init_function_start to reinit args
        machinery.  Also set current_function_decl before calling
        assign_parms.
        (generate_protocols):  Don't generate encoding twice.
        (build_selector_template): New function.
        (build_method_list_template): Generate (void*)0 as first element,
        not (int)0.
        (build_message_expr): move the call to build_selector_reference
        towards the end, where we have determined the function prototype.

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

29 years ago(INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when eliminating
erich [Thu, 30 Jun 1994 11:48:44 +0000 (11:48 +0000)]
(INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when eliminating
the arg pointer into the stack pointer.

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

29 years ago(c_build_type_variant): Remove last change; instead, copy TYPE if not
kenner [Thu, 30 Jun 1994 10:24:28 +0000 (10:24 +0000)]
(c_build_type_variant): Remove last change; instead, copy TYPE if not
in old obstack.

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

29 years ago(end_final,profile_function): Profiling variables are size of pointer,
kenner [Thu, 30 Jun 1994 09:46:10 +0000 (09:46 +0000)]
(end_final,profile_function): Profiling variables are size of pointer,
not int.

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

29 years ago(lang_options): Add -W{no-,}non-virtual-dtor.
merrill [Thu, 30 Jun 1994 09:41:26 +0000 (09:41 +0000)]
(lang_options): Add -W{no-,}non-virtual-dtor.

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

29 years agosome changes from gb.
mrs [Thu, 30 Jun 1994 05:35:06 +0000 (05:35 +0000)]
some changes from gb.

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

29 years agoRestore to rcs version 1.59 (1.60 is an empty file).
dje [Thu, 30 Jun 1994 03:43:24 +0000 (03:43 +0000)]
Restore to rcs version 1.59 (1.60 is an empty file).

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

29 years agoremove cygnus FSF difference
mrs [Thu, 30 Jun 1994 02:03:54 +0000 (02:03 +0000)]
remove cygnus FSF difference

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

29 years ago42nd Cygnus<->FSF merge
mrs [Thu, 30 Jun 1994 01:51:05 +0000 (01:51 +0000)]
42nd Cygnus<->FSF merge

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

29 years ago(basic_induction_var, case REG): Allow previous insn to set a SUBREG
kenner [Wed, 29 Jun 1994 23:21:43 +0000 (23:21 +0000)]
(basic_induction_var, case REG): Allow previous insn to set a SUBREG
of X.

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

29 years ago(LIB_SPEC): If -pg, add -lprof2.
kenner [Wed, 29 Jun 1994 22:59:23 +0000 (22:59 +0000)]
(LIB_SPEC): If -pg, add -lprof2.
(STARTFILE_SPEC, {FUNCTION,BLOCK,FUNCTION_BLOCK}_PROFILER): New macros.

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

29 years ago(end_final,profile_function): Profiling variables are size of pointer,
kenner [Wed, 29 Jun 1994 22:57:34 +0000 (22:57 +0000)]
(end_final,profile_function): Profiling variables are size of pointer,
not int.

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

29 years agoAdd new pattern for double-add when have reg + frame pointer.
kenner [Wed, 29 Jun 1994 20:13:22 +0000 (20:13 +0000)]
Add new pattern for double-add when have reg + frame pointer.
Slight changes to all such patterns and add define_splits for them.

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

29 years ago(FRAME_POINTER_REGNUM): Now register 63.
kenner [Wed, 29 Jun 1994 20:12:40 +0000 (20:12 +0000)]
(FRAME_POINTER_REGNUM): Now register 63.
(HARD_FRAME_POINTER_REGNUM): New macro.
(CONDITIONAL_REGISTER_USAGE, REG_CLASS_CONTENTS, REGNO_REG_CLASS):
Show register 63 is not an FP register.
(REGHNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_P, REGISTER_NAMES): Likewise.
(ALPHA_ROUND): New macro.
(STARTING_FRAME_OFFSET, ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET):
Modify to reflect save area between outgoing args and local vars.

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

29 years ago(alpha_sa_size): Round size to 16-byte boundary.
kenner [Wed, 29 Jun 1994 20:12:03 +0000 (20:12 +0000)]
(alpha_sa_size): Round size to 16-byte boundary.
(add_long_const): Add new arg, TEMP_REG.
(output_{pro,epi}log): Rework to put save area between outgoing args and
local variables.

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

29 years ago(reload): Can't eliminate if frame pointer needed and TO is stack pointer.
kenner [Wed, 29 Jun 1994 20:02:13 +0000 (20:02 +0000)]
(reload): Can't eliminate if frame pointer needed and TO is stack pointer.
Spill HARD_FRAME_POINTER_REGNUM if not FRAME_POINTER_REGNUM and frame pointer
is needed.
(spill_hard_reg): If CANT_ELIMINATE, set regs_ever_live; no longer done by
callers.

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

29 years ago(global_alloc): Make a more accurate attempt to see if the frame pointer will
kenner [Wed, 29 Jun 1994 20:01:31 +0000 (20:01 +0000)]
(global_alloc): Make a more accurate attempt to see if the frame pointer will
be used.
If it is, show HARD_FRAME_POINTER_REGNUM used if its not the same as
FRAME_POINTER_REGNUM.

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

29 years ago(movqi): Add missing `DONE'.
kenner [Wed, 29 Jun 1994 19:52:27 +0000 (19:52 +0000)]
(movqi): Add missing `DONE'.

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

29 years ago * sparc/sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE.
dje [Wed, 29 Jun 1994 19:44:07 +0000 (19:44 +0000)]
* sparc/sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE.
(SIZE_TYPE): Likewise.

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

29 years ago * sparc/sparc.h (CPP_SPEC): Split up v9/non-v9 stuff.
dje [Wed, 29 Jun 1994 19:43:25 +0000 (19:43 +0000)]
* sparc/sparc.h (CPP_SPEC): Split up v9/non-v9 stuff.
Move -Acpu and -Amachine from here.
(CPP_PREDEFINES): To here.
(NO_BUILTIN_PTRDIFF_TYPE): Undefine.
(NO_BUILTIN_SIZE_TYPE): Likewise.
(PTRDIFF_TYPE): Split up v9/non-v9 definitions.
(SIZE_TYPE): Likewise.

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

29 years agoAlways put 1 space after the macro expansion in ANSI mode.
meissner [Wed, 29 Jun 1994 19:25:41 +0000 (19:25 +0000)]
Always put 1 space after the macro expansion in ANSI mode.

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

29 years ago(simplify_set): Evaluate HAVE_conditional_move at runtime.
dje [Wed, 29 Jun 1994 02:41:26 +0000 (02:41 +0000)]
(simplify_set): Evaluate HAVE_conditional_move at runtime.

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

29 years ago(expand_mult): Generalize to call synth_mult also for OP1 - 1.
tege [Wed, 29 Jun 1994 00:23:02 +0000 (00:23 +0000)]
(expand_mult): Generalize to call synth_mult also for OP1 - 1.
(ceil_log2): New function.
(choose_multiplier): New function.
(invert_mod2n): New function.
(expand_mult_highpart_adjust): New function.
(expand_mult_highpart): New function.
(EXACT_POWER_OF_2_OR_ZERO_P): New macro.
(expand_divmod): Almost completely rewritten.
(expand_shift): Don't truncate immediate shift count, it doesn't work
for types smaller than int.

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

29 years ago(smul_highpart_optab, umul_highpart_optab): New variables.
tege [Wed, 29 Jun 1994 00:22:36 +0000 (00:22 +0000)]
(smul_highpart_optab, umul_highpart_optab): New variables.

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

29 years ago(optabs): Add [us]mul_highpart_optab.
tege [Wed, 29 Jun 1994 00:22:13 +0000 (00:22 +0000)]
(optabs): Add [us]mul_highpart_optab.

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

29 years ago(smul_highpart_optab, umul_highpart_optab): New variables.
tege [Wed, 29 Jun 1994 00:21:32 +0000 (00:21 +0000)]
(smul_highpart_optab, umul_highpart_optab): New variables.
(expand_binop): Handle [us]mul_highpart_optab as commutative.
(init_optabs): Initialize [us]mul_highpart_optab.
(expand_binop): Convert OP0 to mode for library calls.

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

29 years ago(div_and_round_double): Make it globally accessible.
tege [Wed, 29 Jun 1994 00:20:58 +0000 (00:20 +0000)]
(div_and_round_double): Make it globally accessible.

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

29 years ago(umulsi3_highpart, const_umulsi3_highpart): New expander and matcher.
tege [Wed, 29 Jun 1994 00:19:52 +0000 (00:19 +0000)]
(umulsi3_highpart, const_umulsi3_highpart): New expander and matcher.
(smulsi3_highpart, const_smulsi3_highpart): Likewise.

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

29 years ago(umuldi3_highpart): New expander and matcher.
tege [Wed, 29 Jun 1994 00:19:15 +0000 (00:19 +0000)]
(umuldi3_highpart): New expander and matcher.

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

29 years ago(cint8_operand): New predicate.
tege [Wed, 29 Jun 1994 00:18:43 +0000 (00:18 +0000)]
(cint8_operand): New predicate.

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

29 years ago(smulsi3_highpart, umulsi3_highpart): New patterns.
tege [Wed, 29 Jun 1994 00:18:12 +0000 (00:18 +0000)]
(smulsi3_highpart, umulsi3_highpart): New patterns.

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

29 years ago(CPP_SPEC): Handle -msupersparc.
wilson [Tue, 28 Jun 1994 19:33:59 +0000 (19:33 +0000)]
(CPP_SPEC): Handle -msupersparc.

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

29 years ago(cpu_type, sparc_cpu_type): Rename to arch_type and
wilson [Tue, 28 Jun 1994 19:33:23 +0000 (19:33 +0000)]
(cpu_type, sparc_cpu_type): Rename to arch_type and
sparc_arch_type.  Fix all users.
(supersparc_adjust_cost): New function.

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

29 years ago(cpu_type, sparc_cpu_type): Rename to arch_type and
wilson [Tue, 28 Jun 1994 19:32:11 +0000 (19:32 +0000)]
(cpu_type, sparc_cpu_type): Rename to arch_type and
sparc_arch_type.
(CPP_SPEC): Handle -msupersparc.
(MASK_SUPERSPARC, TARGET_SUPERSPARC): New macros.
(TARGET_SWITCHES): Add -msupersparc and -mcypress.
(ADJUST_COST): New macro.

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

29 years ago(cpu attribute): Rename to arch attribute. Add a new
wilson [Tue, 28 Jun 1994 19:31:14 +0000 (19:31 +0000)]
(cpu attribute): Rename to arch attribute.  Add a new
cpu attribute.  Fix all users.
(type attribute): Add ialu, shift, imul, fpdivs, and fpdivd.
Delete fpdiv.
(function units): Add Cypress and Supersparc versions of each.
(addsi3, subsi3, andsi3, iorsi3, xorsi3): Add ialu type attribute.
(mulsi3): Add imul type attribute.
(divtf3, divdf3): Use fpdivd not fpdiv type attribute.
(divsf3); Use fpdivs not fpdiv type attribute.
(ashlsi3, ashrsi3, lshrsi3): Add shift type attribute.

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

29 years ago(andsi3+6): Replace bad clrbit pattern with two working ones.
wilson [Tue, 28 Jun 1994 17:41:52 +0000 (17:41 +0000)]
(andsi3+6): Replace bad clrbit pattern with two working ones.

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

29 years agoInitial revision
kenner [Tue, 28 Jun 1994 17:31:04 +0000 (17:31 +0000)]
Initial revision

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

29 years ago * pa.md (define_split for (plus (reg) (large_constant))): Treat
law [Tue, 28 Jun 1994 16:42:26 +0000 (16:42 +0000)]
* pa.md (define_split for (plus (reg) (large_constant))): Treat
large_constant as signed.

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

29 years ago(eliminate_regs_in_insn): When checking for moves and adds, use
kenner [Tue, 28 Jun 1994 10:02:05 +0000 (10:02 +0000)]
(eliminate_regs_in_insn): When checking for moves and adds, use
single_set.

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

29 years ago(reloads_conflict): Handle R1_TYPE of RELOAD_OTHER.
kenner [Tue, 28 Jun 1994 09:49:31 +0000 (09:49 +0000)]
(reloads_conflict): Handle R1_TYPE of RELOAD_OTHER.

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

29 years ago(do_jump, case BIT_AND_EXPR): Only narrow to a type that corresponds
kenner [Tue, 28 Jun 1994 09:44:57 +0000 (09:44 +0000)]
(do_jump, case BIT_AND_EXPR): Only narrow to a type that corresponds
to a mode.

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

29 years agoInclude ctype.h.
kenner [Tue, 28 Jun 1994 09:35:22 +0000 (09:35 +0000)]
Include ctype.h.

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

29 years ago(movsf): Emit frsp if storing to memory and not PowerPC.
kenner [Tue, 28 Jun 1994 09:34:30 +0000 (09:34 +0000)]
(movsf): Emit frsp if storing to memory and not PowerPC.
(movsf matcher): Remove explicit frsp.
(store sf with update): Likewise.

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

29 years ago(MEMORY_MOVE_COST): Make processor-dependent.
kenner [Tue, 28 Jun 1994 09:33:48 +0000 (09:33 +0000)]
(MEMORY_MOVE_COST): Make processor-dependent.

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

29 years agoTreat HFmode like SFmode, for now.
kenner [Tue, 28 Jun 1994 09:15:25 +0000 (09:15 +0000)]
Treat HFmode like SFmode, for now.

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

29 years ago(expand_binop, multi-words shifts and rotates): Fix errors in last
kenner [Mon, 27 Jun 1994 23:16:01 +0000 (23:16 +0000)]
(expand_binop, multi-words shifts and rotates): Fix errors in last
change.

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

29 years ago(function_unit fpa): Add more accurate scheduling information.
erich [Mon, 27 Jun 1994 15:24:36 +0000 (15:24 +0000)]
(function_unit fpa): Add more accurate scheduling information.
(all floating point patterns): Add more accurate instruction type information.

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

29 years agoinclude "expr.h".
erich [Mon, 27 Jun 1994 15:24:36 +0000 (15:24 +0000)]
include "expr.h".
(arm_fpu): New variable.
(arm_gen_movstrqi): Fix typo.

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

29 years ago(STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos.
erich [Mon, 27 Jun 1994 15:24:36 +0000 (15:24 +0000)]
(STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos.
(ASM_FINAL_SPEC): Only reject -mbsd and -mxopen when -pedantic.

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

29 years ago(enum floating_point_type): New enumeration type.
erich [Mon, 27 Jun 1994 15:24:36 +0000 (15:24 +0000)]
(enum floating_point_type): New enumeration type.
(arm_fpu): New declaration.

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

29 years ago(v_message_with_decl): Avoid fwrite for stderr; mixing it with fprintf
kenner [Sun, 26 Jun 1994 09:37:16 +0000 (09:37 +0000)]
(v_message_with_decl): Avoid fwrite for stderr; mixing it with fprintf
and fputs can cause strange results under VMS.

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

30 years ago(distribute_notes, case REG_DEAD): If a call uses a
erich [Sat, 25 Jun 1994 10:04:06 +0000 (10:04 +0000)]
(distribute_notes, case REG_DEAD): If a call uses a
hard reg, then this is where it dies.

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

30 years ago(create_definition): Eliminate whitespace before and after macro
kenner [Fri, 24 Jun 1994 23:09:17 +0000 (23:09 +0000)]
(create_definition): Eliminate whitespace before and after macro
definitions.

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

30 years ago(alpha_builtin_saveregs): Fix typo in computing value for __base.
kenner [Fri, 24 Jun 1994 22:47:38 +0000 (22:47 +0000)]
(alpha_builtin_saveregs): Fix typo in computing value for __base.

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

30 years ago(zero_extract patterns): Don't allow constants in the first operand of
kenner [Fri, 24 Jun 1994 22:29:54 +0000 (22:29 +0000)]
(zero_extract patterns): Don't allow constants in the first operand of
ZERO_EXTRACT since the recognizer function forces them to match the
mode of the match_operand.

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

30 years ago(decl_constant_value): Test for const and not iterator.
kenner [Fri, 24 Jun 1994 21:46:59 +0000 (21:46 +0000)]
(decl_constant_value): Test for const and not iterator.
(default_conversion, digest_init): Remove redundant checks before calling
decl_constant_value.
(convert_for_assignment): See if RHS has a constant value.

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

30 years agoAdd -W[no]-bad-function-cast.
kenner [Fri, 24 Jun 1994 20:19:17 +0000 (20:19 +0000)]
Add -W[no]-bad-function-cast.

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

30 years agoDeclare warn_bad_function_cast.
kenner [Fri, 24 Jun 1994 20:18:25 +0000 (20:18 +0000)]
Declare warn_bad_function_cast.

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

30 years ago(build_c_cast): Issue a warning for non-matching cast from a function
kenner [Fri, 24 Jun 1994 20:17:42 +0000 (20:17 +0000)]
(build_c_cast): Issue a warning for non-matching cast from a function
call (like malloc without proto).

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

30 years ago(lang_decode_option): Set warn_bad_function_cast for
kenner [Fri, 24 Jun 1994 20:17:01 +0000 (20:17 +0000)]
(lang_decode_option): Set warn_bad_function_cast for
-Wbad-function-cast.

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

30 years ago(ASM_IDENTIFY_LANGUAGE): New macro.
kenner [Fri, 24 Jun 1994 20:09:07 +0000 (20:09 +0000)]
(ASM_IDENTIFY_LANGUAGE): New macro.

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

30 years ago(movstrsi): Delete.
erich [Fri, 24 Jun 1994 19:51:26 +0000 (19:51 +0000)]
(movstrsi): Delete.
(movstrqi): New expand.

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

30 years ago(arm_gen_movstrqi): New function.
erich [Fri, 24 Jun 1994 19:51:26 +0000 (19:51 +0000)]
(arm_gen_movstrqi): New function.

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

30 years ago(jump_optimize): If we reverse "if (foo) bar else break;"
erich [Fri, 24 Jun 1994 19:35:38 +0000 (19:35 +0000)]
(jump_optimize): If we reverse "if (foo) bar else break;"
and there follows a NOTE_INSN_LOOP_END, move the note before "bar".

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

30 years ago(ashrsi3, lshrsh3): Remove patterns using bfext[su].
kenner [Fri, 24 Jun 1994 19:35:03 +0000 (19:35 +0000)]
(ashrsi3, lshrsh3): Remove patterns using bfext[su].

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

30 years ago(goto_block_pat): Ignore undefined label.
kenner [Fri, 24 Jun 1994 18:43:36 +0000 (18:43 +0000)]
(goto_block_pat): Ignore undefined label.

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

30 years ago(LINK_SPEC): Fix typo.
dje [Fri, 24 Jun 1994 02:07:17 +0000 (02:07 +0000)]
(LINK_SPEC): Fix typo.
(PTRDIFF_TYPE): Likewise.

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

30 years ago41st Cygnus<->FSF merge
mrs [Fri, 24 Jun 1994 00:54:38 +0000 (00:54 +0000)]
41st Cygnus<->FSF merge

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

30 years ago(movsf): Only generate stack temporary if used.
kenner [Thu, 23 Jun 1994 23:25:10 +0000 (23:25 +0000)]
(movsf): Only generate stack temporary if used.

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

30 years ago(compile_file): Use TREE_SYMBOL_REFERENCED instead of
merrill [Thu, 23 Jun 1994 23:19:54 +0000 (23:19 +0000)]
(compile_file): Use TREE_SYMBOL_REFERENCED instead of
        TREE_USED and TREE_ADDRESSABLE where appropriate.

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

30 years ago(assemble_name): Set TREE_SYMBOL_REFERENCED on the
merrill [Thu, 23 Jun 1994 23:19:54 +0000 (23:19 +0000)]
(assemble_name): Set TREE_SYMBOL_REFERENCED on the
        identifier for `name'.

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

30 years ago(TREE_SYMBOL_REFERENCED): New macro.
merrill [Thu, 23 Jun 1994 23:19:54 +0000 (23:19 +0000)]
(TREE_SYMBOL_REFERENCED): New macro.

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

30 years ago(fix_truncdfsi2, movsf, movdi): Use assign_stack_temp.
kenner [Thu, 23 Jun 1994 23:19:33 +0000 (23:19 +0000)]
(fix_truncdfsi2, movsf, movdi): Use assign_stack_temp.
(mulsidi3): Add earlyclobber constraint modifier to PowerPC version
and !TARGET_POWERPC64 to final condition.

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

30 years ago(simplify_unary_operation, case UNSIGNED_FLOAT): Add missing cast to
kenner [Thu, 23 Jun 1994 23:05:47 +0000 (23:05 +0000)]
(simplify_unary_operation, case UNSIGNED_FLOAT): Add missing cast to
unsigned.

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

30 years ago(ASM_SPEC): Use PowerPC mode, not 601 mode.
kenner [Thu, 23 Jun 1994 23:00:09 +0000 (23:00 +0000)]
(ASM_SPEC): Use PowerPC mode, not 601 mode.
(CPP_SPEC): New macro.
(TARGET_DEFAULT): Generate pure PowerPC code, not 601-specific.

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

30 years ago(CPP_PREDEFINES): Define _POWER (alias for _IBMR2).
kenner [Thu, 23 Jun 1994 22:59:43 +0000 (22:59 +0000)]
(CPP_PREDEFINES): Define _POWER (alias for _IBMR2).
(CPP_SPEC): New macro.

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

30 years ago(compile_file): Don't try to write function if we didn't save insns
kenner [Thu, 23 Jun 1994 22:56:06 +0000 (22:56 +0000)]
(compile_file): Don't try to write function if we didn't save insns
for it.

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

30 years ago(CPP_PREDEFINES): Add `__vax__', `__vms__', and `__VMS__'; update
kenner [Thu, 23 Jun 1994 22:09:16 +0000 (22:09 +0000)]
(CPP_PREDEFINES): Add `__vax__', `__vms__', and `__VMS__'; update
__GNUC_MINOR__ to 6.

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

30 years ago(CPP_PREDEFINES): Add `__vax__'.
kenner [Thu, 23 Jun 1994 22:08:41 +0000 (22:08 +0000)]
(CPP_PREDEFINES): Add `__vax__'.

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

30 years ago(find_reloads): Don't rejecting non-const due to value of
kenner [Thu, 23 Jun 1994 21:59:22 +0000 (21:59 +0000)]
(find_reloads): Don't rejecting non-const due to value of
PREFERRED_RELOAD_CLASS if no regs were valid for alternative.

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

30 years ago(output_move_double): If the dest is register pair and both regs are
kenner [Thu, 23 Jun 1994 21:45:46 +0000 (21:45 +0000)]
(output_move_double): If the dest is register pair and both regs are
used in src address, use ADDR to compute src address, not ADDD, which
throws away scaled index.

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

30 years ago(clear_binding_level): Add missing fields in initializer.
kenner [Thu, 23 Jun 1994 21:39:11 +0000 (21:39 +0000)]
(clear_binding_level): Add missing fields in initializer.
(c_decode_option): Correct misspelling of -fno-dollars-in-identifiers.

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

30 years agoFix sbrk return type in <unistd.h> on Alpha OSF/1 V2.0.
ian [Thu, 23 Jun 1994 17:48:38 +0000 (17:48 +0000)]
Fix sbrk return type in <unistd.h> on Alpha OSF/1 V2.0.

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

30 years agoinclude tree.h
erich [Thu, 23 Jun 1994 16:02:41 +0000 (16:02 +0000)]
include tree.h
(const_ok_for_arm): Add fast return for 0 or just a single non-zero bit.
(const_ok_for_op): New function.
(arm_split_constant): New function.
(arm_rtx_costs): New function.
(reg_or_int_operand): New function.
(shift_operator): Accept ROTATERT.
(multi_register_push): New function.
(shift_op): Don't abort if a constant is outside the acceptable range, but
convert the whole shift expression into something legal.  If the shift is
zero, then return NULL.
(output_return_instruction): Output a call to abort if the function is
volatile.
(arm_volatile_func): New function.
(get_prologue_size): Remove all adjustments for insns that are now output as
rtx.
(output_func_prologue): Remove all code that outputs instructions, just print
a few comments.
(output_func_epilogue): Output a call to abort if a volatile function tries
to return.
(emit_multi_reg_push): New function.
(arm_expand_prologue): New function.  Don't bother to push call-saved regs
if we will never return.
(arm_print_operand, case 'S'): If shift_op returns NULL, then no shift is
required.

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

30 years ago(TARGET_WHEN_DEBUGGING): Delete.
erich [Thu, 23 Jun 1994 16:02:41 +0000 (16:02 +0000)]
(TARGET_WHEN_DEBUGGING): Delete.
(MODES_TIEABLE_P): All modes of the same class are tieable.
(CONST_OK_FOR_LETTER_P): Add 'M' for constants valid in a shift.
(FUNCTION_PROFILER): Don't call arm_increase_location.
(INITIAL_ELIMINATION_OFFSET): Call saved regs are no-longer pushed for
functions that don't return.
(LEGITIMIZE_ADDRESS): Push constants that will never be legitimate -- symbols
and labels -- into registers.  Handle DImode better.
(DEFAULT_SIGNED_CHAR): Use unsigned unless already defined.
(RTX_COSTS): Call arm_rtx_costs.
(ADDRESS_COST): Since most operations have the same rtx cost, make the
more complex addresses cheaper.
(PREDICATE_CODES): Add ROTATERT to shift_operator; and new predicates for
reg_or_int_operand and multi_register_push.
(DBX_CONTIN_LENGTH): Only define if not already done.
(PRINT_OPERAND_ADDRESS): Let arm_print operand output the ", " for shifts.

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

30 years agoDelete some dead code.
erich [Thu, 23 Jun 1994 16:02:41 +0000 (16:02 +0000)]
Delete some dead code.
(STARTFILE_SPEC): Look in the correct places for start files.
(LIB_SPEC): Define.
(LINK_SPEC): Define.
(TARGET_WHEN_DEBUGGING): Delete.
(DEFAULT_SIGNED_CHAR): Set to unsigned.
(SIZE_TYPE, PTRDIFF_TYPE, TARGET_EDOM): Define.

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

30 years ago(DBX_CONTIN_LENGTH): Set to 80.
erich [Thu, 23 Jun 1994 16:02:41 +0000 (16:02 +0000)]
(DBX_CONTIN_LENGTH): Set to 80.
(DEFAULT_GDB_EXTENSIONS, DBX_NO_XREFS): Don't try to pander to dbx, it is just
to broken to use.

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

30 years ago(addsi3, subsi3, andsi3, iorsi3, ashlsi3, ashrsi3, lshrsi3, rotrsi3):
erich [Thu, 23 Jun 1994 16:02:41 +0000 (16:02 +0000)]
(addsi3, subsi3, andsi3, iorsi3, ashlsi3, ashrsi3, lshrsi3, rotrsi3):
Rewrite as expand patterns.
(rotlsi3): New expand.
(matchers, and split patterns for above): New.
(all patterns with shifts): Let arm_print_operand output the ", " before a
shift if it is needed.
(zero_extendqihi2): Delete.
(zero_extendqisi2): Expand to (and ...) if not memory.
(movsi): Call arm_split_constant to generate a constant.
(movqi): Only force a MEM into a register if not reloading.
(movsf, movdf): If loading a non-immediate floating point value, or loading
and floating point immediate into integer regs, push the constant straight
into the pool.
(movdf): Get rid of the scratch register.
(reload_outdf): Rewrite to expand to the two required insns.
(matcher for movdf): Remove alternative that used scratch register for
storing.
(movxf): rewrite as expand.
(matcher for movxf): Recognize even when XFmode code is disabled, so that
prologue insns can be generated.
(Matcher for reversed conditional jump): Don't match if the mode of the
CC register is not reversible.
(prologue): New expand.
(matcher for multi_register_push insn): New.

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

30 years agoInitial revision
kenner [Thu, 23 Jun 1994 00:09:12 +0000 (00:09 +0000)]
Initial revision

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

30 years ago(m68k-ccur): New system.
kenner [Thu, 23 Jun 1994 00:03:14 +0000 (00:03 +0000)]
(m68k-ccur): New system.

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

30 years agoInclude <dirent.h>, not <sys/dir.h> on Concurrent.
kenner [Thu, 23 Jun 1994 00:01:40 +0000 (00:01 +0000)]
Include <dirent.h>, not <sys/dir.h> on Concurrent.

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

30 years ago(strength_reduce): When replacing DEST_ADDR givs, make sure resulting
kenner [Wed, 22 Jun 1994 23:53:01 +0000 (23:53 +0000)]
(strength_reduce): When replacing DEST_ADDR givs, make sure resulting
insn is valid.

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

30 years ago(LINK_SPEC): New macro.
kenner [Wed, 22 Jun 1994 22:49:13 +0000 (22:49 +0000)]
(LINK_SPEC): New macro.

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

30 years agoHandle -with-gnu-as for Alpha as it is handled for MIPS
ian [Wed, 22 Jun 1994 22:46:16 +0000 (22:46 +0000)]
Handle -with-gnu-as for Alpha as it is handled for MIPS

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

30 years ago(expand_binop): New variable next_methods; pass to most recursive calls when
kenner [Wed, 22 Jun 1994 22:15:30 +0000 (22:15 +0000)]
(expand_binop): New variable next_methods; pass to most recursive calls when
trying to avoid libcalls.
Always check for a return value of zero in recursive calls.
(expand_float): Ensure TARGET has proper mode.
Pass OPTAB_LIB_WIDEN to expand_binop calls.

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

30 years ago(skip_to_end_of_comment): Catch unterminated comments.
dje [Tue, 21 Jun 1994 18:35:15 +0000 (18:35 +0000)]
(skip_to_end_of_comment): Catch unterminated comments.

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

30 years agoinclude stdio.h and stdlib.h into assert.h as necessary
merrill [Sat, 18 Jun 1994 21:51:42 +0000 (21:51 +0000)]
include stdio.h and stdlib.h into assert.h as necessary

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

30 years agoLose assert.h hacking
merrill [Sat, 18 Jun 1994 21:51:42 +0000 (21:51 +0000)]
Lose assert.h hacking

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