OSDN Git Service

pf3gnuchains/gcc-fork.git
26 years agoupdate doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT
meissner [Tue, 28 Oct 1997 22:56:06 +0000 (22:56 +0000)]
update doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT

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

26 years agoupdate doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT
meissner [Tue, 28 Oct 1997 22:52:51 +0000 (22:52 +0000)]
update doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT

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

26 years ago* alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
rth [Tue, 28 Oct 1997 22:40:01 +0000 (22:40 +0000)]
* alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
since any_memory_operand() allows pseudos during reload.
(reload_inhi, reload_outqi, reload_outhi): Likewise.

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

26 years agoFix coldfire/btst problems.
wilson [Tue, 28 Oct 1997 19:56:50 +0000 (19:56 +0000)]
Fix coldfire/btst problems.
* m68k.md (btst patterns): Add 5200 support.

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

26 years ago * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
law [Tue, 28 Oct 1997 19:02:23 +0000 (19:02 +0000)]
    * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
        optimizations, look inside dividend to determine if the expression
        can be simplified by using EXACT_DIV_EXPR.

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

26 years ago * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
jason [Tue, 28 Oct 1997 18:23:50 +0000 (18:23 +0000)]
* dwarf2out.c (output_call_frame_info): Use l1 instead of ".".

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

26 years ago* alpha.c (summarize_insn [SUBREG]): Propogate SET.
rth [Tue, 28 Oct 1997 08:34:06 +0000 (08:34 +0000)]
* alpha.c (summarize_insn [SUBREG]): Propogate SET.

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

26 years ago* alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
rth [Tue, 28 Oct 1997 08:04:16 +0000 (08:04 +0000)]
* alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
on a CLOBBER.

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

26 years ago* alpha.md (movqi, movhi): Make sure new insns created during reload
rth [Tue, 28 Oct 1997 05:28:29 +0000 (05:28 +0000)]
* alpha.md (movqi, movhi): Make sure new insns created during reload
won't need reloading themselves.
(reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.

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

26 years ago * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
law [Mon, 27 Oct 1997 23:07:37 +0000 (23:07 +0000)]
    * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.

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

26 years ago * Makefile.in: check-target-libio depends on all-target-libstdc++.
jason [Mon, 27 Oct 1997 20:04:45 +0000 (20:04 +0000)]
* Makefile.in: check-target-libio depends on all-target-libstdc++.

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

26 years ago* alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
rth [Sun, 26 Oct 1997 21:47:50 +0000 (21:47 +0000)]
* alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
Patch from Klaus Kaempf <kkaempf@progis.de>.

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

26 years ago * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
law [Sun, 26 Oct 1997 20:33:27 +0000 (20:33 +0000)]
    * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
        to an element in a constant string.

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

26 years agoFix typo in last change.
law [Sun, 26 Oct 1997 20:25:38 +0000 (20:25 +0000)]
Fix typo in last change.

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

26 years agorebuild
jason [Sun, 26 Oct 1997 20:01:11 +0000 (20:01 +0000)]
rebuild

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

26 years ago * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
jason [Sun, 26 Oct 1997 19:54:42 +0000 (19:54 +0000)]
* dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
  bit PC-relative offset.  The exception range table pointer is now in
  the CIE.
* frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
(count_fdes, add_fdes, get_cie): Adjust.
(cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.

From H.J. Lu:
* frame.c (count_fdes, add_fdes): Skip linked once FDE entries.

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

26 years agoOpps. Checked in some development patches by accident.
law [Sun, 26 Oct 1997 18:55:13 +0000 (18:55 +0000)]
Opps.  Checked in some development patches by accident.

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

26 years ago * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
law [Sun, 26 Oct 1997 18:48:31 +0000 (18:48 +0000)]
    * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
        like stack_pointer_rtx.

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

26 years ago * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
law [Sun, 26 Oct 1997 18:45:07 +0000 (18:45 +0000)]
    * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
        targets using "$@" to provide support for similar but not identical
        targets without having to duplicate code.
        (bootstrap4): New goal.

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

26 years ago * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
law [Sun, 26 Oct 1997 18:44:33 +0000 (18:44 +0000)]
    * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
        targets using "$@" to provide support for similar but not identical
        targets without having to duplicate code.

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

26 years agoTake out find_base_value change -- not needed, only the find_base_term
law [Sun, 26 Oct 1997 18:39:57 +0000 (18:39 +0000)]
Take out find_base_value change -- not needed, only the find_base_term
change was needed.

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

26 years ago * Makefile.in (compare, compare-lean, compare3): Combined to one
law [Sun, 26 Oct 1997 18:28:57 +0000 (18:28 +0000)]
    * Makefile.in (compare, compare-lean, compare3): Combined to one
        ruleset determining actions to be performed via $@.
        (compare4, compare4-lean): New targets.
        (gnucompare, gnucompare3): Combined to one ruleset determining
        actions to be performed via $@. Also, note which files failed
        the comparison test in .bad_compare.
        (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.

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

26 years ago * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
law [Sun, 26 Oct 1997 18:21:28 +0000 (18:21 +0000)]
    * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.

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

26 years ago * alias.c (find_base_value): Handle PRE_INC, PRE_DEC, POST_INC,
law [Sun, 26 Oct 1997 17:38:13 +0000 (17:38 +0000)]
    * alias.c (find_base_value): Handle PRE_INC, PRE_DEC, POST_INC,
        and POS_DEC.
        (find_base_term): Likewise.

        * alias.c (true_dependence): Fix typo.

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

26 years ago * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
law [Sun, 26 Oct 1997 17:05:24 +0000 (17:05 +0000)]
    * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
        if the dividend is a multiple of the divisor.

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

26 years ago * toplev.c (flag_rerun_loop_opt): New variable.
law [Sun, 26 Oct 1997 16:56:15 +0000 (16:56 +0000)]
    * toplev.c (flag_rerun_loop_opt): New variable.
        (f_options): Handle -frerun-loop-opt.
        (rest_of_compilation): If -frerun-loop-opt, then run the loop
        optimizer twice.
        (main): Enable -frerun-loop-opt by default for -O2 or greater.

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

26 years ago * loop.c (simplify_giv_expr): Adding two invariants results
law [Sun, 26 Oct 1997 16:20:07 +0000 (16:20 +0000)]
    * loop.c (simplify_giv_expr): Adding two invariants results
        in an invariant.

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

26 years ago * expr.c (get_inner_reference): Remove the array bias after
law [Sun, 26 Oct 1997 16:13:10 +0000 (16:13 +0000)]
    * expr.c (get_inner_reference): Remove the array bias after
        converting the index to Pmode.

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

26 years ago * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
law [Sat, 25 Oct 1997 18:16:50 +0000 (18:16 +0000)]
    * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
        (TARGET_MULT_BUG): Define.
        (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
        * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.

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

26 years agoReverse this, bad call on my part:
brendan [Sat, 25 Oct 1997 16:23:10 +0000 (16:23 +0000)]
Reverse this, bad call on my part:

1,4d0
< Fri Oct 24 17:49:10 1997  Jim Wilson  <wilson@cygnus.com>
<
<  * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
<

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

26 years ago * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
brendan [Sat, 25 Oct 1997 00:50:35 +0000 (00:50 +0000)]
* integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.

fixes many of the inlining problems causing various suite++ and perennial
test failures, among others

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

26 years ago * mn10200.c (indirect_memory_operand): Delete unused function.
law [Fri, 24 Oct 1997 23:36:42 +0000 (23:36 +0000)]
    * mn10200.c (indirect_memory_operand): Delete unused function.
        * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
        * mn10200.md (bset, bclr insns): Handle output in a reg too.

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

26 years ago* alpha.md (call patterns): Revert Oct 16 change; if we are to elide
rth [Fri, 24 Oct 1997 22:57:54 +0000 (22:57 +0000)]
* alpha.md (call patterns): Revert Oct 16 change; if we are to elide
the callee's ldgp, we must do it ourselves, and we use the jsr tag
for more than scheduling.

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

26 years agoAnother goof in last change.
law [Fri, 24 Oct 1997 19:56:45 +0000 (19:56 +0000)]
Another goof in last change.

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

26 years ago * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
devans [Fri, 24 Oct 1997 19:39:08 +0000 (19:39 +0000)]
* sparc/sparc.h (ASM_SPEC): Delete asm_arch.

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

26 years ago(ASM_SPEC): Delete asm_arch.
devans [Fri, 24 Oct 1997 19:36:54 +0000 (19:36 +0000)]
(ASM_SPEC): Delete asm_arch.

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

26 years agoFxi typo in last change.
law [Fri, 24 Oct 1997 19:34:58 +0000 (19:34 +0000)]
Fxi typo in last change.

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

26 years ago * mn10300.c (symbolic_operand, legitimize_address): New functions.
law [Fri, 24 Oct 1997 19:18:29 +0000 (19:18 +0000)]
    * mn10300.c (symbolic_operand, legitimize_address): New functions.
        * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
        (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.

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

26 years ago * version.c: Bump for snapshot.
law [Thu, 23 Oct 1997 15:34:36 +0000 (15:34 +0000)]
    * version.c: Bump for snapshot.

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

26 years ago * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
amylaar [Thu, 23 Oct 1997 12:11:19 +0000 (12:11 +0000)]
* dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
for FILENAME.

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

26 years ago * pt.c (instantiate_decl): SET_DECL_IMPLICIT_INSTANTIATION on new decl.
jason [Thu, 23 Oct 1997 09:55:55 +0000 (09:55 +0000)]
* pt.c (instantiate_decl): SET_DECL_IMPLICIT_INSTANTIATION on new decl.

Fixes libstdc++ failure.

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

26 years ago * toplev.c (flag_exceptions): Default value is 2.
law [Thu, 23 Oct 1997 01:29:14 +0000 (01:29 +0000)]
    * toplev.c (flag_exceptions): Default value is 2.
        (compile_file): If flag_exceptions still has the value 2, then
        set it to 0.

        * lex.c (lang_init): Enable flag_exceptions by default if no
        command line switch was specified.
Gross hacks to allow front-ends to override -fexceptions.

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

26 years ago * libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
law [Thu, 23 Oct 1997 01:17:58 +0000 (01:17 +0000)]
    * libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
        not defined.

        * iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if
        __linux__ is defined instead of __ELF__

        * config/linuxlibc1.mt (USER_INCLUDES): Add libio.h.
OK'd by Ulrich.

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

26 years ago * method.c (build_template_parm_names, build_decl_overload_real):
brendan [Thu, 23 Oct 1997 00:00:20 +0000 (00:00 +0000)]
    * method.c (build_template_parm_names, build_decl_overload_real):
        Add static to definitions.
        * pt.c (add_to_template_args, note_template_header,
        processing_explicit_specialization, type_unification_real): Likewise.
        ({determine,check}_explicit_specialization): Use a single string for
        error messages.

fixes problems building with sunos4 system cc

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

26 years ago * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
law [Wed, 22 Oct 1997 21:10:49 +0000 (21:10 +0000)]
    * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
        (rs6000_save_machine_status): Save pic_offset_table_rtx.
        (rs6000_restore_machine_status: Restore pic_offset_table_rtx.

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

26 years ago * com.c (ffecom_expr_): Take an new arg TREE_TYPE that if non-null
rth [Wed, 22 Oct 1997 18:38:47 +0000 (18:38 +0000)]
    * com.c (ffecom_expr_): Take an new arg TREE_TYPE that if non-null
        specifies the type in which to do the calculation.  Change all callers.
        [FFEBLD_opARRAYREF]: Force the index expr to use sizetype.

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

26 years ago * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
law [Wed, 22 Oct 1997 15:58:33 +0000 (15:58 +0000)]
    * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
        are shared.

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

26 years ago * rs6000.md (*movsi_got_internal_mem): New pattern.
law [Wed, 22 Oct 1997 06:31:00 +0000 (06:31 +0000)]
    * rs6000.md (*movsi_got_internal_mem): New pattern.
        (*movsi_got_internal_mem splitter): New define_split.
Fixes some egcs bugs.

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

26 years agoAdd documentation for Haifa ISSUE_RATE
meissner [Wed, 22 Oct 1997 02:06:18 +0000 (02:06 +0000)]
Add documentation for Haifa ISSUE_RATE

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

26 years agoFix typo in last obstack.h change.
wilson [Wed, 22 Oct 1997 01:16:10 +0000 (01:16 +0000)]
Fix typo in last obstack.h change.
* obstack.h (obstack_empty_p): Fix spurious space after backslash.

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

26 years ago * mn10300.md (movqi, movhi): Avoid using address registers as
law [Wed, 22 Oct 1997 00:41:31 +0000 (00:41 +0000)]
    * mn10300.md (movqi, movhi): Avoid using address registers as
        destinations unless absolutely necessary.

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

26 years ago * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
law [Wed, 22 Oct 1997 00:31:13 +0000 (00:31 +0000)]
    * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
        only need to save LR.

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

26 years ago * mn10200.c (expand_prologue): Fix typo.
law [Tue, 21 Oct 1997 20:58:16 +0000 (20:58 +0000)]
    * mn10200.c (expand_prologue): Fix typo.

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

26 years ago * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
law [Tue, 21 Oct 1997 19:55:51 +0000 (19:55 +0000)]
    * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
        addresses.
        * mn10200.md (neghi2): Provide an alternative which works if
        the input and output register are the same.

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

26 years ago * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
law [Tue, 21 Oct 1997 19:52:12 +0000 (19:52 +0000)]
    * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
        addresses.
        * mn10200.md (neghi2): Provide an alternative which works if
        the input and output register are the same.

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

26 years ago * mn10300.c (print_operand): Handle 'S'.
law [Tue, 21 Oct 1997 19:10:24 +0000 (19:10 +0000)]
    * mn10300.c (print_operand): Handle 'S'.
        * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
        shift amount in last alternative

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

26 years ago * mn10300.c (expand_epilogue): Rework to handle register restores
law [Tue, 21 Oct 1997 16:04:57 +0000 (16:04 +0000)]
    * mn10300.c (expand_epilogue): Rework to handle register restores
        in "ret" and "retf" instructions correctly.

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

26 years agoPatches to fix minor optimizer bugs
wilson [Mon, 20 Oct 1997 23:49:48 +0000 (23:49 +0000)]
Patches to fix minor optimizer bugs
* expmed.c (extract_bit_field): Don't make flag_force_mem disable
extzv for memory operands.
* cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
redundant conditional moves to single operand.

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

26 years agoUpdate sparc docs.
devans [Mon, 20 Oct 1997 22:06:10 +0000 (22:06 +0000)]
Update sparc docs.

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

26 years ago * v850.h: Move define of __v850__ from CPP_PREDEFINES
law [Mon, 20 Oct 1997 21:33:53 +0000 (21:33 +0000)]
    * v850.h: Move define of __v850__ from CPP_PREDEFINES
        to CPP_SPEC.

        * xm-v850.h: Use __v850 rather than __v850__ to
        identify v850 port.

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

26 years agoExpect SPARC_DEFAULT_CMODEL to be overridden in cover file.
devans [Mon, 20 Oct 1997 21:29:01 +0000 (21:29 +0000)]
Expect SPARC_DEFAULT_CMODEL to be overridden in cover file.

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

26 years agoUpdate copyright year.
devans [Mon, 20 Oct 1997 21:28:27 +0000 (21:28 +0000)]
Update copyright year.

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

26 years agoFix O32 -p bug reported by Ralf Baechle.
wilson [Mon, 20 Oct 1997 21:16:21 +0000 (21:16 +0000)]
Fix O32 -p bug reported by Ralf Baechle.
* mips/mips.c (compute_frame_size): Not a leaf function if
profile_flag set.

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

26 years agoLotsa sparc stuff.
devans [Mon, 20 Oct 1997 20:50:34 +0000 (20:50 +0000)]
Lotsa sparc stuff.

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

26 years ago * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
devans [Mon, 20 Oct 1997 20:49:22 +0000 (20:49 +0000)]
* sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
(DEFAULT_ARCH32_P): New macro.
(TARGET_ARCH{32,64}): Allow compile time or runtime selection.
(enum cmodel): Declare.
(sparc_cmodel_string,sparc_cmodel): Declare.
(SPARC_DEFAULT_CMODEL): Provide default.
(TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
(TARGET_FULLANY): Deleted.
(TARGET_CM_MEDMID): New macro.
(CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
(ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
(CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
(CPP_SPEC): Rewrite.
(CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
(CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
(ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
(ASM_SPEC): Add %(asm_arch).
(EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
Rename asm_default to asm_cpu_default.
Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
(NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
(MASK_INT64,MASK_LONG64): Delete.
(MASK_ARCH64): Renamed to MASK_64BIT.
(MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
(EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
(TARGET_SWITCHES): Always provide 64 bit options.
(ARCH64_SWITCHES): Delete.
(TARGET_OPTIONS): New option -mcmodel=.
(INT_TYPE_SIZE): Always 32.
(MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
(INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
(FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
(PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
* sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
CPP_SPEC.
(CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
* sparc/linux.h: Likewise.
* sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
(ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
(TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
(SPARC_DEFAULT_CMODEL): Define.
(CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
(CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
(LONG_DOUBLE_TYPE_SIZE): Define.
(ASM_SPEC): Add %(asm_arch).
* sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
(CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
(TARGET_CPU_DEFAULT): Add ultrasparc case.
* sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
(TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
(SPARC_DEFAULT_CMODEL): Define.
* sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
(TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.  Delete
MASK_LONG64, MASK_MEDANY.
(SPARC_DEFAULT_CMODEL): Define.
(CPP_PREDEFINES): Delete.
(CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
(ASM_SPEC): Add %(asm_arch).
(LONG_DOUBLE_TYPE_SIZE): Define.
(DWARF2_DEBUGGING_INFO): Define.
* sparc/splet.h (CPP_SPEC): Delete.
* sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
(FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
(BLOCK_PROFILER): Likewise.
* sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
(sparc_override_options): Handle code model selection.
(sparc_init_expanders): Renamed from sparc64_init_expanders.
* sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
(sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
(sethi_di_fullany): Delete.

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

26 years ago * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
law [Mon, 20 Oct 1997 20:13:24 +0000 (20:13 +0000)]
    * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
Should fix ctor/dtor problems on ppc-linux.

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

26 years ago * except.c (expand_exception_blocks): Call do_pending_stack_adust.
jason [Mon, 20 Oct 1997 19:14:09 +0000 (19:14 +0000)]
* except.c (expand_exception_blocks): Call do_pending_stack_adust.
(expand_end_catch_block): Likewise.
(expand_end_eh_spec): Likewise.

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

26 years agoMon Oct 20 11:44:20 1997 Mark Mitchell <mmitchell@usa.net>
jason [Mon, 20 Oct 1997 18:46:24 +0000 (18:46 +0000)]
Mon Oct 20 11:44:20 1997  Mark Mitchell  <mmitchell@usa.net>

* decl.c (duplicate_decls): Handle template specializations
correctly.
* error.c (dump_function_name): Fix printing of specializations of
member functions that are not member templates.
* cp-tree.h (processing_specialization): Make global.
* pt.c (processing_specialization): Likewise.
* lex.c (cons_up_default_function): Save and restore
processing_specialization to avoid confusion.

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

26 years ago * decl.c (init_decl_processing): Give null_node unknown* type.
jason [Mon, 20 Oct 1997 18:09:06 +0000 (18:09 +0000)]
* decl.c (init_decl_processing): Give null_node unknown* type.
* typeck.c (comp_target_types): Handle UNKNOWN_TYPE.
(common_type): Likewise.
* error.c (args_as_string): Recognize null_node.

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

26 years ago * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
law [Mon, 20 Oct 1997 15:50:29 +0000 (15:50 +0000)]
    * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
        (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
        (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
        (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
        * alpha/alpha.md (arg_home): Likewise.

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

26 years ago * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
law [Mon, 20 Oct 1997 08:29:55 +0000 (08:29 +0000)]
    * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
        truncate to 64 characters.

vmskrunch changes need this.

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

26 years ago * alpha/alpha.c (vmskrunch): Delete
law [Mon, 20 Oct 1997 08:11:49 +0000 (08:11 +0000)]
    * alpha/alpha.c (vmskrunch): Delete
        * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.

        * make-l2.com: Support openVMS/Alpha.

        * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.

Some patches from Klaus.

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

26 years ago * longlong.h (count_leading_zeros): Add missing casts to USItype.
law [Mon, 20 Oct 1997 00:56:45 +0000 (00:56 +0000)]
    * longlong.h (count_leading_zeros): Add missing casts to USItype.

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

26 years ago * i386/bsd386.h (ASM_COMMENT_START): Define.
law [Mon, 20 Oct 1997 00:40:44 +0000 (00:40 +0000)]
    * i386/bsd386.h (ASM_COMMENT_START): Define.

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

26 years agoUndo cvs entry 1.4 "Reorg sethi_{hi,si} patterns." and add comment why.
devans [Sun, 19 Oct 1997 16:46:47 +0000 (16:46 +0000)]
Undo cvs entry 1.4 "Reorg sethi_{hi,si} patterns." and add comment why.

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

26 years agoInitial revision
law [Sun, 19 Oct 1997 16:29:32 +0000 (16:29 +0000)]
Initial revision

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

26 years ago * tree.c (restore_tree_status): Also free up temporary storage
jason [Sat, 18 Oct 1997 21:10:32 +0000 (21:10 +0000)]
* tree.c (restore_tree_status): Also free up temporary storage
when we finish a toplevel function.
(dump_tree_statistics): Print stats for backend obstacks.

* libgcc2.c (__throw): Don't copy the return address.
* dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.

* except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
* toplev.c (main): Initialize exceptions_via_longjmp.

* tree.c: Add extra_inline_obstacks.
(save_tree_status): Use it.
(restore_tree_status): If this is a toplevel inline obstack and we
didn't want to save anything on it, recycle it.
(print_inline_obstack_statistics): New fn.
* function.c (pop_function_context_from): Pass context to
restore_tree_status.
* obstack.h (obstack_empty_p): New macro.

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

26 years ago * expr.c (use_group_regs): Don't call use_reg for MEMs.
devans [Sat, 18 Oct 1997 19:48:25 +0000 (19:48 +0000)]
* expr.c (use_group_regs): Don't call use_reg for MEMs.

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

26 years ago * i386/freebsd.h (ASM_COMMENT_START): Fix.
law [Sat, 18 Oct 1997 06:52:58 +0000 (06:52 +0000)]
    * i386/freebsd.h (ASM_COMMENT_START): Fix.

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

26 years ago * v850.c (ep_memory_offset): New function.
law [Sat, 18 Oct 1997 05:46:19 +0000 (05:46 +0000)]
    * v850.c (ep_memory_offset): New function.
        (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.

        * v850.h (CONST_OK_FOR_*): Add and correct comments.
        (CONSTANT_ADDRESS_P): Add comment.
        (EXTRA_CONSTRAINT): Define 'U'.
        * v850.md: Add comments on bit field instructions.
        (addsi3): Delete &r/r/r alternative.  Add r/r/U alternative.
        (lshrsi3): Use N not J constraint.

        * v850.md (v850_tst1+1): New define_split for tst1 instruction.

        * v850.c (reg_or_0_operand): Call register_operand.
        (reg_or_int5_operand): Likewise.
        * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
        (TARGET_SWITCHES): Add "big-switch".
        (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
        ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
        (CASE_DROPS_THROUGH): Comment out.
        (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
        * v850.md (cmpsi): Delete compare mode.
        (casesi): New pattern.

        * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
        * v850.md (ashlsi3): Use SImode not QImode for shift count.
        (lshrsi3): Likewise.

        * v850.c (print_operand): Add 'c', 'C', and 'z' support.  Delete
        unreachable switch statement after 'b' support.  Remove "b" from
        strings for 'b' support.
        * v850.md (branch_normal, branch_invert): Change %b to b%b.

v850 patches from Jim.

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

26 years ago * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
law [Sat, 18 Oct 1997 05:31:26 +0000 (05:31 +0000)]
    * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
        empty line if @inhibit_libc@ is empty.

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

26 years ago * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
law [Sat, 18 Oct 1997 05:21:23 +0000 (05:21 +0000)]
    * i386/sco5.h: Let ELF use dwarf2 unwinding.  COFF uses sjlj.
        (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
        (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
        (DWARF2_UNWIND_INFO): Let this track object file format.
        (EXTRA_SECTIONS): Add in_eh.
        (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
        (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.

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

26 years ago * tree.h, vector.h: Fix accidental divergence from SGI release.
jason [Sat, 18 Oct 1997 02:09:13 +0000 (02:09 +0000)]
* tree.h, vector.h: Fix accidental divergence from SGI release.

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

26 years ago * ginclude/va-sparc.h: Rewrite v9 support.
devans [Fri, 17 Oct 1997 23:26:02 +0000 (23:26 +0000)]
* ginclude/va-sparc.h: Rewrite v9 support.

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

26 years agoRewrite v9 support.
devans [Fri, 17 Oct 1997 23:25:26 +0000 (23:25 +0000)]
Rewrite v9 support.

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

26 years ago (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
devans [Fri, 17 Oct 1997 23:21:12 +0000 (23:21 +0000)]
(output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
fmovd so it works if a quad float ends up in one of the upper 32
float regs.

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

26 years ago* sparc.c (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
devans [Fri, 17 Oct 1997 23:20:03 +0000 (23:20 +0000)]
* sparc.c (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
fmovd so it works if a quad float ends up in one of the upper 32
float regs.

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

26 years ago * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
devans [Fri, 17 Oct 1997 23:01:29 +0000 (23:01 +0000)]
* sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
necessary for PIC support on sparc64.

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

26 years agoReorg sethi_{hi,si} patterns.
devans [Fri, 17 Oct 1997 22:45:15 +0000 (22:45 +0000)]
Reorg sethi_{hi,si} patterns.

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

26 years agoAdd some stuff.
law [Fri, 17 Oct 1997 22:16:29 +0000 (22:16 +0000)]
Add some stuff.

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

26 years ago * sparc/sparc.c (output_double_int): Output DI mode values
devans [Fri, 17 Oct 1997 21:59:06 +0000 (21:59 +0000)]
* sparc/sparc.c (output_double_int): Output DI mode values
correctly when HOST_BITS_PER_WIDE_INT is 64.

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

26 years ago * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
devans [Fri, 17 Oct 1997 21:35:20 +0000 (21:35 +0000)]
* sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
TARGET_MEDANY.

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

26 years ago * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
devans [Fri, 17 Oct 1997 21:21:12 +0000 (21:21 +0000)]
* sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.

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

26 years ago * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
devans [Fri, 17 Oct 1997 21:16:36 +0000 (21:16 +0000)]
* sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.

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

26 years agoFirst pass at updating to current sparc v9 abi.
devans [Fri, 17 Oct 1997 20:41:17 +0000 (20:41 +0000)]
First pass at updating to current sparc v9 abi.

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

26 years ago * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
devans [Fri, 17 Oct 1997 20:39:37 +0000 (20:39 +0000)]
* sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
* sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
(PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
(SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
(SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
(SPARC_FP_ARG_FIRST): New macro.
(CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
(REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
(NPARM_REGS): There are 32 fp argument registers now.
(FUNCTION_ARG_REGNO_P): Likewise.
(FIRST_PARM_OFFSET): Update to new v9 abi.
(REG_PARM_STACK_SPACE): Define for arch64.
(enum sparc_arg_class): Delete.
(sparc_arg_count,sparc_n_named_args): Delete.
(struct sparc_args): Redefine and use for arch32 as well as arch64.
(GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
(FUNCTION_ARG_ADVANCE): Rewrite.
(FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
(FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
(FUNCTION_ARG_CALLEE_COPIES): Delete.
(FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
(STRICT_ARGUMENT_NAMING): Define.
(doublemove_string): Declare.
* sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
(single_move_string): Use GEN_INT, and HOST_WIDE_INT.
(doublemove_string): New function.
(output_move_quad): Clean up some of the arch64 support.
(compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
Don't add 8 bytes of reserved space if arch64.
(sparc_builtin_saveregs): Combine arch32/arch64 versions.
(init_cumulative_args): New function.
(function_arg_slotno): New static function.
(function_arg,function_arg_partial_nregs): New functions.
(function_arg_{pass_by_reference,advance}): New functions.
(function_arg_padding): New function.
First pass at updating to current v9 abi.

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

26 years agoFix from Joern.
law [Fri, 17 Oct 1997 15:54:01 +0000 (15:54 +0000)]
Fix from Joern.

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

26 years ago * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
law [Fri, 17 Oct 1997 15:46:57 +0000 (15:46 +0000)]
    * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
        for hard regs to determine base and index registers.

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

26 years ago * reload.c (debug_reload_to_stream): New function. Specify stream
law [Fri, 17 Oct 1997 15:40:52 +0000 (15:40 +0000)]
    * reload.c (debug_reload_to_stream): New function.  Specify stream
        into which to write debug info.
        (debug_reload): Modify to call debug_reload_to_stream with stderr.
Thanks.  Installed.

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

26 years ago * combine.c (can_combine_p): Don't combine with an asm whose
rth [Thu, 16 Oct 1997 22:06:43 +0000 (22:06 +0000)]
    * combine.c (can_combine_p): Don't combine with an asm whose
        output is a hard register.

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