platform/upstream/gcc.git
30 years agoInclude hconfig.h.
Richard Kenner [Tue, 5 Oct 1993 19:48:49 +0000 (15:48 -0400)]
Include hconfig.h.

From-SVN: r5609

30 years ago(struct format_char_info...
Richard Kenner [Tue, 5 Oct 1993 19:15:40 +0000 (15:15 -0400)]
(struct format_char_info...

(struct format_char_info, print_table, scan_table, struct
function_info, function_info_entries, function_info_table,
record_format_info, init_format_info_table, check_format): Moved to
c-common.c.
(build_function_call): Call check_function_format.

From-SVN: r5608

30 years agoInclude <ctype.h>; avoid home-grown ISDIGIT.
Richard Kenner [Tue, 5 Oct 1993 19:14:50 +0000 (15:14 -0400)]
Include <ctype.h>; avoid home-grown ISDIGIT.

(decl_attributes): Call record_function_format with DECL_NAME and also
DECL_ASSEMBLER_NAME.
(struct format_char_info): Moved here from c-typeck.c.
(print_char_table): Likewise; renamed from print_table.
(scan_char_table): Likewise; renamed from scan_table.
(struct function_format_info): Likewise; add assembler_name.
(function_format_list): Make list, not array.
(init_function_format_info): Likewise; renamed from init_format_info_table.
(record_function_format): Likewise; renamed from record_format_info;
record assembler_name.
(check_format_info): Likewise; renamed from check_format.
(check_function_format): New interface that does not require knowledge of
struct function_format_info.

From-SVN: r5607

30 years ago(init_decl_processing): Call init_function_format_info.
Richard Kenner [Tue, 5 Oct 1993 19:13:36 +0000 (15:13 -0400)]
(init_decl_processing): Call init_function_format_info.

From-SVN: r5606

30 years ago(init_function_format_info, record_function_format,
Richard Kenner [Tue, 5 Oct 1993 19:12:01 +0000 (15:12 -0400)]
(init_function_format_info, record_function_format,

check_function_format): Declare.

From-SVN: r5605

30 years ago(choose_temp_base): Correct size allocated for temp_filename.
Richard Kenner [Tue, 5 Oct 1993 18:08:10 +0000 (14:08 -0400)]
(choose_temp_base): Correct size allocated for temp_filename.

From-SVN: r5604

30 years ago(dconst[012], dconstm1): Remove redundant definition.
Richard Kenner [Tue, 5 Oct 1993 10:34:26 +0000 (06:34 -0400)]
(dconst[012], dconstm1): Remove redundant definition.

From-SVN: r5603

30 years ago(decode_rtx_const, case CONST_DOUBLE): Only use mode of X if it is not
Richard Kenner [Tue, 5 Oct 1993 10:24:31 +0000 (06:24 -0400)]
(decode_rtx_const, case CONST_DOUBLE): Only use mode of X if it is not
VOIDmode.

From-SVN: r5602

30 years ago(pushxf,movxf,extenddfxf2,extendsfxf2): Handle XFmode write to MEM by eading...
James Van Artsdalen [Tue, 5 Oct 1993 05:52:39 +0000 (05:52 +0000)]
(pushxf,movxf,extenddfxf2,extendsfxf2): Handle XFmode write to MEM by eading...

(pushxf,movxf,extenddfxf2,extendsfxf2): Handle XFmode write to MEM by
eading back value after write if source doesn't die.
(movxf,extenddfxf2,extendsfxf2): Don't emit fld before calling
output_to_reg: output_to_reg does that now.

From-SVN: r5601

30 years ago(output_to_reg): Handle XFmode write to MEM by reading back value after
James Van Artsdalen [Tue, 5 Oct 1993 05:50:44 +0000 (05:50 +0000)]
(output_to_reg): Handle XFmode write to MEM by reading back value after
write if source doesn't die.

From-SVN: r5600

30 years ago(FIXED_REGISTERS): Don't fix hard reg st7 if XFmode is enabled.
James Van Artsdalen [Tue, 5 Oct 1993 05:49:36 +0000 (05:49 +0000)]
(FIXED_REGISTERS): Don't fix hard reg st7 if XFmode is enabled.

From-SVN: r5599

30 years ago(move_for_stack_reg): If the 387 regstack is not full when doing an XFmode write...
James Van Artsdalen [Tue, 5 Oct 1993 05:48:02 +0000 (05:48 +0000)]
(move_for_stack_reg): If the 387 regstack is not full when doing an XFmode write from 387 to MEM...

(move_for_stack_reg): If the 387 regstack is not full when doing an XFmode
write from 387 to MEM, copy the source reg and write the copy.

From-SVN: r5598

30 years ago(record_reg_classes): There is no alt_cost
Richard Stallman [Tue, 5 Oct 1993 03:07:03 +0000 (03:07 +0000)]
(record_reg_classes): There is no alt_cost
for a pair of matching args if they are the same pseudo reg.

From-SVN: r5597

30 years ago(bc_output_ascii): New function.
Richard Stallman [Mon, 4 Oct 1993 22:47:13 +0000 (22:47 +0000)]
(bc_output_ascii): New function.

(assemble_string): Use it.
(assemble_static_space, assemble_variable): Put braces around uses
of BC_OUTPUT_COMMON and BC_OUTPUT_LOCAL.

From-SVN: r5596

30 years agoCast enum arithmetic and logical operands to int.
Richard Kenner [Mon, 4 Oct 1993 22:03:00 +0000 (18:03 -0400)]
Cast enum arithmetic and logical operands to int.

From-SVN: r5595

30 years ago(deduce_conversion, emit_typecode_conversion): Cast enum array indices to int.
Richard Kenner [Mon, 4 Oct 1993 22:02:42 +0000 (18:02 -0400)]
(deduce_conversion, emit_typecode_conversion): Cast enum array indices to int.

(bc_init_mode_to_code_map, preferred_typecode): Likewise.
(bc_expand_binary_operation, bc_expand_unary_operation): Likewise.
(bc_expand_increment): Likewise.

From-SVN: r5594

30 years ago(bc_emit_bytecode): Cast enum array indices to int.
Richard Kenner [Mon, 4 Oct 1993 22:01:55 +0000 (18:01 -0400)]
(bc_emit_bytecode): Cast enum array indices to int.

From-SVN: r5593

30 years ago(bc_init_mode_to_opcode_maps, bc_expand_expr): Cast enum array indices to int.
Richard Kenner [Mon, 4 Oct 1993 22:01:19 +0000 (18:01 -0400)]
(bc_init_mode_to_opcode_maps, bc_expand_expr): Cast enum array indices to int.

(bc_load_memory, bc_store_memory): Likewise.
(bc_runtime_type_code): Cast enum logical operand to int.

From-SVN: r5592

30 years ago(incoming_regs): Only use 16 registers for parameter passing.
Richard Kenner [Mon, 4 Oct 1993 21:47:19 +0000 (17:47 -0400)]
(incoming_regs): Only use 16 registers for parameter passing.

From-SVN: r5591

30 years ago(output_constant_def): Remove last change; no longer needed.
Richard Kenner [Mon, 4 Oct 1993 09:52:09 +0000 (05:52 -0400)]
(output_constant_def): Remove last change; no longer needed.

From-SVN: r5590

30 years ago(build_string): Remove previous change and comment why string text has
Richard Kenner [Mon, 4 Oct 1993 09:51:29 +0000 (05:51 -0400)]
(build_string): Remove previous change and comment why string text has
to be in saveable_obstack.

From-SVN: r5589

30 years ago(lang_options): Add temporary parameter "gnat".
Richard Kenner [Mon, 4 Oct 1993 02:12:02 +0000 (22:12 -0400)]
(lang_options): Add temporary parameter "gnat".

From-SVN: r5588

30 years ago(default_compilers): Add rules for Ada.
Richard Kenner [Mon, 4 Oct 1993 02:10:24 +0000 (22:10 -0400)]
(default_compilers): Add rules for Ada.

From-SVN: r5587

30 years ago(staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR.
Richard Kenner [Mon, 4 Oct 1993 01:51:27 +0000 (21:51 -0400)]
(staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR.

From-SVN: r5586

30 years ago(assign_parms): Pass objects who size depends on the contents of the
Richard Kenner [Mon, 4 Oct 1993 01:48:54 +0000 (21:48 -0400)]
(assign_parms): Pass objects who size depends on the contents of the
object by invisible reference.

From-SVN: r5585

30 years ago(store_expr): Use expr_size value, not size_int.
Richard Kenner [Mon, 4 Oct 1993 01:48:03 +0000 (21:48 -0400)]
(store_expr): Use expr_size value, not size_int.

(store_constructor): Handle case of variable position and allow it to contain
a PLACEHOLDER_EXPR.
(get_inner_reference): Make a WITH_RECORD_EXPR if required.
(expand_expr, case PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New cases.
(expand_expr, case ARRAY_REF): Make WITH_RECORD_EXPR expressions when needed.

From-SVN: r5584

30 years ago(expand_call): Pass objects who size depends on the contents of the
Richard Kenner [Mon, 4 Oct 1993 01:47:12 +0000 (21:47 -0400)]
(expand_call): Pass objects who size depends on the contents of the
object by invisible reference.

From-SVN: r5583

30 years ago(expr_size): If the size contains a PLACEHOLDER_EXPR, surround it with
Richard Kenner [Mon, 4 Oct 1993 01:46:46 +0000 (21:46 -0400)]
(expr_size): If the size contains a PLACEHOLDER_EXPR, surround it with
a WITH_RECORD_EXPR.

From-SVN: r5582

30 years ago(save_expr): Don't evaluate something containing a PLACEHOLDER_EXPR.
Richard Kenner [Mon, 4 Oct 1993 01:46:17 +0000 (21:46 -0400)]
(save_expr): Don't evaluate something containing a PLACEHOLDER_EXPR.

(contains_placeholder_p, substitute_in_{expr,type}): New functions.

From-SVN: r5581

30 years agoAdd declarations for contains_placeholder_p, substitute_in_{expr,type}.
Richard Kenner [Mon, 4 Oct 1993 01:45:49 +0000 (21:45 -0400)]
Add declarations for contains_placeholder_p, substitute_in_{expr,type}.

From-SVN: r5580

30 years ago(PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New tree codes.
Richard Kenner [Mon, 4 Oct 1993 01:45:02 +0000 (21:45 -0400)]
(PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New tree codes.

From-SVN: r5579

30 years ago(expand_call): Set MEM_IN_STRUCT_P in stack slot if appropriate.
Richard Kenner [Mon, 4 Oct 1993 01:41:25 +0000 (21:41 -0400)]
(expand_call): Set MEM_IN_STRUCT_P in stack slot if appropriate.

From-SVN: r5578

30 years ago(VALUE_REGNO): Add case XFmode.
James Van Artsdalen [Mon, 4 Oct 1993 00:02:46 +0000 (00:02 +0000)]
(VALUE_REGNO): Add case XFmode.

From-SVN: r5577

30 years ago(ASM_OUTPUT_DOUBLE): Deleted, use default version.
James Van Artsdalen [Mon, 4 Oct 1993 00:02:26 +0000 (00:02 +0000)]
(ASM_OUTPUT_DOUBLE): Deleted, use default version.

From-SVN: r5576

30 years ago(ASM_OUTPUT_DOUBLE,ASM_OUTPUT_FLOAT): Use REAL_VALUE_ macros.
James Van Artsdalen [Mon, 4 Oct 1993 00:01:16 +0000 (00:01 +0000)]
(ASM_OUTPUT_DOUBLE,ASM_OUTPUT_FLOAT): Use REAL_VALUE_ macros.

(ASM_OUTPUT_LONG_DOUBLE): New macro.

From-SVN: r5575

30 years ago(ASM_OUTPUT_DOUBLE,ASM_OUTPUT_FLOAT): Use REAL_VALUE_ macros.
James Van Artsdalen [Sun, 3 Oct 1993 23:59:48 +0000 (23:59 +0000)]
(ASM_OUTPUT_DOUBLE,ASM_OUTPUT_FLOAT): Use REAL_VALUE_ macros.

(ASM_OUTPUT_LONG_DOUBLE): New macro.
(VALUE_REGNO): Add case XFmode.

From-SVN: r5574

30 years ago(tstxf_cc, tstxf, cmpxf, cmpxf_cc, cmpxf_ccfpeq, swapxf, movxf,
James Van Artsdalen [Sun, 3 Oct 1993 23:57:15 +0000 (23:57 +0000)]
(tstxf_cc, tstxf, cmpxf, cmpxf_cc, cmpxf_ccfpeq, swapxf, movxf,

extenddfxf2, extendsfxf2, truncxfsf2, truncxfdf2, fixuns_truncxfsi2,
fix_truncxfdi2, fix_truncxfsi2, floatsixf2, floatdixf2, addxf3, subxf3,
mulxf3, divxf3, negxf2, absxf2, sqrtxf2): New patterns.

From-SVN: r5573

30 years ago(LONG_DOUBLE_TYPE_SIZE): Define as 96.
James Van Artsdalen [Sun, 3 Oct 1993 23:55:52 +0000 (23:55 +0000)]
(LONG_DOUBLE_TYPE_SIZE): Define as 96.

(FIXED_REGISTERS): If XFmode enabled, hard reg st7 is fixed.
(ASM_OUTPUT_DOUBLE): Use REAL_VALUE_... macros.
(ASM_OUTPUT_FLOAT): Likewise.
(ASM_OUTPUT_LONG_DOUBLE): New macro.
(PRINT_REG):  Add size case 12.
(DEBUG_PRINT_REG):  Likewise.

From-SVN: r5572

30 years ago(output_op_from_reg): Handle 3-word XFmode values.
James Van Artsdalen [Sun, 3 Oct 1993 23:54:14 +0000 (23:54 +0000)]
(output_op_from_reg):  Handle 3-word XFmode values.

(output_to_reg): Likewise.
(output_move_double): Handle XFmode operands.
(output_move_const_single): Use REAL_VALUE_TO_TARGET_SINGLE.
(print_operand): Add letter `T', size `12'.  Use REAL_VALUE macros
 to convert floating point operands.
(convert_387_op):  Add XFmode to case FLOAT_EXTEND.

From-SVN: r5571

30 years agoFix typo.
Michael Meissner [Sun, 3 Oct 1993 23:36:06 +0000 (23:36 +0000)]
Fix typo.

From-SVN: r5570

30 years ago(bytecode.realclean): Don't delete bi-lexer.c.
Richard Stallman [Sun, 3 Oct 1993 22:33:03 +0000 (22:33 +0000)]
(bytecode.realclean): Don't delete bi-lexer.c.

From-SVN: r5569

30 years ago(output_constant_def): Copy string as well as string node when
Richard Kenner [Sun, 3 Oct 1993 20:45:14 +0000 (16:45 -0400)]
(output_constant_def): Copy string as well as string node when
deferring output of constants.

From-SVN: r5568

30 years agoInitial revision
Richard Kenner [Sun, 3 Oct 1993 19:42:39 +0000 (15:42 -0400)]
Initial revision

From-SVN: r5567

30 years agoRecognize operating system "riscix*"; recognize acorn as vendor
Richard Earnshaw [Sun, 3 Oct 1993 16:50:05 +0000 (16:50 +0000)]
Recognize operating system "riscix*"; recognize acorn as vendor

From-SVN: r5566

30 years agoInitial revision
Richard Earnshaw [Sun, 3 Oct 1993 16:33:02 +0000 (16:33 +0000)]
Initial revision

From-SVN: r5565

30 years agoMajor rewrite -- See ChangeLog for details
Richard Earnshaw [Sun, 3 Oct 1993 16:33:02 +0000 (16:33 +0000)]
Major rewrite -- See ChangeLog for details

From-SVN: r5564

30 years ago(addhi3): Use byte opcodes when the low byte of a word is known to be zero.
James Van Artsdalen [Sat, 2 Oct 1993 22:26:01 +0000 (22:26 +0000)]
(addhi3): Use byte opcodes when the low byte of a word is known to be zero.

From-SVN: r5563

30 years ago(can_combine_p): Allow an insn with a REG_EQUIV note that reads memory
Richard Kenner [Sat, 2 Oct 1993 18:10:47 +0000 (14:10 -0400)]
(can_combine_p): Allow an insn with a REG_EQUIV note that reads memory
to be moved past an insn that writes memory.

From-SVN: r5562

30 years ago(record_reg_classes): Skip to next alternative when we skip normal
Richard Kenner [Sat, 2 Oct 1993 18:09:01 +0000 (14:09 -0400)]
(record_reg_classes): Skip to next alternative when we skip normal
cost computation.

From-SVN: r5561

30 years agoAdd prototypes to static declarations.
Richard Kenner [Sat, 2 Oct 1993 18:07:37 +0000 (14:07 -0400)]
Add prototypes to static declarations.

(PROTO): New macro.
(dup2, putenv): Functions return integers; add type and returns.

From-SVN: r5560

30 years ago(make_decl_rtl): Set TREE_SIDE_EFFECTS on global if -fvolatile-global.
Richard Kenner [Sat, 2 Oct 1993 18:06:03 +0000 (14:06 -0400)]
(make_decl_rtl): Set TREE_SIDE_EFFECTS on global if -fvolatile-global.

From-SVN: r5559

30 years ago(build_string): Make lifetime of string the same as tree node.
Richard Kenner [Sat, 2 Oct 1993 18:03:56 +0000 (14:03 -0400)]
(build_string): Make lifetime of string the same as tree node.

From-SVN: r5558

30 years ago(CPP_PREDEFINES): Add system/cpu/machine assertions where missing.
Doug Evans [Sat, 2 Oct 1993 08:55:06 +0000 (08:55 +0000)]
(CPP_PREDEFINES): Add system/cpu/machine assertions where missing.

From-SVN: r5557

30 years agoTest __sequent__ like __BSD_NET2__.
Richard Stallman [Sat, 2 Oct 1993 02:11:53 +0000 (02:11 +0000)]
Test __sequent__ like __BSD_NET2__.

From-SVN: r5556

30 years ago(insert_regs): Always return something.
Torbjorn Granlund [Sat, 2 Oct 1993 00:27:43 +0000 (00:27 +0000)]
(insert_regs): Always return something.

(simplify_unary_operation): Remove unused variable.
(cse_process_notes): Likewise.
(invalidate_skipped_block): Likewise.
(cse_set_around_loop): Likewise.

From-SVN: r5555

30 years agoentered into RCS
Jim Wilson [Fri, 1 Oct 1993 23:34:31 +0000 (16:34 -0700)]
entered into RCS

From-SVN: r5554

30 years ago(bc_generate): New VMS DCL function.
Richard Stallman [Fri, 1 Oct 1993 23:13:57 +0000 (23:13 +0000)]
(bc_generate): New VMS DCL function.

(bc_generate): New VMS DCL function.  Takes a BC
header file that needs to be generated, and builds it.

Compile entries listed in BI_ALL.OPT, and then call
bc_generate for every header file listed in BC_ALL.OPT

From-SVN: r5553

30 years agoWrite out the definitions from Makefile.in for the symbols BC_ALL and BI_OBJ into...
Richard Stallman [Fri, 1 Oct 1993 23:11:18 +0000 (23:11 +0000)]
Write out the definitions from Makefile.in for the symbols BC_ALL and BI_OBJ into files BC_ALL.OPT and BI_ALL.opt.

Write out the definitions from Makefile.in for
the symbols BC_ALL and BI_OBJ into files BC_ALL.OPT and
BI_ALL.opt.  Remove "bytecode " from compiler options files so
compiler will link correctly.

From-SVN: r5552

30 years ago(LIB_SPEC): Handle -p anmd -pg outermost.
Richard Stallman [Fri, 1 Oct 1993 22:52:36 +0000 (22:52 +0000)]
(LIB_SPEC): Handle -p anmd -pg outermost.

From-SVN: r5551

30 years ago(build_modify_expr): Check whether recursive calls return error_mark_node.
Richard Stallman [Fri, 1 Oct 1993 22:49:56 +0000 (22:49 +0000)]
(build_modify_expr): Check whether recursive calls return error_mark_node.

From-SVN: r5550

30 years ago(gen_input_reload): Handle PLUS with MEM operand
Jim Wilson [Fri, 1 Oct 1993 22:29:09 +0000 (15:29 -0700)]
(gen_input_reload): Handle PLUS with MEM operand
exactly the same as a PLUS with a REG operand.

From-SVN: r5549

30 years ago(form_sum): Undo Sep 28 change.
Jim Wilson [Fri, 1 Oct 1993 22:27:08 +0000 (15:27 -0700)]
(form_sum): Undo Sep 28 change.

From-SVN: r5548

30 years ago(cc1, cc1plus, cc1obj): Delete superfluous dependencies on bytecode.
Jim Wilson [Fri, 1 Oct 1993 22:23:16 +0000 (15:23 -0700)]
(cc1, cc1plus, cc1obj): Delete superfluous dependencies on bytecode.

(cc1, cc1plus, cc1obj): Delete superfluous
dependencies on bytecode.
(stamp-bcarity, stamp-bcopcode, stamp-bcopname): Create stamp files.

From-SVN: r5547

30 years ago(LINK_SPEC): Pass "-a -archive" when debugging.
Torbjorn Granlund [Fri, 1 Oct 1993 22:19:39 +0000 (22:19 +0000)]
(LINK_SPEC): Pass "-a -archive" when debugging.

(LIB_SPEC): Make sure to add space between flags.

From-SVN: r5546

30 years ago(LIB_SPEC): Make sure to add space between flags.
Torbjorn Granlund [Fri, 1 Oct 1993 22:18:47 +0000 (22:18 +0000)]
(LIB_SPEC): Make sure to add space between flags.

From-SVN: r5545

30 years ago(MD_FILE): New macro.
Doug Evans [Fri, 1 Oct 1993 22:16:34 +0000 (22:16 +0000)]
(MD_FILE): New macro.

(md): New dependency.
(clean): Remove file md if md.pre-cpp exists.
(distclean): Remove md.pre-cpp.

From-SVN: r5544

30 years agoDo not put halfpic cruft into libgcc.a on OSF/1.
Michael Meissner [Fri, 1 Oct 1993 20:02:40 +0000 (20:02 +0000)]
Do not put halfpic cruft into libgcc.a on OSF/1.

From-SVN: r5543

30 years ago(R_KR): New macro.
Richard Kenner [Fri, 1 Oct 1993 14:46:05 +0000 (10:46 -0400)]
(R_KR): New macro.

(FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust for
more registers present.
(REG_ALLOC_ORDER, REG_CLASS_CONTENTS, REGISTER_NAMES): Likewise.
(HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, REGNO_REG_CLASS): Likewise.
(CONDITIONAL_REGISTER_USAGE): Swap names rather than replacing them.

(TARGET_LARGE_MEMORY): New flag; change value for all others.
(ENCODE_SECTION_INFO): New macro.
(TARGET_SWITCHES): Add "normal" and change values.

From-SVN: r5542

30 years ago(gpc_reg_operand): Include kernel registers.
Richard Kenner [Fri, 1 Oct 1993 14:45:16 +0000 (10:45 -0400)]
(gpc_reg_operand): Include kernel registers.

(call_operand, case SYMBOL_REF): Handle TARGET_LARGE_MEMORY and
SYMBOL_REF_FLAG.

From-SVN: r5541

30 years agoreorg.c (optimize_skip): Do not thread a jump to a new target if doing so would inval...
Jeff Law [Fri, 1 Oct 1993 03:23:10 +0000 (21:23 -0600)]
reorg.c (optimize_skip): Do not thread a jump to a new target if doing so would invalidate the insn in...

        * reorg.c (optimize_skip): Do not thread a jump to a new
        target if doing so would invalidate the insn in the jump's
        delay slot.

From-SVN: r5540

30 years agobi-lexer.c (scan_string): Do xmalloc if buffer is null and xrealloc if it's not,...
Brendan Kehoe [Thu, 30 Sep 1993 18:21:55 +0000 (14:21 -0400)]
bi-lexer.c (scan_string): Do xmalloc if buffer is null and xrealloc if it's not, not the other way around.

        * bi-lexer.c (scan_string): Do xmalloc if buffer is null and
        xrealloc if it's not, not the other way around.

From-SVN: r5539

30 years ago(bc_end_function, seg_data): Use bcopy instead of memcpy.
Jan Brittenson [Thu, 30 Sep 1993 14:57:15 +0000 (07:57 -0700)]
(bc_end_function, seg_data): Use bcopy instead of memcpy.

From-SVN: r5538

30 years ago(fold, case PLUS_EXPR, MINUS_EXPR): Properly handle case when ARG1
Richard Kenner [Thu, 30 Sep 1993 09:53:43 +0000 (05:53 -0400)]
(fold, case PLUS_EXPR, MINUS_EXPR): Properly handle case when ARG1
splits and VARSIGN is -1.

From-SVN: r5537

30 years ago(stamp-bcopname, stamp-bcopcode):
Richard Stallman [Thu, 30 Sep 1993 01:52:21 +0000 (01:52 +0000)]
(stamp-bcopname, stamp-bcopcode):

Use shorter names for temporary files.
(bc-emit.o): Depend on bc-arity.h.

From-SVN: r5536

30 years ago(reg_or_short_operand): Remove redundant test.
Richard Kenner [Wed, 29 Sep 1993 22:46:53 +0000 (18:46 -0400)]
(reg_or_short_operand): Remove redundant test.

From-SVN: r5535

30 years ago(rtx_renumbered_equal_p, case CONST_INT): Use INTVAL, not XINT.
Richard Kenner [Wed, 29 Sep 1993 22:35:15 +0000 (18:35 -0400)]
(rtx_renumbered_equal_p, case CONST_INT): Use INTVAL, not XINT.

From-SVN: r5534

30 years ago(GEN_INT): Add missing cast to HOST_WIDE_INT.
Richard Kenner [Wed, 29 Sep 1993 22:34:51 +0000 (18:34 -0400)]
(GEN_INT): Add missing cast to HOST_WIDE_INT.

From-SVN: r5533

30 years ago(UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): redefine in a simpler way.
Doug Evans [Wed, 29 Sep 1993 21:31:49 +0000 (21:31 +0000)]
(UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): redefine in a simpler way.

From-SVN: r5532

30 years agofixincludes (sys/spinlock.h): change references of "../machine/*.h" to <machine/*.h>
Doug Evans [Wed, 29 Sep 1993 21:25:02 +0000 (21:25 +0000)]
fixincludes (sys/spinlock.h): change references of "../machine/*.h" to <machine/*.h>

* fixincludes (sys/spinlock.h): change references of
"../machine/*.h" to <machine/*.h>

From-SVN: r5531

30 years agoAdd prototypes for static function.
Jim Wilson [Wed, 29 Sep 1993 19:04:41 +0000 (12:04 -0700)]
Add prototypes for static function.

(add_dependence, remove_dependence, regno_use_in): Now static.
(schedule_insns): Have dummy version also take FILE * parameter.

From-SVN: r5530

30 years ago(quote_string): New function.
Paul Eggert [Wed, 29 Sep 1993 05:42:10 +0000 (05:42 +0000)]
(quote_string): New function.

(special_symbol, write_output, output_line_command): Use it to quote
special characters in file names on output.
(do_line): Parse escape sequences in #line directives' file names.

From-SVN: r5529

30 years ago(ignore_escape_flag): Remove var.
Paul Eggert [Wed, 29 Sep 1993 05:42:10 +0000 (05:42 +0000)]
(ignore_escape_flag): Remove var.

(check_newline, yylex): Do not ignore escapes when reading file names,
because escapes are the only way to represent file names containing '"'.

From-SVN: r5528

30 years ago(find_reloads): Don't call find_reloads_toplev
Richard Stallman [Wed, 29 Sep 1993 02:21:41 +0000 (02:21 +0000)]
(find_reloads): Don't call find_reloads_toplev
(or anything like that) for match_operator operands.

From-SVN: r5527

30 years ago(quote_string): New function.
Paul Eggert [Wed, 29 Sep 1993 01:29:31 +0000 (01:29 +0000)]
(quote_string): New function.

(special_symbol): Use it to properly quote special chars in __FILE__.

From-SVN: r5526

30 years ago(expand_inline_function): Push and pop temp slots around making new
Richard Kenner [Wed, 29 Sep 1993 01:27:07 +0000 (21:27 -0400)]
(expand_inline_function): Push and pop temp slots around making new
temp slots and freeing them.

From-SVN: r5525

30 years ago(expand_assignment, expand_expr, do_jumps): Push and pop temp slots
Richard Kenner [Wed, 29 Sep 1993 01:26:23 +0000 (21:26 -0400)]
(expand_assignment, expand_expr, do_jumps): Push and pop temp slots
around making new temp slots and freeing them.

From-SVN: r5524

30 years ago(push_temp_slots, pop_temp_slots): Always change level.
Richard Kenner [Wed, 29 Sep 1993 01:24:47 +0000 (21:24 -0400)]
(push_temp_slots, pop_temp_slots): Always change level.

From-SVN: r5523

30 years agoInitial revision
Richard Stallman [Wed, 29 Sep 1993 00:19:28 +0000 (00:19 +0000)]
Initial revision

From-SVN: r5522

30 years ago(xmalloc): New function.
Richard Stallman [Tue, 28 Sep 1993 23:23:24 +0000 (23:23 +0000)]
(xmalloc): New function.

From-SVN: r5521

30 years agoInclude stdio.h.
Richard Stallman [Tue, 28 Sep 1993 23:23:11 +0000 (23:23 +0000)]
Include stdio.h.

(xmalloc): New function.

From-SVN: r5520

30 years ago(expand_main_function): Put back accidentally
Richard Stallman [Tue, 28 Sep 1993 23:16:09 +0000 (23:16 +0000)]
(expand_main_function): Put back accidentally
deleted previous change to use NAME__MAIN.

From-SVN: r5519

30 years ago(INT_MAX, LONG_MAX, LONG_LONG_MAX): Delete parens.
Richard Stallman [Tue, 28 Sep 1993 23:09:42 +0000 (23:09 +0000)]
(INT_MAX, LONG_MAX, LONG_LONG_MAX): Delete parens.

(__glimits__evconcat__, __glimits__concat__): New macros.
(UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): Use them.

From-SVN: r5518

30 years ago(eliminate_regs): All recursive calls now pass INSN instead of NULL_RTX.
Jim Wilson [Tue, 28 Sep 1993 23:03:39 +0000 (16:03 -0700)]
(eliminate_regs): All recursive calls now pass INSN instead of NULL_RTX.

(eliminate_regs): All recursive calls now pass INSN
instead of NULL_RTX.  Second assignment to ref_outside_mem changed
to be same as first assignment.

From-SVN: r5517

30 years ago(force_to_mode, LSHIFTRT case): Avoid shifts larger
Jim Wilson [Tue, 28 Sep 1993 23:00:13 +0000 (16:00 -0700)]
(force_to_mode, LSHIFTRT case): Avoid shifts larger
than HOST_BITS_PER_WIDE_INT.

From-SVN: r5516

30 years ago(schedule_insns): Don't zero reg_n_calls_crossed for
Jim Wilson [Tue, 28 Sep 1993 22:57:44 +0000 (15:57 -0700)]
(schedule_insns): Don't zero reg_n_calls_crossed for
pseudos live across multiple blocks.

From-SVN: r5515

30 years ago({sparc,sun3,sun3x,sun4,sun4c,sun4m}/asm_linkage.h,
Jim Wilson [Tue, 28 Sep 1993 22:54:25 +0000 (15:54 -0700)]
({sparc,sun3,sun3x,sun4,sun4c,sun4m}/asm_linkage.h,

{sun4c,sun4m}/debug/asm_linkage.h: Replace /**/ with ##.

From-SVN: r5514

30 years ago(mark_target_live_regs): When scanning insns, ignore
Jim Wilson [Tue, 28 Sep 1993 22:52:06 +0000 (15:52 -0700)]
(mark_target_live_regs): When scanning insns, ignore
CLOBBERs in addition to USEs.

From-SVN: r5513

30 years ago(output_dots): New function.
Richard Stallman [Tue, 28 Sep 1993 22:51:54 +0000 (22:51 +0000)]
(output_dots): New function.

(do_include): Call it (to indent output for print_include_names).

From-SVN: r5512

30 years agoComment that this is for sparclite w/o FPU.
Jim Wilson [Tue, 28 Sep 1993 22:48:56 +0000 (15:48 -0700)]
Comment that this is for sparclite w/o FPU.

From-SVN: r5511

30 years ago(CPP_SPEC): Handle -mf930 and -mf934.
Jim Wilson [Tue, 28 Sep 1993 22:48:30 +0000 (15:48 -0700)]
(CPP_SPEC): Handle -mf930 and -mf934.

(TARGET_SWITCHES): Add -mf930 and -mf934 options.  -msparclite no
longer does -mno-fpu.

From-SVN: r5510