OSDN Git Service

pf3gnuchains/gcc-fork.git
28 years agoFix signal prototype on SunOS to avoid C++ pedantic error
ian [Mon, 1 Apr 1996 22:00:44 +0000 (22:00 +0000)]
Fix signal prototype on SunOS to avoid C++ pedantic error

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

28 years ago(get_inner_reference): When finding mode to access bitfield that ends
kenner [Mon, 1 Apr 1996 21:16:06 +0000 (21:16 +0000)]
(get_inner_reference): When finding mode to access bitfield that ends
up properly aligned, use mode class of its type unless type's mode was
BLKmode.

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

28 years ago * h8300.c (interrupt_handler): Renamed from pragma_interrupt.
law [Mon, 1 Apr 1996 18:48:52 +0000 (18:48 +0000)]
    * h8300.c (interrupt_handler): Renamed from pragma_interrupt.
        All references changed.
        (function_prologue): Set interrupt_handler if the current
        function has the "interrrupt-handler" attribute.
        (small_call_insn_operand): New function.
        (h8300_interrrupt_function_p): New function.
        (h8300_funcvec_function_p): New function.
        (h8300_valid_machine_decl_attribute): New function.
        * h8300.h (VALID_MACHINE_DECL_ATTRIBUTE): Define.
        * h8300.md (call insns): Handle calls through the
        function vector.  Indirect calls and calls through
        the function vector have a length of two bytes.

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

28 years ago * calls.c (expand_call): Remove current_call_is_indirect nonsense.
law [Mon, 1 Apr 1996 06:02:12 +0000 (06:02 +0000)]
    * calls.c (expand_call): Remove current_call_is_indirect nonsense.
        Add additional argument to INIT_CUMULATIVE_ARGS.
        (emit_library_call): Likewise.
        (emit_library_call_value): Likewise.
        * expr.c (expand_builtin): Likewise.
        * function.c (assign_parms): Likewise.
        * config/pa/pa.h (hppa_args): New field "indirect".
        (INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
        (FUNCTION_ARG): Check "indirect" field, rather than
        "current_call_is_indirect".
        * All other backends updated with new argument to
        INIT_CUMULATIVE_ARGS

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

28 years ago(schedule_block): CALL_INSNs don't affect fixed regs.
kenner [Sun, 31 Mar 1996 22:59:20 +0000 (22:59 +0000)]
(schedule_block): CALL_INSNs don't affect fixed regs.

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

28 years ago(layout_decl): Don't make a bitfield an integral mode if the mode of
kenner [Sun, 31 Mar 1996 11:18:58 +0000 (11:18 +0000)]
(layout_decl): Don't make a bitfield an integral mode if the mode of
the field type is not MODE_INT.

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

28 years ago(propagate_block): CALL_INSNs don't kill fixed regs.
kenner [Sun, 31 Mar 1996 10:10:01 +0000 (10:10 +0000)]
(propagate_block): CALL_INSNs don't kill fixed regs.

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

28 years ago(expand_divmod, case TRUNC_DIV_EXPR): Move some code
tege [Sat, 30 Mar 1996 12:48:15 +0000 (12:48 +0000)]
(expand_divmod, case TRUNC_DIV_EXPR): Move some code
to avoid shifting by a too large count.

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

28 years ago * sparc/sparc.h (FUNCTION_PROFILER): Save/restore %g2 around call
dje [Fri, 29 Mar 1996 20:45:31 +0000 (20:45 +0000)]
* sparc/sparc.h (FUNCTION_PROFILER): Save/restore %g2 around call
to mcount.

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

28 years ago(notice_update_cc): Clear cc_status if it references a mem we are modifying.
coxs [Fri, 29 Mar 1996 19:27:45 +0000 (19:27 +0000)]
(notice_update_cc): Clear cc_status if it references a mem we are modifying.

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

28 years ago * method.c (emit_thunk): Remove current_call_is_indirect nonsense.
law [Fri, 29 Mar 1996 14:42:00 +0000 (14:42 +0000)]
    * method.c (emit_thunk): Remove current_call_is_indirect nonsense.
        Add additional argument to INIT_CUMULATIVE_ARGS.

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

28 years ago * calls.c (expand_call): Remove current_call_is_indirect nonsense.
law [Fri, 29 Mar 1996 14:37:11 +0000 (14:37 +0000)]
* calls.c (expand_call): Remove current_call_is_indirect nonsense.
Add additional argument to INIT_CUMULATIVE_ARGS.
(emit_library_call): Likewise.
(emit_library_call_value): Likewise.
* expr.c (expand_builtin): Likewise.
* function.c (assign_parms): Likewise.
* cp/method.c (emit_thunk): Likewise.
* config/pa/pa.h (hppa_args): New field "indirect".
(INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
(FUNCTION_ARG): Check "indirect" field, rather than
"current_call_is_indirect".
* All other backends updated with new argument to
INIT_CUMULATIVE_ARGS

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

28 years ago(aux): Delete another duplicate entry.
dje [Fri, 29 Mar 1996 01:49:55 +0000 (01:49 +0000)]
(aux): Delete another duplicate entry.

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

28 years ago(aux): Delete duplicate entry.
dje [Fri, 29 Mar 1996 01:46:52 +0000 (01:46 +0000)]
(aux): Delete duplicate entry.

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

28 years ago(summarize_insn): Fix three "off-by-one" bugs in loop bounds.
kenner [Thu, 28 Mar 1996 23:45:41 +0000 (23:45 +0000)]
(summarize_insn): Fix three "off-by-one" bugs in loop bounds.

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

28 years ago* ginclude/va-h8300.h (va_arg): Don't assume sizeof (int) == 4.
law [Thu, 28 Mar 1996 18:20:00 +0000 (18:20 +0000)]
* ginclude/va-h8300.h (va_arg): Don't assume sizeof (int) == 4.

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

28 years ago * pa.c (hppa_legitimize_address): Don't lose for
law [Thu, 28 Mar 1996 17:14:41 +0000 (17:14 +0000)]
    * pa.c (hppa_legitimize_address): Don't lose for
        (plus (plus (mult (A) (shadd_const)) (B)) (C)) if
        B + C isn't a valid address for indexing.
        (basereg_operand): Only accept base registers after
        cse has completed.  Don't accept the frame pointer if
        it's likely to be eliminated.
        * pa.md (unscaled indexing patterns): Add variants with
        basereg and index register reversed.
        (HImode and QImode loads): Add zero extended variants.

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

28 years ago(negate_rtx): Fix typo in previous change.
kenner [Wed, 27 Mar 1996 12:45:08 +0000 (12:45 +0000)]
(negate_rtx): Fix typo in previous change.

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

28 years ago(expand_call): In convert_to_mode call, use word_mode
wilson [Tue, 26 Mar 1996 18:50:03 +0000 (18:50 +0000)]
(expand_call): In convert_to_mode call, use word_mode
not SImode.

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

28 years ago * expr.c (emit_push_insn): When doing a partial push, emit
law [Tue, 26 Mar 1996 15:45:03 +0000 (15:45 +0000)]
    * expr.c (emit_push_insn): When doing a partial push, emit
        a CLOBBER so that flow doesn't think the entire register
        is live.

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

28 years ago(summarize_insn, default case): Properly use format_ptr.
kenner [Tue, 26 Mar 1996 15:00:38 +0000 (15:00 +0000)]
(summarize_insn, default case): Properly use format_ptr.

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

28 years ago(fullword move): Call output_move_simode_const.
kenner [Tue, 26 Mar 1996 14:50:53 +0000 (14:50 +0000)]
(fullword move): Call output_move_simode_const.

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

28 years ago(output_move_simode_const): New function.
kenner [Tue, 26 Mar 1996 14:49:56 +0000 (14:49 +0000)]
(output_move_simode_const): New function.
(singlemove_string): Call it.

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

28 years ago(output_move_simode_const): New extern declaration.
kenner [Tue, 26 Mar 1996 14:43:18 +0000 (14:43 +0000)]
(output_move_simode_const): New extern declaration.

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

28 years ago(NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination.
tege [Tue, 26 Mar 1996 13:47:00 +0000 (13:47 +0000)]
(NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination.

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

28 years ago(insv matcher): Call CC_STATUS_INIT.
tege [Tue, 26 Mar 1996 13:46:44 +0000 (13:46 +0000)]
(insv matcher): Call CC_STATUS_INIT.

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

28 years ago(expand_function_start): Don't set up context_display
merrill [Tue, 26 Mar 1996 00:17:01 +0000 (00:17 +0000)]
(expand_function_start): Don't set up context_display
        unless current_function_needs_context.

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

28 years ago(fold, case BIT_IOR_EXPR): Recognize rotates with variable count.
kenner [Mon, 25 Mar 1996 23:48:05 +0000 (23:48 +0000)]
(fold, case BIT_IOR_EXPR): Recognize rotates with variable count.

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

28 years ago(libgcc1-test): Undo Feb 12 change.
wilson [Mon, 25 Mar 1996 22:57:48 +0000 (22:57 +0000)]
(libgcc1-test): Undo Feb 12 change.

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

28 years ago(objc_mutex_unlock): Properly declare thread_id.
kenner [Mon, 25 Mar 1996 13:09:26 +0000 (13:09 +0000)]
(objc_mutex_unlock): Properly declare thread_id.

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

28 years ago(negate_rtx): Don't try to negate a constant ourself; instead call
kenner [Sun, 24 Mar 1996 13:16:26 +0000 (13:16 +0000)]
(negate_rtx): Don't try to negate a constant ourself; instead call
simplify_unary_operation.

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

28 years ago(SWITCHES_NEED_SPACES): Change definition correspondingly.
kenner [Sun, 24 Mar 1996 12:28:59 +0000 (12:28 +0000)]
(SWITCHES_NEED_SPACES): Change definition correspondingly.

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

28 years ago(process_command): Instead of hardcoding non-empty
kenner [Sun, 24 Mar 1996 12:28:21 +0000 (12:28 +0000)]
(process_command): Instead of hardcoding non-empty
switches_need_spaces to turn on "o" and "L", make the string contain
the switches that need the spaces.

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

28 years ago(bc_emit_instruction): Add missing va_end call.
kenner [Sun, 24 Mar 1996 01:39:39 +0000 (01:39 +0000)]
(bc_emit_instruction): Add missing va_end call.

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

28 years ago(set_init_index): Check for use outside an array initializer.
kenner [Sun, 24 Mar 1996 00:52:37 +0000 (00:52 +0000)]
(set_init_index): Check for use outside an array initializer.

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

28 years ago(LIB_SPEC): Always output -lmach.
kenner [Sat, 23 Mar 1996 23:34:38 +0000 (23:34 +0000)]
(LIB_SPEC): Always output -lmach.

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

28 years ago(ASM_OUTPUT_ADDR_DIFF_ELT): Don't define.
kenner [Sat, 23 Mar 1996 23:25:32 +0000 (23:25 +0000)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Don't define.

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

28 years ago(ASM_OUTPUT_ADDR_DIFF_ELT): Delete.
kenner [Sat, 23 Mar 1996 23:25:04 +0000 (23:25 +0000)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Delete.

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

28 years ago(make_extraction): In BITS_BIG_ENDIAN correction of POS, need to treat
dje [Sat, 23 Mar 1996 22:07:00 +0000 (22:07 +0000)]
(make_extraction): In BITS_BIG_ENDIAN correction of POS, need to treat
MEM and REG differently.

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

28 years ago * sparc/sparc.md (*mov{qi,hi,si,di}_cc_sp64): Fix constraints.
dje [Sat, 23 Mar 1996 20:55:14 +0000 (20:55 +0000)]
* sparc/sparc.md (*mov{qi,hi,si,di}_cc_sp64): Fix constraints.
(*mov{qi,hi,si,di}_cc_reg_sp64): Likewise.

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

28 years ago * sparc/sparc.c (arith11_operand): Use SPARC_SIMM11_P.
dje [Sat, 23 Mar 1996 20:54:48 +0000 (20:54 +0000)]
* sparc/sparc.c (arith11_operand): Use SPARC_SIMM11_P.
(arith10_operand): Use SPARC_SIMM10_P.

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

28 years ago * sparc/sparc.h (SPARC_SIMM{10,11,13}_P): Define.
dje [Sat, 23 Mar 1996 20:54:21 +0000 (20:54 +0000)]
* sparc/sparc.h (SPARC_SIMM{10,11,13}_P): Define.
(SMALL_INT): Use SPARC_SIMM13_P.
(CONST_OK_FOR_LETTER_P): Support new letters L,M.

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

28 years ago(TRAMPOLINE_TEMPLATE): Correct first instruction.
kenner [Sat, 23 Mar 1996 12:47:13 +0000 (12:47 +0000)]
(TRAMPOLINE_TEMPLATE): Correct first instruction.

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

28 years ago(build_array_ref): Give error if subscripting a function.
kenner [Sat, 23 Mar 1996 12:07:23 +0000 (12:07 +0000)]
(build_array_ref): Give error if subscripting a function.

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

28 years ago85th Cygnus<->FSF quick merge
mrs [Fri, 22 Mar 1996 23:11:55 +0000 (23:11 +0000)]
85th Cygnus<->FSF quick merge

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

28 years ago(optimize_reg_copy_1): Only update reg_live_length if it is
kenner [Fri, 22 Mar 1996 14:11:37 +0000 (14:11 +0000)]
(optimize_reg_copy_1): Only update reg_live_length if it is
non-negative.

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

28 years ago(os): sunos[3456] -> sunos[34], sunos[56] have their own entries
dje [Thu, 21 Mar 1996 23:26:26 +0000 (23:26 +0000)]
(os): sunos[3456] -> sunos[34], sunos[56] have their own entries

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

28 years ago85th Cygnus<->FSF quick merge
mrs [Thu, 21 Mar 1996 19:46:11 +0000 (19:46 +0000)]
85th Cygnus<->FSF quick merge

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

28 years ago(STARTFILE_SPEC,LINK_SPEC): Define.
dje [Thu, 21 Mar 1996 19:42:11 +0000 (19:42 +0000)]
(STARTFILE_SPEC,LINK_SPEC): Define.

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

28 years ago(note_mem_written): Delete obsolete code for handling
wilson [Wed, 20 Mar 1996 23:26:55 +0000 (23:26 +0000)]
(note_mem_written): Delete obsolete code for handling
(mem (scratch)).

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

28 years ago(mips_expand_prologue): In initialization of fnargs, delete
wilson [Wed, 20 Mar 1996 22:20:11 +0000 (22:20 +0000)]
(mips_expand_prologue): In initialization of fnargs, delete
special treatment of METHOD_TYPE.

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

28 years ago * sparc/sparc.c (fcc_reg_operand): Ensure correct mode.
dje [Wed, 20 Mar 1996 22:07:22 +0000 (22:07 +0000)]
* sparc/sparc.c (fcc_reg_operand): Ensure correct mode.
(icc_or_fcc_reg_operand): Likewise.
(gen_v9_scc): IF_THEN_ELSE must have a mode.
(print_operand): New operand code `x' for all condition codes.
New operand codes `c,d' for reversed conditional moves.
* sparc/sparc.md (movqicc,movhicc): New named patterns.
(movsicc,movdicc,movsfcc,movdfcc,movtfcc): Rewrite.
(conditional move matchers): Rewrite.

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

28 years ago * sparc/sparc.h (CPP_CPU_SPEC): Add v8plus entry.
dje [Wed, 20 Mar 1996 22:05:49 +0000 (22:05 +0000)]
* sparc/sparc.h (CPP_CPU_SPEC): Add v8plus entry.
(ASM_CPU_SPEC): Likewise.

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

28 years ago * sparc/sol2.h (ASM_CPU_SPEC): Recognize -mcpu=v8plus, not v9.
dje [Wed, 20 Mar 1996 22:05:05 +0000 (22:05 +0000)]
* sparc/sol2.h (ASM_CPU_SPEC): Recognize -mcpu=v8plus, not v9.
Fix typo in ultrasparc entry.

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

28 years ago(HARD_REGNO_MODE_OK): Relax QImode constraint to avoid a reload problem.
coxs [Wed, 20 Mar 1996 21:19:14 +0000 (21:19 +0000)]
(HARD_REGNO_MODE_OK): Relax QImode constraint to avoid a reload problem.

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

28 years ago * pa.c (hppa_legitimize_address): Don't lose for x[n-const]
law [Wed, 20 Mar 1996 18:15:13 +0000 (18:15 +0000)]
    * pa.c (hppa_legitimize_address): Don't lose for x[n-const]
        when n-const will not be shifted.  Don't pessimize code for
        x[n-const] when const is small.

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

28 years ago(LIB_SPEC): Don't link /usr/lib/bb_link.o with `gcc -a'.
kenner [Wed, 20 Mar 1996 16:41:45 +0000 (16:41 +0000)]
(LIB_SPEC): Don't link /usr/lib/bb_link.o with `gcc -a'.
(__bb_init_func): Deleted.
(BLOCK_PROFILER_CODE): Don't set macro to nothing.

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

28 years ago(ASM_SPEC): Deleted.
kenner [Wed, 20 Mar 1996 16:28:31 +0000 (16:28 +0000)]
(ASM_SPEC): Deleted.
(STRUCT_VALUE_REGNUM): Redefine as register a0.
(STATIC_CHAIN_REGNUM): Redefine as register a1.
(TRAMPOLINE_TEMPLATE): Redefine to use the right register.

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

28 years ago(expand_builtin, case BUILT_IN_SETJMP): Call "setjmp" pattern, if any.
kenner [Wed, 20 Mar 1996 13:13:06 +0000 (13:13 +0000)]
(expand_builtin, case BUILT_IN_SETJMP): Call "setjmp" pattern, if any.
Call dummy function pointed to by static chain pointer.
(expand_builtin, case BUILT_IN_LONJMP): Ignore second expression.
Set address of __dummy into static chain pointer.
Copy the label to return to into a pseudo earlier.

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

28 years ago(LIB2FUNCS): Add __dummy.
kenner [Wed, 20 Mar 1996 13:12:13 +0000 (13:12 +0000)]
(LIB2FUNCS): Add __dummy.

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

28 years ago(__dummy): New function.
kenner [Wed, 20 Mar 1996 13:11:20 +0000 (13:11 +0000)]
(__dummy): New function.

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

28 years ago(last_setjmp_suid, regs_crosses_setjmp): New variables.
kenner [Wed, 20 Mar 1996 13:04:28 +0000 (13:04 +0000)]
(last_setjmp_suid, regs_crosses_setjmp): New variables.
(stupid_life_analysis, stupid_mark_refs): Use them to track which
regs are live over a setjmp; don't allocate such regs.

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

28 years ago(demangle_template): Fix for non-mangled pointer
merrill [Wed, 20 Mar 1996 06:11:33 +0000 (06:11 +0000)]
(demangle_template): Fix for non-mangled pointer
        arguments.

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

28 years ago(NULL): Define only if not already defined.
roland [Wed, 20 Mar 1996 01:08:11 +0000 (01:08 +0000)]
(NULL): Define only if not already defined.

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

28 years ago[HAVE_STRING_H]: Include string.h.
roland [Wed, 20 Mar 1996 01:07:36 +0000 (01:07 +0000)]
[HAVE_STRING_H]: Include string.h.
[HAVE_STDLIB_H]: Include stdlib.h.

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

28 years ago * pa.c (compute_frame_size): Update comments to reflect reality.
law [Tue, 19 Mar 1996 18:57:24 +0000 (18:57 +0000)]
    * pa.c (compute_frame_size): Update comments to reflect reality.
        (hppa_expand_prologue): Don't save registers which aren't
        used, even if it creates holes.  Partially undoes changes from
        early March.
        (hppa_expand_epilogue): Likewise.

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

28 years agoupdate compare function unit comment
edelsohn [Tue, 19 Mar 1996 15:50:21 +0000 (15:50 +0000)]
update compare function unit comment

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

28 years ago(struct case_node): New member balance.
kenner [Tue, 19 Mar 1996 13:24:56 +0000 (13:24 +0000)]
(struct case_node): New member balance.
(add_case_node): New function.
(pushcase, pushcase_range): Use it.
(case_tree2list): New function.
(expand_end_case): Use it.

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

28 years ago(move_for_stack_reg): Avoid stack overflow while storing XFmode from
kenner [Tue, 19 Mar 1996 12:44:11 +0000 (12:44 +0000)]
(move_for_stack_reg): Avoid stack overflow while storing XFmode from
fp reg to memory.

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

28 years ago(MASK_*): New macros.
kenner [Tue, 19 Mar 1996 12:37:55 +0000 (12:37 +0000)]
(MASK_*): New macros.
(OVERRIDE_OPTIONS): Use them.
(TARGET_SWITCHES): Likewise.
Treat -m68332 like -m68000.

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

28 years ago(emit_store_flag): If expanding (GE X 0) will need two
kenner [Tue, 19 Mar 1996 01:04:00 +0000 (01:04 +0000)]
(emit_store_flag): If expanding (GE X 0) will need two
insns, don't use subtarget for the result of the first insn.
Move a likely constant to the start of a condition.

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

28 years ago(pushexthisi_const, movsi_const0): New names.
kenner [Tue, 19 Mar 1996 00:48:01 +0000 (00:48 +0000)]
(pushexthisi_const, movsi_const0): New names.
(andsi3, iorsi3): Allow only 'M', not 'K' constants, if dest is 'd'.

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

28 years ago(output_function_epilogue): Restore registers using sp+ instead of fp(n) in
kenner [Tue, 19 Mar 1996 00:47:29 +0000 (00:47 +0000)]
(output_function_epilogue): Restore registers using sp+ instead of fp(n) in
leaf functions.
(USE_MOVQ, use_movq): Function replaced by macro.

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

28 years ago(CONST_OK_FOR_LETTER_VALUE): New constraint 'M'.
kenner [Tue, 19 Mar 1996 00:46:52 +0000 (00:46 +0000)]
(CONST_OK_FOR_LETTER_VALUE): New constraint 'M'.

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

28 years ago(build_conditional_expr): If OP1 is null, set both OP1 and ORIG_OP1 to IFEXP.
kenner [Tue, 19 Mar 1996 00:42:40 +0000 (00:42 +0000)]
(build_conditional_expr): If OP1 is null, set both OP1 and ORIG_OP1 to IFEXP.

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

28 years agoInitial revision
kenner [Tue, 19 Mar 1996 00:33:11 +0000 (00:33 +0000)]
Initial revision

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

28 years ago(FUNCTION_PROLOGUE): LE/370 takes 120 bytes for DSA.
kenner [Tue, 19 Mar 1996 00:33:01 +0000 (00:33 +0000)]
(FUNCTION_PROLOGUE): LE/370 takes 120 bytes for DSA.
Have only one copy of timestamp and PPA2 per object module.
Only have unnamed CSECT to match IBM C.

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

28 years ago(simplify_if_then_else): Allow for case that condition might no longer
kenner [Tue, 19 Mar 1996 00:25:58 +0000 (00:25 +0000)]
(simplify_if_then_else): Allow for case that condition might no longer
be a condition.

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

28 years ago(iterator_loop_epilogue): Don't clear DECL_RTL for a static decl.
kenner [Tue, 19 Mar 1996 00:14:36 +0000 (00:14 +0000)]
(iterator_loop_epilogue): Don't clear DECL_RTL for a static decl.

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

28 years ago(summarize_insn, case SUBREG, CONST_*): New cases.
kenner [Mon, 18 Mar 1996 13:02:09 +0000 (13:02 +0000)]
(summarize_insn, case SUBREG, CONST_*): New cases.

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

28 years ago(find_split_point): Handle NULL return from make_extraction.
dje [Sun, 17 Mar 1996 21:54:11 +0000 (21:54 +0000)]
(find_split_point): Handle NULL return from make_extraction.
(make_field_assignment): Likewise.

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

28 years ago(trap): New attribute.
kenner [Sun, 17 Mar 1996 00:33:14 +0000 (00:33 +0000)]
(trap): New attribute.
Modify patterns for all floating-point trap generating instructions.

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

28 years ago(alpha_tp, alpha_fprm, alpha_fptm): New variables.
kenner [Sun, 17 Mar 1996 00:32:42 +0000 (00:32 +0000)]
(alpha_tp, alpha_fprm, alpha_fptm): New variables.
(alpha_tp_string, alpha_fprm_string, alpha_fptm_string
(trap_pending): Likewise.
(override_options, summarize_insn, final_prescan_insn): New functions.
(print_operand): Handle cases '&', '\'', ')', and '+'.
(output_prolog): Emit ".eflag 48" if TARGET_IEEE_CONFORMANT.
(output_epilog): Call final_prescan_insn before emitting epilog.

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

28 years ago(CPP_SPEC): Added -mieee and -mieee-with-inexact.
kenner [Sun, 17 Mar 1996 00:32:17 +0000 (00:32 +0000)]
(CPP_SPEC): Added -mieee and -mieee-with-inexact.
(alpha_trap_precision, alpha_fp_rounding_mode, alpha_fp_trap_mode):
New enum types.
(target_flags, alpha_tp, alpha_fprm, alpha_fptm): New external vars.
(alpha_fprm_string, alpha_fptm_string, alpha_tp_string): Likewise.
(TARGET_IEEE{,_WITH_INEXACT,_CONFORMANT}): New macros.
(MASK_IEEE{,_WITH_INEXACT,_CONFORMANT}): Likewise.
(MASK_FP, MASK_FPREGS,
(TARGET_SWITCHES): Added "ieee-conformant", "ieee", and
"ieee-with-inexact"; use MASK symbols.
(TARGET_OPTIONS): New macro.
(OVERRIDE_OPTIONS, FINAL_PRESCAN_{INSN,LABEL}): New macros.
(PRINT_OPERAND_PUNCT_VALID_P): Allow operand codes for FP insns.
(CC1_SPEC): New macro.

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

28 years ago(final_scan_insn, case CODE_LABEL): Invoke FINAL_PRESCAN_INSN if
kenner [Sun, 17 Mar 1996 00:31:33 +0000 (00:31 +0000)]
(final_scan_insn, case CODE_LABEL): Invoke FINAL_PRESCAN_INSN if
FINAL_SCAN_LABEL is defined.

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

28 years ago(substitute_in_expr, case COMPONENT_REF): Ignore if inner
kenner [Sun, 17 Mar 1996 00:23:14 +0000 (00:23 +0000)]
(substitute_in_expr, case COMPONENT_REF): Ignore if inner
PLACEHOLDER_EXPR has not yet been initialized.

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

28 years ago(insv): Restore missing end of comment.
kenner [Sun, 17 Mar 1996 00:19:01 +0000 (00:19 +0000)]
(insv): Restore missing end of comment.

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

28 years ago(standard_80386_constant_p): -0.0 is not 0.0.
kenner [Sun, 17 Mar 1996 00:16:54 +0000 (00:16 +0000)]
(standard_80386_constant_p): -0.0 is not 0.0.

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

28 years ago(make_extraction): Correct typo in force_to_mode call in previous change.
kenner [Sat, 16 Mar 1996 23:56:24 +0000 (23:56 +0000)]
(make_extraction): Correct typo in force_to_mode call in previous change.
Return 0 if pos+len out of range of want desired mode.

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

28 years agoInitial revision
kenner [Sat, 16 Mar 1996 21:18:52 +0000 (21:18 +0000)]
Initial revision

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

28 years ago(output_prolog): Set alpha_function_needs_gp if profiling and
kenner [Sat, 16 Mar 1996 21:18:22 +0000 (21:18 +0000)]
(output_prolog): Set alpha_function_needs_gp if profiling and
TARGET_PROFILING_NEEDS_GP defined.

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

28 years agofix TImode offset addres test
edelsohn [Fri, 15 Mar 1996 03:27:18 +0000 (03:27 +0000)]
fix TImode offset addres test

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

28 years agoadd -bnoentry if no entry point for shared object
edelsohn [Fri, 15 Mar 1996 03:26:31 +0000 (03:26 +0000)]
add -bnoentry if no entry point for shared object

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

28 years ago(ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT and
wilson [Fri, 15 Mar 1996 00:58:32 +0000 (00:58 +0000)]
(ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT and
HOST_BITS_PER_WIDE_INT == 64.

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

28 years agoRecognize mips-*-sysv*
ian [Fri, 15 Mar 1996 00:14:04 +0000 (00:14 +0000)]
Recognize mips-*-sysv*

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

28 years agoFix bug with 8-16 byte structures not getting instantiated correctly
meissner [Thu, 14 Mar 1996 20:20:34 +0000 (20:20 +0000)]
Fix bug with 8-16 byte structures not getting instantiated correctly

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

28 years ago(mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to
wilson [Thu, 14 Mar 1996 17:46:53 +0000 (17:46 +0000)]
(mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to
TREE_ADDRESSABLE;

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

28 years agoAdd exception attribute for Windows
meissner [Thu, 14 Mar 1996 16:25:20 +0000 (16:25 +0000)]
Add exception attribute for Windows

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

28 years ago * pa/pa.h (ASM_DECLARE_FUNCTION_NAME): Change TYPE_NEEDS_CONSTRUCTING
law [Thu, 14 Mar 1996 06:54:34 +0000 (06:54 +0000)]
    * pa/pa.h (ASM_DECLARE_FUNCTION_NAME): Change TYPE_NEEDS_CONSTRUCTING
        to TREE_ADDRESSABLE.  From Jim Wilson.

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

28 years ago(warn_sign_compare): Add extern to declaration.
wilson [Wed, 13 Mar 1996 23:20:46 +0000 (23:20 +0000)]
(warn_sign_compare): Add extern to declaration.

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