Mike Stump [Tue, 31 Jan 1995 22:18:02 +0000 (22:18 +0000)]
54th Cygnus<->FSF merge
From-SVN: r8844
Doug Evans [Tue, 31 Jan 1995 18:55:26 +0000 (18:55 +0000)]
(ASM_OUTPUT_SECTION_NAME): Use asm_out_text_file for functions.
From-SVN: r8843
Doug Evans [Tue, 31 Jan 1995 18:54:47 +0000 (18:54 +0000)]
(ASM_DECLARE_FUNCTION_NAME): Ensure section is .text if no section attribute.
From-SVN: r8842
Ian Lance Taylor [Tue, 31 Jan 1995 18:28:04 +0000 (18:28 +0000)]
Include <limits.h>, not "glimits.h".
From-SVN: r8841
Jason Merrill [Tue, 31 Jan 1995 00:40:42 +0000 (00:40 +0000)]
(type_for_*): Check integer_type_node first.
From-SVN: r8840
Jason Merrill [Tue, 31 Jan 1995 00:37:58 +0000 (00:37 +0000)]
Fix DECL_VIRTUAL_P comment.
From-SVN: r8839
Roland McGrath [Sat, 28 Jan 1995 21:28:10 +0000 (21:28 +0000)]
(ASM_OUTPUT_SECTION_NAME): #undef before defining.
From-SVN: r8838
Richard Kenner [Sat, 28 Jan 1995 20:14:09 +0000 (15:14 -0500)]
(c_expand_return): Refine check for returning pointer to local
variable to allow subtracting a pointer from it.
From-SVN: r8837
Jeff Law [Sat, 28 Jan 1995 18:55:00 +0000 (11:55 -0700)]
pa.md (call, call_value): Always save the PIC register before a call.
* pa.md (call, call_value): Always save the PIC register before
a call.
From-SVN: r8836
Richard Kenner [Sat, 28 Jan 1995 12:31:17 +0000 (07:31 -0500)]
(expand_call): When emitting queue for each arg, call protect_from_queue...
(expand_call): When emitting queue for each arg, call
protect_from_queue; put in initial_value so EXPR_LIST in is_const case
won't have QUEUED.
From-SVN: r8835
Jeff Law [Sat, 28 Jan 1995 09:38:58 +0000 (02:38 -0700)]
pa.md (call_internal_reg): Use an even faster sequence for TARGET_FAST_INDIRECT_CALLS.
* pa.md (call_internal_reg): Use an even faster sequence for
TARGET_FAST_INDIRECT_CALLS.
(call_value_internal_reg): Likewise.
From-SVN: r8834
Richard Kenner [Sat, 28 Jan 1995 02:28:46 +0000 (21:28 -0500)]
(unixware, svr4): Treat as synonyms for sysv4.
From-SVN: r8833
Richard Kenner [Sat, 28 Jan 1995 01:57:10 +0000 (20:57 -0500)]
(LIB1FUNCS): Delete _lshlsi3.
(LIB2FUNCS): Delete _lshldi3.
From-SVN: r8832
Richard Kenner [Sat, 28 Jan 1995 01:56:50 +0000 (20:56 -0500)]
(__lshldi3): Deleted.
From-SVN: r8831
Richard Kenner [Sat, 28 Jan 1995 01:56:32 +0000 (20:56 -0500)]
(perform_lshlsi3, __lshlsi3): Deleted.
From-SVN: r8830
Richard Kenner [Fri, 27 Jan 1995 23:51:02 +0000 (18:51 -0500)]
(expand_expr, case MINUS_EXPR): Remove bogus operand swap.
From-SVN: r8829
Richard Kenner [Fri, 27 Jan 1995 23:38:22 +0000 (18:38 -0500)]
(expand_binop): Add missing test for VOIDmode before calling
convert_to_mode.
From-SVN: r8828
Richard Kenner [Fri, 27 Jan 1995 21:54:55 +0000 (16:54 -0500)]
(high_{block,function}_linenum): New variables.
(final_start_function): Initialize them.
(final_end_function): Pass highest line number to function end debugging
routines.
(final_scan_insn): Pass highest line number in block to block end debugging
function.
(output_source_line): Update highest line in block and function.
From-SVN: r8827
Roland McGrath [Fri, 27 Jan 1995 06:09:14 +0000 (06:09 +0000)]
(ASM_OUTPUT_SECTION_NAME): Take proper number of args.
From-SVN: r8826
Jim Wilson [Thu, 26 Jan 1995 00:40:49 +0000 (16:40 -0800)]
(CONST_OK_FOR_LETTER_P): Add case for 'N'. Correct comment.
(ADJUST_INSN_LENGTH, SHORTEN_WITH_AJUST_INSN_LENGTH): New macros.
From-SVN: r8825
Jim Wilson [Thu, 26 Jan 1995 00:40:27 +0000 (16:40 -0800)]
(prepare_scc_operands): Force sh_compare_op1 to a register if it is an invalid constant.
(prepare_scc_operands): Force sh_compare_op1 to a register if
it is an invalid constant.
(output_branch): Add cases for 4, 8, and 18. Correct branch offsets
in comments.
(find_barrier): Correct test for move instructions that need to be
fixed by verifying that the set source is a bad constant.
(arith_reg_or_0_operand): New function.
From-SVN: r8824
Jim Wilson [Wed, 25 Jan 1995 23:17:02 +0000 (15:17 -0800)]
(strings.h): Fix return type of strlen.
From-SVN: r8823
Jim Wilson [Wed, 25 Jan 1995 23:09:41 +0000 (15:09 -0800)]
(expand_expr, case MIN_EXPR): If must emit multiple
instructions, then don't allow a MEM target.
From-SVN: r8822
Richard Kenner [Wed, 25 Jan 1995 22:07:42 +0000 (17:07 -0500)]
(FAILURE_EXIT_CODE): Define.
From-SVN: r8821
Richard Kenner [Wed, 25 Jan 1995 22:06:11 +0000 (17:06 -0500)]
(do_include): For VMS...
(do_include): For VMS, don't attempt to treat `#include X' as
`#include <X.h>' unless `X' has already been macro expanded.
(main): For VMS, do a better job of picking out the base name from
argv[0]'s absolute name.
From-SVN: r8820
David S. Miller [Wed, 25 Jan 1995 20:02:40 +0000 (15:02 -0500)]
*** empty log message ***
From-SVN: r8819
David S. Miller [Wed, 25 Jan 1995 20:01:21 +0000 (15:01 -0500)]
(store_init_value): Change error message text.
From-SVN: r8818
Richard Kenner [Wed, 25 Jan 1995 20:00:09 +0000 (15:00 -0500)]
Update comments.
From-SVN: r8817
David S. Miller [Wed, 25 Jan 1995 19:56:36 +0000 (14:56 -0500)]
(instantiate_type): Change error message text.
From-SVN: r8816
Richard Kenner [Wed, 25 Jan 1995 19:50:28 +0000 (14:50 -0500)]
Update comments.
From-SVN: r8815
Richard Kenner [Wed, 25 Jan 1995 19:50:09 +0000 (14:50 -0500)]
(find_splittable_givs): Change error message text.
From-SVN: r8814
Richard Kenner [Wed, 25 Jan 1995 19:49:08 +0000 (14:49 -0500)]
Update comment.
From-SVN: r8813
Richard Kenner [Wed, 25 Jan 1995 19:42:01 +0000 (14:42 -0500)]
(dsp16xx_reg_class_from_letter): Change error message text.
(limit_reload_class, double_reg_to_memory): Likewise.
(print_operand_address, emit_1600_core_shift): Likewise.
(gen_tst_reg, gen_compare_reg): Likewise.
From-SVN: r8812
Richard Kenner [Wed, 25 Jan 1995 19:40:53 +0000 (14:40 -0500)]
Update comments.
From-SVN: r8811
Richard Kenner [Wed, 25 Jan 1995 19:39:19 +0000 (14:39 -0500)]
(print_operand, print_operand_address): Change error message text.
From-SVN: r8810
Richard Kenner [Wed, 25 Jan 1995 19:36:35 +0000 (14:36 -0500)]
Update comment.
From-SVN: r8809
Richard Kenner [Wed, 25 Jan 1995 19:34:44 +0000 (14:34 -0500)]
(expand_asm, expand_asm_operands): Change error message text.
From-SVN: r8808
Richard Kenner [Wed, 25 Jan 1995 19:28:07 +0000 (14:28 -0500)]
Update comment.
From-SVN: r8807
Richard Kenner [Wed, 25 Jan 1995 19:27:39 +0000 (14:27 -0500)]
(check_attr_value): Change error message text.
(simplify_test_exp): Likewise.
From-SVN: r8806
Richard Kenner [Wed, 25 Jan 1995 17:53:36 +0000 (12:53 -0500)]
(DEFAULT_PCC_STRUCT_RETURN): Define as zero.
(RETURN_IN_MEMORY): Small aggregates are to be returned in d0.
From-SVN: r8805
Richard Kenner [Wed, 25 Jan 1995 17:48:25 +0000 (12:48 -0500)]
(handle_directive): Fix typo...
(handle_directive): Fix typo: '\' caused next char to be copied
blindly, which was an error if !traditional and if the next char was
newline or one of <\'"/.
From-SVN: r8804
Richard Kenner [Wed, 25 Jan 1995 13:15:26 +0000 (08:15 -0500)]
Include expr.h after insn-config.h and insn-flags.h.
From-SVN: r8803
Doug Evans [Wed, 25 Jan 1995 04:18:30 +0000 (04:18 +0000)]
(movcc_gen_code): New variable.
(init_optabs): Initialize it.
(emit_conditional_move): New function.
(can_conditionally_move_p): New function.
From-SVN: r8802
Doug Evans [Wed, 25 Jan 1995 04:17:33 +0000 (04:17 +0000)]
(jump_optimize): Try to emit a conditional move insn before
trying a store-flag insn.
From-SVN: r8801
Doug Evans [Wed, 25 Jan 1995 04:16:37 +0000 (04:16 +0000)]
(optabs): Add entry for movcc_gen_code.
From-SVN: r8800
Doug Evans [Wed, 25 Jan 1995 04:15:47 +0000 (04:15 +0000)]
(main): Delete #ifndef around HAVE_conditional_move.
From-SVN: r8799
Doug Evans [Wed, 25 Jan 1995 04:14:56 +0000 (04:14 +0000)]
(emit_conditional_move): Declare it.
(can_conditionally_move_p): Likewise.
(movcc_gen_code): Likewise.
From-SVN: r8798
Doug Evans [Wed, 25 Jan 1995 04:13:34 +0000 (04:13 +0000)]
(HAVE_conditional_move): Delete.
From-SVN: r8797
Doug Evans [Wed, 25 Jan 1995 04:11:29 +0000 (04:11 +0000)]
(movsicc): New named pattern.
(movdicc, movsfcc, movdfcc): Likewise.
(SImode conditional move): New matcher.
From-SVN: r8796
Doug Evans [Wed, 25 Jan 1995 04:09:46 +0000 (04:09 +0000)]
(simplify_set): Call can_conditionally_move_p.
From-SVN: r8795
Mike Stump [Tue, 24 Jan 1995 08:19:58 +0000 (08:19 +0000)]
53rd Cygnus<->FSF merge
From-SVN: r8794
Roland McGrath [Tue, 24 Jan 1995 04:23:23 +0000 (04:23 +0000)]
(ASM_OUTPUT_SECTION_NAME): Renamed from ASM_OUTPUT_SECTION.
The old name was a typo.
From-SVN: r8793
Jason Merrill [Tue, 24 Jan 1995 02:52:44 +0000 (02:52 +0000)]
Improve PA shlib support
From-SVN: r8792
Karl Heuer [Tue, 24 Jan 1995 00:46:11 +0000 (00:46 +0000)]
(i[34]86:*:3.2:*): Test for ISC before SCO; newer ISC releases have uname -X.
From-SVN: r8791
Ian Lance Taylor [Mon, 23 Jan 1995 23:44:35 +0000 (23:44 +0000)]
Permit any small integer mode in the HI/LO registers
From-SVN: r8790
Doug Evans [Mon, 23 Jan 1995 20:40:56 +0000 (20:40 +0000)]
(table_jump_h8300, table_jump_h8300h): Constrain operand to use register.
From-SVN: r8789
Jason Merrill [Sat, 21 Jan 1995 10:14:41 +0000 (10:14 +0000)]
bool changes
From-SVN: r8788
Jim Wilson [Sat, 21 Jan 1995 02:23:10 +0000 (18:23 -0800)]
(num_sign_bit_copies): Can handle paradoxical subreg only
if LOAD_EXTEND_OP is defined to SIGN_EXTEND.
From-SVN: r8787
Jim Wilson [Sat, 21 Jan 1995 02:12:01 +0000 (18:12 -0800)]
(copy_loop_body): When check for shared address givs, use new same_insn field.
(copy_loop_body): When check for shared address givs, use
new same_insn field.
(find_splittable_givs): New variable v2. Scan givs to set new
same_insn field. Use same_insn to indentify address givs to be
shared.
From-SVN: r8786
Jim Wilson [Sat, 21 Jan 1995 02:11:13 +0000 (18:11 -0800)]
(record_giv): Initialize new field same_insn.
From-SVN: r8785
Jim Wilson [Sat, 21 Jan 1995 02:10:54 +0000 (18:10 -0800)]
(structure induction): Add new field same_insn.
From-SVN: r8784
Jim Wilson [Sat, 21 Jan 1995 01:59:17 +0000 (17:59 -0800)]
(save_for_inline_copying): Add comment that
nonlocal_label list should be updated if it ever can be nonzero.
From-SVN: r8783
Jim Wilson [Sat, 21 Jan 1995 01:58:34 +0000 (17:58 -0800)]
(delete_handlers): When clear LABEL_PRESERVE_P,
also remove label from nonlocal_label list.
From-SVN: r8782
Jim Wilson [Sat, 21 Jan 1995 01:57:45 +0000 (17:57 -0800)]
(find_basic_blocks): No longer need to check for deleted
nonlocal_labels.
From-SVN: r8781
Jim Wilson [Sat, 21 Jan 1995 01:33:08 +0000 (17:33 -0800)]
(syms.h): Don't include under Linux.
From-SVN: r8780
Jim Wilson [Sat, 21 Jan 1995 01:30:34 +0000 (17:30 -0800)]
(scan_loop): For the replace_rtx call, copy the rtx that is
being substituted in before the call.
From-SVN: r8779
Jim Wilson [Sat, 21 Jan 1995 01:23:12 +0000 (17:23 -0800)]
(machine_dependent_reorg): When remove SUBREG, add in
SUBREG_WORD to new register number.
From-SVN: r8778
Jim Wilson [Sat, 21 Jan 1995 01:11:01 +0000 (17:11 -0800)]
(multcosts): Do not compute cost of constant power-of-two multiplies as if they were shifts.
(multcosts): Do not compute cost of constant power-of-two
multiplies as if they were shifts. Reduce multiply cost from 5 to 3.
Delete variable insn_cost.
From-SVN: r8777
Mike Stump [Fri, 20 Jan 1995 19:27:33 +0000 (19:27 +0000)]
stmt.c (expand_cleanups): Add 4th argument to indicate if code needs to be expanded for the cleanup.
* stmt.c (expand_cleanups): Add 4th argument to indicate if code
needs to be expanded for the cleanup.
(expand_goto_internal): Ditto.
(bc_expand_goto_internal): Ditto.
(fixup_gotos): Ditto.
(expand_end_bindings): Ditto. We now always call expand_cleanups,
even after BARRIERs, so that the call to the exception handling
routines is always done.
From-SVN: r8776
Jason Merrill [Fri, 20 Jan 1995 05:57:47 +0000 (05:57 +0000)]
bool changes
From-SVN: r8775
Ian Lance Taylor [Thu, 19 Jan 1995 23:38:09 +0000 (23:38 +0000)]
Add support for r4650, and permit HI/LO to be allocated
From-SVN: r8774
Ian Lance Taylor [Thu, 19 Jan 1995 23:38:09 +0000 (23:38 +0000)]
Build mips1/mips3 multilibs
From-SVN: r8773
Richard Kenner [Wed, 18 Jan 1995 12:43:31 +0000 (07:43 -0500)]
(get_inner_reference): Don't ignore CONVERT_EXPR from non-UNION_TYPE to UNION_TYPE.
(get_inner_reference): Don't ignore CONVERT_EXPR from non-UNION_TYPE
to UNION_TYPE.
(expand_expr, case CONVERT_EXPR): Check for conversion to union before
checking for not changing mode.
From-SVN: r8772
Richard Kenner [Wed, 18 Jan 1995 12:42:42 +0000 (07:42 -0500)]
(stabilize_reference): Fix typo in last change.
From-SVN: r8771
Richard Kenner [Wed, 18 Jan 1995 03:33:13 +0000 (22:33 -0500)]
(stabilize_reference, case RTL_EXPR): New case.
From-SVN: r8770
Jeff Law [Tue, 17 Jan 1995 23:42:12 +0000 (16:42 -0700)]
pa.c (emit_move_sequence): Also handle displacements which do not fit in 14 bits for fp load/store...
* pa.c (emit_move_sequence): Also handle displacements which
do not fit in 14 bits for fp load/store secondary reloads.
From-SVN: r8769
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
Use boolean_* instead of integer_* where appropriate.
From-SVN: r8768
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
Declare pedantic_lvalues.
From-SVN: r8767
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
Set boolean_*, pedantic_lvalues
From-SVN: r8766
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
(pedantic_non_lvalue): Check pedantic_lvalues instead of pedantic.
From-SVN: r8765
Jason Merrill [Tue, 17 Jan 1995 21:37:56 +0000 (21:37 +0000)]
Declare boolean_*
From-SVN: r8764
Richard Kenner [Mon, 16 Jan 1995 12:11:29 +0000 (07:11 -0500)]
(rescan): Fix typo that caused tokens to be glued together improperly.
From-SVN: r8763
Richard Kenner [Sat, 14 Jan 1995 22:49:47 +0000 (17:49 -0500)]
(get_inner_reference): Only treat offset of PLUS_EXPR as special if
second arg is integer constant.
From-SVN: r8762
Doug Evans [Sat, 14 Jan 1995 06:34:35 +0000 (06:34 +0000)]
(stmp-multilib): Fix quoting of CC and CFLAGS.
(stmp-multilib-lib): Likewise.
From-SVN: r8761
Doug Evans [Sat, 14 Jan 1995 06:27:58 +0000 (06:27 +0000)]
Add 1995 to copyright.
From-SVN: r8760
Doug Evans [Sat, 14 Jan 1995 06:22:17 +0000 (06:22 +0000)]
(incoming_reg): Keep regstack aligned to even boundary.
From-SVN: r8759
Doug Evans [Sat, 14 Jan 1995 06:21:30 +0000 (06:21 +0000)]
(INIT_CUMULATIVE_INCOMING_ARGS): Reserve two regs for caller's lr0,lr1.
From-SVN: r8758
Doug Evans [Sat, 14 Jan 1995 06:20:26 +0000 (06:20 +0000)]
(decl_attributes): Fix typo in packed ignored warning.
Fix unrecognized mode warning. Make string comparisons consistent.
Support machine attributes with arguments. Make noreturn/volatile
warnings consistent with others.
From-SVN: r8757
Doug Evans [Sat, 14 Jan 1995 06:19:31 +0000 (06:19 +0000)]
(extract_bit_field, fields bigger than word case): Count subwords in target.
(extract_bit_field, fields bigger than word case): Count
subwords in target. Zero remaining upper bits if unsigned.
From-SVN: r8756
Richard Kenner [Sat, 14 Jan 1995 01:40:18 +0000 (20:40 -0500)]
(plain_type_1): For LONG_LONG_TYPE_SIZE, return T_[U]LONG instead of 0 (i.e.
(plain_type_1): For LONG_LONG_TYPE_SIZE, return T_[U]LONG instead of 0
(i.e. T_VOID).
From-SVN: r8755
Richard Kenner [Sat, 14 Jan 1995 01:36:53 +0000 (20:36 -0500)]
(expand_binop): Do not force constant shift-count to a register, to allow possible widening...
(expand_binop): Do not force constant shift-count to a register, to
allow possible widening; do not convert_to_mode mode{1,2} or
copy_to_mode_reg if mode{1,2} is VOIDmode.
From-SVN: r8754
Richard Kenner [Sat, 14 Jan 1995 01:36:09 +0000 (20:36 -0500)]
(zero_extendsidi2): New pattern.
(extendqidi2, extendhidi2, extendsidi2, extendplussidi): New patterns.
(adddia_sexthishl32, adddid_sexthishl32): New patterns.
(adddi_dilshr32, adddi_dishl32, adddi_mem): New patterns.
(adddi3, subdi3): Allow more alternatives.
(subdia_sexthishl32, subdid_sexthishl32): New patterns.
(subdi_dishl32, subdi_mem): New patterns.
(negdi2): New pattern.
(ashldi_sexthi, ashldi_const32, ashldi_const, ashldi3): New patterns.
(subreg1ashrdi_const32, ashrdi_const32): New patterns.
(ashrdi_const32_mem, ashrdi_const, ashrdi3): New patterns.
(subreg1lshrdi_const32, lshrdi_const32, lshrdi_const, lshrdi3): Ditto.
(lshrsi_31): New pattern.
(lshrsi_16, lshrsi_17_24): New names for old unnamed patterns.
From-SVN: r8753
Richard Kenner [Sat, 14 Jan 1995 01:29:19 +0000 (20:29 -0500)]
(fullword move): Call output_move_const_into_data_reg.
From-SVN: r8752
Richard Kenner [Sat, 14 Jan 1995 01:28:45 +0000 (20:28 -0500)]
(CONST_COSTS): Call const_int_cost.
From-SVN: r8751
Richard Kenner [Sat, 14 Jan 1995 01:28:25 +0000 (20:28 -0500)]
(use_movqi, const_method): New functions.
(const_int_cost, output_move_const_into_data_reg): Likewise.
(singlemove_string): Call output_move_const_into_data_reg.
From-SVN: r8750
Richard Kenner [Sat, 14 Jan 1995 01:17:50 +0000 (20:17 -0500)]
Remove use of function prototypes.
From-SVN: r8749
Richard Kenner [Sat, 14 Jan 1995 01:15:11 +0000 (20:15 -0500)]
(unary_expr): If -pedantic, give error for &&.
From-SVN: r8748
Jason Merrill [Sat, 14 Jan 1995 01:09:01 +0000 (01:09 +0000)]
__attribute__ ((constructor))
From-SVN: r8747
Richard Kenner [Sat, 14 Jan 1995 00:37:56 +0000 (19:37 -0500)]
(execute): Don't wait for just any N subprocesses...
(execute): Don't wait for just any N subprocesses, since we may have
started with some subprocesses before we started executing. Wait just
for _our_ N subprocesses.
From-SVN: r8746
Richard Kenner [Sat, 14 Jan 1995 00:16:09 +0000 (19:16 -0500)]
(fold, case COND_EXPR): Properly swap args 1 and 2.
Strip nops from ARG2, just like ARG1.
Make {MIN,MAX}_EXPR properly when type of result different than args.
From-SVN: r8745