Richard Kenner [Fri, 8 Oct 1993 15:25:24 +0000 (11:25 -0400)]
(expand_expr, case MAX_EXPR): Don't use TARGET directly if it is a
volatile MEM.
From-SVN: r5681
Richard Kenner [Fri, 8 Oct 1993 14:40:59 +0000 (10:40 -0400)]
(check_function_format): Correct error in last change.
From-SVN: r5680
Richard Stallman [Fri, 8 Oct 1993 12:20:44 +0000 (12:20 +0000)]
(initdcl, notype_initdcl): Call push_momentary and pop_momentary here.
(init): Not here.
From-SVN: r5679
Richard Kenner [Fri, 8 Oct 1993 12:03:26 +0000 (08:03 -0400)]
Remove LIMITS_H; hasn't been used for a while.
From-SVN: r5678
Richard Kenner [Fri, 8 Oct 1993 11:46:38 +0000 (07:46 -0400)]
Remove definition of EXTRA_PASSES and remove rules for mips-* files.
From-SVN: r5677
Richard Kenner [Fri, 8 Oct 1993 11:44:49 +0000 (07:44 -0400)]
Don't define memory functions on Alpha.
(Ptrdiff_t): Always `long'.
(WORD_ALIGN): Make portable.
From-SVN: r5676
Richard Kenner [Fri, 8 Oct 1993 11:44:01 +0000 (07:44 -0400)]
(mips-tfile, mips-tfile.o, mips-tdump, mips-tdump.o): New rules.
From-SVN: r5675
Richard Kenner [Fri, 8 Oct 1993 10:55:59 +0000 (06:55 -0400)]
(dbxout_parms): Don't confuse a parameter at an offset of zero from AP
or FP with one that has variable size.
From-SVN: r5674
Richard Kenner [Fri, 8 Oct 1993 10:34:54 +0000 (06:34 -0400)]
(emit_library_call): Fix typo in last change; should use Pmode instead
of SImode.
From-SVN: r5673
Richard Stallman [Fri, 8 Oct 1993 04:59:33 +0000 (04:59 +0000)]
(finish_decl): Error if block-scope static var has incomplete type.
(complete_array_type): Correctly set MAXINDEX to one less than array size.
From-SVN: r5672
Richard Stallman [Fri, 8 Oct 1993 04:58:24 +0000 (04:58 +0000)]
(expand_expr, case VAR_DECL): If decl wasn't laid out,
lay it out now, and fix the rtl's mode.
From-SVN: r5671
Richard Stallman [Fri, 8 Oct 1993 01:49:18 +0000 (01:49 +0000)]
(complete_array_type): Correctly set MAXINDEX to one less than array size.
From-SVN: r5670
Torbjorn Granlund [Fri, 8 Oct 1993 00:48:54 +0000 (00:48 +0000)]
(build_binary_op): For *_DIV_EXPR, set shorten based on orig_op0.
From-SVN: r5669
Richard Stallman [Thu, 7 Oct 1993 23:37:16 +0000 (23:37 +0000)]
(LIB2FUNCS): Add _fixtfdi, _fixunstfdi, _floatditf.
From-SVN: r5668
Jim Wilson [Thu, 7 Oct 1993 22:19:01 +0000 (15:19 -0700)]
(HAVE_VPRINTF): Is VPRINTF not VFPRINTF.
From-SVN: r5667
Richard Stallman [Thu, 7 Oct 1993 21:39:38 +0000 (21:39 +0000)]
(main): New option -lang-c-c++-comments.
From-SVN: r5666
Michael Meissner [Thu, 7 Oct 1993 21:35:55 +0000 (21:35 +0000)]
Change to even newer profiling calling sequence.
From-SVN: r5665
Michael Meissner [Thu, 7 Oct 1993 21:35:28 +0000 (21:35 +0000)]
Add FINALIZE_PIC to indicate %ebx needs to be set up if profiling.
From-SVN: r5664
Richard Kenner [Thu, 7 Oct 1993 21:26:41 +0000 (17:26 -0400)]
Always declare malloc, realloc, etc, to be void *.
From-SVN: r5663
Ian Lance Taylor [Thu, 7 Oct 1993 21:05:34 +0000 (21:05 +0000)]
Move in initialization of byte_mode and word_mode from rtl.c
From-SVN: r5662
Ian Lance Taylor [Thu, 7 Oct 1993 21:05:34 +0000 (21:05 +0000)]
Move initialization of byte_mode and word_mode to emit-rtl.c
From-SVN: r5661
Doug Evans [Thu, 7 Oct 1993 19:48:20 +0000 (19:48 +0000)]
(CPP_PREDEFINES): Add assertions for system/cpu/machine.
From-SVN: r5660
Richard Stallman [Thu, 7 Oct 1993 18:48:55 +0000 (18:48 +0000)]
(struct file_name_list): Add new field c_system_include_path.
(*various*): Set this flag correctly
(is_system_include): Return 2 if C-language system include.
(output_line_command): Output " 4" after " 3" for C-language system
include.
From-SVN: r5659
Doug Evans [Thu, 7 Oct 1993 18:40:43 +0000 (18:40 +0000)]
(install-dir): Fix typo.
(install-common): Remove obsolete comment.
(install-common): Install native g++ only if not cross.
From-SVN: r5658
Richard Stallman [Thu, 7 Oct 1993 18:38:02 +0000 (18:38 +0000)]
(emit_library_call, emit_library_call_value):
Allocate a temp slot if arg must be passed by reference.
From-SVN: r5657
Richard Stallman [Thu, 7 Oct 1993 15:27:56 +0000 (15:27 +0000)]
(read_specs): Fix call to bzero.
From-SVN: r5656
Torbjorn Granlund [Thu, 7 Oct 1993 12:56:20 +0000 (12:56 +0000)]
Clean up usage of commutative declarator `%'.
From-SVN: r5655
Richard Kenner [Thu, 7 Oct 1993 12:14:16 +0000 (08:14 -0400)]
(force_to_mode): Sign-extend constant being truncated.
From-SVN: r5654
Richard Kenner [Thu, 7 Oct 1993 01:46:49 +0000 (21:46 -0400)]
(asm_fprintf): Add cases for 'w' and 'l'.
From-SVN: r5653
Richard Kenner [Wed, 6 Oct 1993 23:32:11 +0000 (19:32 -0400)]
None. FIxing RCS messup.
From-SVN: r5652
Richard Kenner [Wed, 6 Oct 1993 23:28:26 +0000 (19:28 -0400)]
*** empty log message ***
From-SVN: r5651
Richard Stallman [Wed, 6 Oct 1993 22:54:04 +0000 (22:54 +0000)]
(xmalloc, xrealloc): Cast the result of malloc, realloc.
From-SVN: r5650
Richard Kenner [Wed, 6 Oct 1993 22:45:41 +0000 (18:45 -0400)]
(save_expr): Update tombstone comment.
From-SVN: r5649
Richard Stallman [Wed, 6 Oct 1993 22:09:26 +0000 (22:09 +0000)]
Add peepholes for stack adjust plus pushes.
(recognizer for subtracting const from reg 17):
Add %$ in adjspb/adjspd insns.
From-SVN: r5648
Richard Stallman [Wed, 6 Oct 1993 22:06:21 +0000 (22:06 +0000)]
(output_move_double): Special code for pushing from an address that uses the sp.
(output_move_double): Special code for
pushing from an address that uses the sp. Use PUSHOP for pushes,
not POPOP.
From-SVN: r5647
Richard Stallman [Wed, 6 Oct 1993 22:04:11 +0000 (22:04 +0000)]
(FUNCTION_EPILOGUE, FUNCTION_PROLOGUE): Add %$ in adjspb/adjspd insns.
From-SVN: r5646
Doug Evans [Wed, 6 Oct 1993 21:54:36 +0000 (21:54 +0000)]
fix 2 typos
From-SVN: r5645
Richard Stallman [Wed, 6 Oct 1993 21:07:12 +0000 (21:07 +0000)]
Comment change.
From-SVN: r5644
Michael Meissner [Wed, 6 Oct 1993 19:39:25 +0000 (19:39 +0000)]
Add check for _real_mcount being 0 back in again.
From-SVN: r5643
Michael Meissner [Wed, 6 Oct 1993 19:29:21 +0000 (19:29 +0000)]
New calling sequence for profiling, old available with -mmcount.
From-SVN: r5642
Jeff Law [Wed, 6 Oct 1993 19:29:13 +0000 (13:29 -0600)]
pa.c (output_function_prologue): Pass on information about the number of callee saved general and floating point...
* pa.c (output_function_prologue): Pass on information about the
number of callee saved general and floating point registers which
are saved by the current function's prologue.
(hppa_expand_prologue): Keep track of the number of callee
register saves done for general and floating point registers.
From-SVN: r5641
Ian Lance Taylor [Wed, 6 Oct 1993 17:49:06 +0000 (17:49 +0000)]
Let tm file define MAX_*_TYPE_SIZE if *_TYPE_SIZE depends upon target_flags
From-SVN: r5640
Jim Wilson [Wed, 6 Oct 1993 17:46:02 +0000 (10:46 -0700)]
(try_combine): New variable i3_subst_into_i2.
Set it for special case of substituting i3 into i2. Use it near
end to detect when special case succeeded. Move i2notes to
i3notes for this special case.
(distribute_notes, REG_UNUSED case): Ignore all REG_UNUSED notes
except those from I3.
From-SVN: r5639
Richard Stallman [Wed, 6 Oct 1993 17:36:43 +0000 (17:36 +0000)]
(real_value_truncate): Correct etrunci argument in case SImode.
From-SVN: r5638
Richard Stallman [Wed, 6 Oct 1993 17:21:20 +0000 (17:21 +0000)]
(build_c_cast): When making a CONSTRUCTOR, provide the dummy first operand.
From-SVN: r5637
Richard Kenner [Wed, 6 Oct 1993 16:13:39 +0000 (12:13 -0400)]
Remove declaration of malloc.
From-SVN: r5636
Richard Kenner [Wed, 6 Oct 1993 16:13:03 +0000 (12:13 -0400)]
Remove declarations of malloc and realloc.
From-SVN: r5635
Richard Kenner [Wed, 6 Oct 1993 16:12:38 +0000 (12:12 -0400)]
Include hconfig.h.
From-SVN: r5634
Richard Kenner [Wed, 6 Oct 1993 16:12:02 +0000 (12:12 -0400)]
(bi-opcode.o): Includes hconfig.h.
From-SVN: r5633
Richard Kenner [Wed, 6 Oct 1993 10:58:50 +0000 (06:58 -0400)]
(record_reg_classes): Check if operands are the same by seeing if they
are the same register.
From-SVN: r5632
Richard Kenner [Wed, 6 Oct 1993 10:56:50 +0000 (06:56 -0400)]
(record_jump_cond): Rehash OP1 if OP0's insert_regs returns nonzero.
From-SVN: r5631
Richard Kenner [Wed, 6 Oct 1993 10:54:56 +0000 (06:54 -0400)]
(expand_call): Add yet another assignment to MEM_IN_STRUCT_P.
From-SVN: r5630
Richard Stallman [Wed, 6 Oct 1993 06:11:07 +0000 (06:11 +0000)]
Comment change.
From-SVN: r5629
Jim Wilson [Wed, 6 Oct 1993 04:08:07 +0000 (21:08 -0700)]
(umulsidi3): Use uns_arith_operand not arith_operand.
(const_umulsidi3): Use uns_small_int not small_int.
(ashlsi3+1, ashlsi3+2): New patterns to replace shift
and compare with addcc.
From-SVN: r5628
Jim Wilson [Wed, 6 Oct 1993 04:07:24 +0000 (21:07 -0700)]
(SELECT_CC_MODE): Add support for ASHIFT.
From-SVN: r5627
Jim Wilson [Wed, 6 Oct 1993 04:06:46 +0000 (21:06 -0700)]
(uns_small_int, uns_arith_operand): New functions.
From-SVN: r5626
Richard Kenner [Wed, 6 Oct 1993 02:44:02 +0000 (22:44 -0400)]
(contains_placeholder_p): Return 0 for CONSTRUCTOR.
(substitute_in_expr): Don't allow CONSTRUCTOR.
From-SVN: r5625
Richard Kenner [Wed, 6 Oct 1993 02:33:19 +0000 (22:33 -0400)]
(make_node, case 'd'): Refine in which obstack PARM_DECLs are
allocated.
From-SVN: r5624
Richard Kenner [Wed, 6 Oct 1993 02:17:52 +0000 (22:17 -0400)]
(convert_modes): Properly handle extending constants since we might be
changing signedness.
From-SVN: r5623
Richard Kenner [Wed, 6 Oct 1993 02:17:23 +0000 (22:17 -0400)]
(expand_call): Properly test if we need to promote operand; use
convert_modes instead of convert_to_mode.
From-SVN: r5622
Jim Wilson [Tue, 5 Oct 1993 23:22:04 +0000 (16:22 -0700)]
(sched_analyze_2): Make volatile asms depend on all
pseudo registers.
From-SVN: r5621
Richard Kenner [Tue, 5 Oct 1993 23:13:31 +0000 (19:13 -0400)]
(contains_placeholder): Return 0 for WITH_RECORD_EXPR.
From-SVN: r5620
Jim Wilson [Tue, 5 Oct 1993 20:48:07 +0000 (13:48 -0700)]
(mips_expand_prologue): Handle structure return values as
the first argument if necessary.
From-SVN: r5619
Jim Wilson [Tue, 5 Oct 1993 20:42:25 +0000 (13:42 -0700)]
(CLASS_MAX_NREGS): For DFmode and !TARGET_FLOAT64 case,
return 2 not 4.
(CLASS_UNITS): Take size parameter instead of num (words).
From-SVN: r5618
Jim Wilson [Tue, 5 Oct 1993 20:39:48 +0000 (13:39 -0700)]
(output_init_element): When try to copy FIELD if it
is an interger constant, first check to make sure it is nonzero.
From-SVN: r5617
Jim Wilson [Tue, 5 Oct 1993 20:28:49 +0000 (13:28 -0700)]
(fill_simple_delay_slots): When take insn from a following unconditional branch target...
(fill_simple_delay_slots): When take insn from a
following unconditional branch target, if new_label is zero, must
set it to the result of find_end_label ().
From-SVN: r5616
Richard Kenner [Tue, 5 Oct 1993 20:25:24 +0000 (16:25 -0400)]
(read_specs): Make a null entry at end of `compilers' when reading new
entry from file.
From-SVN: r5615
Jim Wilson [Tue, 5 Oct 1993 20:25:03 +0000 (13:25 -0700)]
(INITIALIZE_TRAMPOLINE): Delete #ifndef/#endif.
(INITIALIZE_TRAMPOLINE): Delete #ifndef/#endif. Change
function name from __enable_execute_stack to __gcc_flush_cache.
(TRANSFER_FROM_TRAMPOLINE): Likewise. Delete code calling
mprotect. Uncomment code calling cacheflush.
From-SVN: r5614
Jim Wilson [Tue, 5 Oct 1993 20:24:14 +0000 (13:24 -0700)]
(INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): Delete.
From-SVN: r5613
Richard Kenner [Tue, 5 Oct 1993 20:11:43 +0000 (16:11 -0400)]
(error and its kin): Use #defines for the argument lists for ease of
adding arguments and add one arg.
From-SVN: r5612
Richard Kenner [Tue, 5 Oct 1993 20:04:55 +0000 (16:04 -0400)]
(rescan): Don't expand an identifier after a '#'.
From-SVN: r5611
Richard Kenner [Tue, 5 Oct 1993 19:49:20 +0000 (15:49 -0400)]
(bi-arity.o, bi-lexer.o, bi-opname.o, bi-parser.o): Include hconfig.h.
From-SVN: r5610
Richard Kenner [Tue, 5 Oct 1993 19:48:49 +0000 (15:48 -0400)]
Include hconfig.h.
From-SVN: r5609
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
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
Richard Kenner [Tue, 5 Oct 1993 19:13:36 +0000 (15:13 -0400)]
(init_decl_processing): Call init_function_format_info.
From-SVN: r5606
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
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
Richard Kenner [Tue, 5 Oct 1993 10:34:26 +0000 (06:34 -0400)]
(dconst[012], dconstm1): Remove redundant definition.
From-SVN: r5603
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
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
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
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
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
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
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
Richard Kenner [Mon, 4 Oct 1993 22:03:00 +0000 (18:03 -0400)]
Cast enum arithmetic and logical operands to int.
From-SVN: r5595
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
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
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
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
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
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
Richard Kenner [Mon, 4 Oct 1993 02:12:02 +0000 (22:12 -0400)]
(lang_options): Add temporary parameter "gnat".
From-SVN: r5588
Richard Kenner [Mon, 4 Oct 1993 02:10:24 +0000 (22:10 -0400)]
(default_compilers): Add rules for Ada.
From-SVN: r5587
Richard Kenner [Mon, 4 Oct 1993 01:51:27 +0000 (21:51 -0400)]
(staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR.
From-SVN: r5586
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
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
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
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