Richard Kenner [Sat, 5 Nov 1994 19:04:50 +0000 (14:04 -0500)]
(subst_asm_stack_regs): Cast args to bcopy to char *.
(BLOCK_NUM): Rework to avoid cast of abort to int *.
(find_blocks): Don't use BLOCK_NUM on lhs.
(reg_to_stack, record_arg_reg_life): Cast arg to bzero to char *.
From-SVN: r8392
Richard Kenner [Sat, 5 Nov 1994 19:03:27 +0000 (14:03 -0500)]
(reload): Cast args to bcopy to char *.
From-SVN: r8391
Richard Kenner [Sat, 5 Nov 1994 19:02:41 +0000 (14:02 -0500)]
(GET_REAL, PUT_REAL): Cast args to bcopy to char *.
From-SVN: r8390
Richard Kenner [Sat, 5 Nov 1994 13:29:23 +0000 (08:29 -0500)]
(rescan): Do not preserve newlines after macro name if rescanning a macro expansion.
(rescan): Do not preserve newlines after macro name
if rescanning a macro expansion. Instead, preserve them if
not outputting marks.
From-SVN: r8389
Richard Kenner [Fri, 4 Nov 1994 22:25:24 +0000 (17:25 -0500)]
(VMS_TARGET): Define.
From-SVN: r8388
Richard Kenner [Fri, 4 Nov 1994 22:25:01 +0000 (17:25 -0500)]
Include tree.h and VMS-specific functions #ifdef VMS_TARGET.
From-SVN: r8387
Richard Kenner [Fri, 4 Nov 1994 21:31:59 +0000 (16:31 -0500)]
(bc_emit_bytecode): Add missing cast.
From-SVN: r8386
Richard Kenner [Fri, 4 Nov 1994 21:31:17 +0000 (16:31 -0500)]
(main): Cast enum to char in output.
From-SVN: r8385
Richard Kenner [Thu, 3 Nov 1994 23:55:32 +0000 (18:55 -0500)]
(c-parse.o, c-lex.o): c-parse.h is in $(srcdir).
From-SVN: r8384
Paul Eggert [Thu, 3 Nov 1994 23:50:02 +0000 (18:50 -0500)]
Makefile.in (spew.o, [...]): Depend on $(srcdir)/parse.h, not parse.h.
* Makefile.in (spew.o, lex.o, pt.o):
Depend on $(srcdir)/parse.h, not parse.h.
From-SVN: r8383
Paul Eggert [Thu, 3 Nov 1994 23:47:46 +0000 (18:47 -0500)]
(spew.o, lex.o, pt.o): Depend on $(srcdir)/parse.h, not parse.h.
From-SVN: r8382
Richard Kenner [Thu, 3 Nov 1994 23:11:49 +0000 (18:11 -0500)]
(EXTRA_CONSTRAINT): 'R' matches a SYMBOL_REF for TOC entry.
(PRINT_OPERAND_PUNCT_VALID_P): Recognize '*'.
(PREDICATE_CODES): input_operand can now match SYMBOL_REF.
From-SVN: r8381
Richard Kenner [Thu, 3 Nov 1994 23:11:16 +0000 (18:11 -0500)]
(print_operand): New code '*' to print TOC register number.
(input_operand): Allow address of TOC entry.
From-SVN: r8380
Richard Kenner [Thu, 3 Nov 1994 23:09:09 +0000 (18:09 -0500)]
(movsi): New alternative for SYMBOL_REF source operand.
From-SVN: r8379
Richard Kenner [Thu, 3 Nov 1994 23:03:09 +0000 (18:03 -0500)]
TOOL_INCLUDE_DIR is not C++-aware.
From-SVN: r8378
Richard Kenner [Thu, 3 Nov 1994 22:23:18 +0000 (17:23 -0500)]
(mips_output_external): Exclude alloca from list of used external
functions.
From-SVN: r8377
Richard Kenner [Tue, 1 Nov 1994 23:50:47 +0000 (18:50 -0500)]
(add_high_const): Add missing mode for PLUS.
From-SVN: r8376
Richard Kenner [Tue, 1 Nov 1994 23:39:35 +0000 (18:39 -0500)]
(simplify_unary_operation, case TRUNCATE): Set LV and HV.
From-SVN: r8375
Richard Kenner [Tue, 1 Nov 1994 23:36:18 +0000 (18:36 -0500)]
(struct extern_list): Put code back outside of #ifdef VMS.
(vms_check_external, vms_flush_pending_externals): Likewise.
From-SVN: r8374
Per Bothner [Tue, 1 Nov 1994 19:27:21 +0000 (11:27 -0800)]
(*-unknown-freebsd): Remove [-(] from UNAME_RELEASE.
From-SVN: r8373
Richard Kenner [Mon, 31 Oct 1994 21:18:02 +0000 (16:18 -0500)]
(movsf...
(movsf, movdf, movxf): If we are moving floating point constants to a
non-memory location that aren't 0 or 1, assume we need the pic
register if -fpic.
From-SVN: r8372
Jim Wilson [Mon, 31 Oct 1994 18:26:19 +0000 (10:26 -0800)]
(GO_IF_LEGITIMATE_ADDRESS): Don't allow TFmode LO_SUM.
From-SVN: r8371
Jim Wilson [Mon, 31 Oct 1994 18:24:39 +0000 (10:24 -0800)]
(movtf+3): Disable pattern.
From-SVN: r8370
Richard Kenner [Mon, 31 Oct 1994 13:11:19 +0000 (08:11 -0500)]
(expand_expr, COND_EXPR case): Don't use original target as a temp if it's a volatile mem ref.
(expand_expr, COND_EXPR case): Don't use original target as a temp if
it's a volatile mem ref. Finish previous patch (don't expand "X ? A &
1 : A" as "A & (X != 0)").
From-SVN: r8369
Richard Kenner [Mon, 31 Oct 1994 13:07:01 +0000 (08:07 -0500)]
(ASM_GLOBALIZE_LABEL): Pass new args to vms_check_external.
(ASM_OUTPUT_EXTERNAL): Just call vms_check_external.
(ASM_{,FINISH_}DECLARE_OBJECT_NAME, ASM_FILE_END): Define.
From-SVN: r8368
Richard Kenner [Mon, 31 Oct 1994 13:06:15 +0000 (08:06 -0500)]
Include tree.h #ifdef VMS.
(struct extern_list): Move inside #ifdef VMS; add SIZE and IN_CONST fields;
make `extern_head' static; add second list head.
(vms_check_external): Move inside #ifdef VMS; give new args; maintain list of
both pending external symbols and previously defined ones.
(vms_flush_pending_externals): New function.
From-SVN: r8367
Richard Kenner [Mon, 31 Oct 1994 13:00:54 +0000 (08:00 -0500)]
(TARGET_SWITCHES): Add -split and -no-split.
(TARGET_SPLIT, TARGET_NOSPLIT): New macros.
(TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Abort if -split.
From-SVN: r8366
Richard Kenner [Mon, 31 Oct 1994 13:00:34 +0000 (08:00 -0500)]
Update comments.
From-SVN: r8365
Richard Kenner [Mon, 31 Oct 1994 12:49:04 +0000 (07:49 -0500)]
(mark_set_resources): Properly handle SUBREGs.
From-SVN: r8364
Richard Kenner [Mon, 31 Oct 1994 12:24:20 +0000 (07:24 -0500)]
(preserve_temp_slots): Preserve anything whose address was taken when
X is zero.
From-SVN: r8363
Richard Kenner [Mon, 31 Oct 1994 12:23:35 +0000 (07:23 -0500)]
(expand_expr, case COMPONENT_REF): Don't extract field from a CONSTRUCTOR if it already has a TREE_CST_RTL.
(expand_expr, case COMPONENT_REF): Don't extract field from a CONSTRUCTOR if
it already has a TREE_CST_RTL.
(expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken on the temporary made
when operand needs to be stored into memory.
From-SVN: r8362
Richard Kenner [Sun, 30 Oct 1994 15:11:13 +0000 (10:11 -0500)]
Update version to 2.6.1.
From-SVN: r8361
Richard Kenner [Sun, 30 Oct 1994 01:16:22 +0000 (21:16 -0400)]
(operand_subword): Fix typo: HOST_BITS_PER_INT should be
HOST_BITS_PER_WIDE_INT.
From-SVN: r8360
Richard Kenner [Sat, 29 Oct 1994 11:19:54 +0000 (07:19 -0400)]
g++.c (main): Cast arg to bzero to avoid warning.
From-SVN: r8359
Per Bothner [Fri, 28 Oct 1994 23:24:27 +0000 (16:24 -0700)]
In the case of {[LO .. HI] = VALUE}, only evaluate VALUE once.
From-SVN: r8358
Richard Kenner [Fri, 28 Oct 1994 23:13:10 +0000 (19:13 -0400)]
(__objc_xcalloc): Use calloc instead malloc/bzero.
From-SVN: r8357
Richard Kenner [Fri, 28 Oct 1994 23:07:48 +0000 (19:07 -0400)]
(TRAMPOLINE_SIZE): Install real implementation.
(INITIALIZE_TRAMPOLINE, TRAMPOLINE_TEMPLATE): Likewise.
From-SVN: r8356
Richard Kenner [Fri, 28 Oct 1994 23:01:16 +0000 (19:01 -0400)]
(stage?-start): Add semicolon between fi and done.
From-SVN: r8355
Richard Kenner [Fri, 28 Oct 1994 22:55:05 +0000 (18:55 -0400)]
(cse_insn): Don't record a DEST a paradoxical SUBREG and SRC is a
SIGN_EXTEND or ZERO_EXTEND.
From-SVN: r8354
Richard Kenner [Fri, 28 Oct 1994 21:12:18 +0000 (17:12 -0400)]
(reload_outqi): Correctly handle scratch assignments for unaligned
case when ADDR is a REG.
From-SVN: r8353
Michael Meissner [Fri, 28 Oct 1994 14:54:58 +0000 (14:54 +0000)]
Fix adddi3.
From-SVN: r8352
Richard Kenner [Thu, 27 Oct 1994 22:58:21 +0000 (18:58 -0400)]
(count_possible_groups): Fix typo in setting counted_for_groups.
From-SVN: r8351
Torbjorn Granlund [Thu, 27 Oct 1994 22:50:06 +0000 (22:50 +0000)]
(process_command): Don't forget to split -Wl arguments at commas.
From-SVN: r8350
Torbjorn Granlund [Thu, 27 Oct 1994 18:04:25 +0000 (18:04 +0000)]
(process_command): Handle -Wl, and -Xlinker similar to -l,
i.e., preserve their order with respect to linker input files.
From-SVN: r8349
Richard Kenner [Thu, 27 Oct 1994 17:05:04 +0000 (13:05 -0400)]
(debug_reload): New function to print reload info set up by
find_reloads.
From-SVN: r8348
Jason Merrill [Thu, 27 Oct 1994 01:22:58 +0000 (01:22 +0000)]
*** empty log message ***
From-SVN: r8347
Richard Kenner [Wed, 26 Oct 1994 22:26:55 +0000 (18:26 -0400)]
(FUNCTION_PROFILER): Use $28 instead of $27.
(LINK_SPEC): Pass -pg to linker.
(LIB_SPEC): Link in -lprof1 with -pg, not -lprof2.
(STARTFILE_SPEC): USe gcrt0.o if -pg, not mcrt0.o.
From-SVN: r8346
Doug Evans [Wed, 26 Oct 1994 22:22:06 +0000 (22:22 +0000)]
(expand_expr, COND_EXPR case): Don't expand "X ? A & 1 : A" as "A & (X != 0)".
From-SVN: r8345
Richard Kenner [Wed, 26 Oct 1994 22:06:49 +0000 (18:06 -0400)]
(expand_lib, main): Fix off-by-one bugs in several calls to malloc.
From-SVN: r8344
Michael Meissner [Wed, 26 Oct 1994 21:14:00 +0000 (21:14 +0000)]
Use GNU nm as REAL_NM_FILE_NAME
From-SVN: r8343
Richard Kenner [Wed, 26 Oct 1994 18:26:41 +0000 (14:26 -0400)]
Initial revision
From-SVN: r8342
Richard Kenner [Wed, 26 Oct 1994 18:25:14 +0000 (14:25 -0400)]
(pdp11): New machine name.
From-SVN: r8341
Richard Kenner [Wed, 26 Oct 1994 11:33:33 +0000 (07:33 -0400)]
(find_basic_blocks): Ensure each live basic block is actually reachable.
(life_analysis): Clean up handling of basic_block_drops_in.
From-SVN: r8340
Richard Kenner [Tue, 25 Oct 1994 22:39:55 +0000 (18:39 -0400)]
(rescan): ".." no longer terminates a preprocessing number, since
that's incompatible with the C standard.
From-SVN: r8339
Richard Kenner [Tue, 25 Oct 1994 20:16:36 +0000 (16:16 -0400)]
(CPP_PREDEFINES): Define u3b2, not u3b.
From-SVN: r8338
Jim Wilson [Tue, 25 Oct 1994 20:14:54 +0000 (13:14 -0700)]
(fill_slots_from_thread): Update THREAD if it is split.
From-SVN: r8337
Jason Merrill [Tue, 25 Oct 1994 20:09:03 +0000 (20:09 +0000)]
(lang_options): Add -f{no-,}access-control.
From-SVN: r8336
Richard Earnshaw [Mon, 24 Oct 1994 10:13:12 +0000 (10:13 +0000)]
(peepholes for call followed by branch): Disable.
From-SVN: r8335
Richard Earnshaw [Sun, 23 Oct 1994 12:54:15 +0000 (12:54 +0000)]
(INSTALL): Invoke install.sh with -c flag
From-SVN: r8334
Jason Merrill [Fri, 21 Oct 1994 19:14:08 +0000 (19:14 +0000)]
(LIB2FUNCS): Add _pure.
From-SVN: r8333
Jason Merrill [Fri, 21 Oct 1994 19:14:08 +0000 (19:14 +0000)]
(__pure_virtual): New function to go into vtable
entries for pure virtual methods instead of abort.
From-SVN: r8332
Per Bothner [Fri, 21 Oct 1994 01:50:59 +0000 (18:50 -0700)]
Better NCR support.
From-SVN: r8331
Richard Kenner [Thu, 20 Oct 1994 22:40:25 +0000 (18:40 -0400)]
(define_split comparison op with power of two minus 1): Fix typo.
From-SVN: r8330
Jason Merrill [Thu, 20 Oct 1994 22:06:20 +0000 (22:06 +0000)]
Back out previous change.
From-SVN: r8329
Jason Merrill [Thu, 20 Oct 1994 22:06:20 +0000 (22:06 +0000)]
(add_to_list): Check for duplicates.
From-SVN: r8328
Jason Merrill [Thu, 20 Oct 1994 21:52:05 +0000 (21:52 +0000)]
(LINK_SPEC): Pass -shared through; don't
pass -init __main if -shared.
From-SVN: r8327
Jason Merrill [Thu, 20 Oct 1994 21:52:05 +0000 (21:52 +0000)]
(LINK_SPEC): Pass -shared through; don't pass -init __main if -shared.
(LINK_SPEC): Pass -shared through; don't
pass -init __main if -shared.
(STARTFILE_SPEC): Wrap startfiles in %{!shared:}.
(INIT_NAME_FORMAT): Define.
(FINI_NAME_FORMAT): Define.
From-SVN: r8326
Jason Merrill [Thu, 20 Oct 1994 20:53:07 +0000 (20:53 +0000)]
(STARTFILE_SPEC): Wrap startfiles in %{!shared:}.
From-SVN: r8325
Jim Wilson [Thu, 20 Oct 1994 20:33:42 +0000 (13:33 -0700)]
(loop_iterations): Move all failure exits after the computation of final_value.
From-SVN: r8324
Jim Wilson [Thu, 20 Oct 1994 20:22:08 +0000 (13:22 -0700)]
(movdf_internal2+1): Disable when TARGET_64BIT.
From-SVN: r8323
Jim Wilson [Thu, 20 Oct 1994 20:14:46 +0000 (13:14 -0700)]
(VARARGS_STDARG_FUNCTION): New macro.
(i960_function_name_declare, output_function_profiler,
i960_function_epilogue, i960_output_call_insn, i960_output_ret_insn,
i960_reg_parm_stack_space): Use it.
(compute_frame_size): Don't use current_function_pretend_args_size.
(i960_function_arg_advance, i960_function_arg): Don't use parameter
named.
(i960_setup_incoming_varargs): No need to adjust first_reg_offset
after setting it. Don't save last named argument to stack.
Don't set pretend_size.
From-SVN: r8322
Jim Wilson [Thu, 20 Oct 1994 20:13:22 +0000 (13:13 -0700)]
(SIGNED_CHAR_SPEC): Use #if instead of ?:.
From-SVN: r8321
Jim Wilson [Thu, 20 Oct 1994 20:12:14 +0000 (13:12 -0700)]
(va_start): Use builtin_arts_info instead of builtin_next_arg.
From-SVN: r8320
Jim Wilson [Thu, 20 Oct 1994 20:06:59 +0000 (13:06 -0700)]
(merge_equiv_classes, cse_insn): Call rehash_using_reg after insert_regs.
(merge_equiv_classes, cse_insn): Call rehash_using_reg
after insert_regs.
(canon_hash): Don't use qty_const to compute hash code for a
register.
From-SVN: r8319
Richard Kenner [Thu, 20 Oct 1994 13:41:46 +0000 (09:41 -0400)]
(variable_size): Return SIZE if it contains a PLACEHOLDER_EXPR.
From-SVN: r8318
Jason Merrill [Wed, 19 Oct 1994 22:09:20 +0000 (22:09 +0000)]
(scan_prog_file): Call COLLECT_QUALIFY_MATCH to do target-specific checking of the suitability of a match.
(scan_prog_file): Call COLLECT_QUALIFY_MATCH to do
target-specific checking of the suitability of a match.
(main): Check REAL_*_FILE_NAME first.
From-SVN: r8317
Jason Merrill [Wed, 19 Oct 1994 22:09:20 +0000 (22:09 +0000)]
(NM_FLAGS): Define to "-h" (SysV output, no header).
(COLLECT_QUALIFY_MATCH): Define to ignore all symbols of types other
than code.
(REAL_NM_FILE_NAME): Define to "/bin/nm" to force use of the vendor nm.
From-SVN: r8316
Michael Meissner [Wed, 19 Oct 1994 20:51:33 +0000 (20:51 +0000)]
Fix -fpic -a problems.
From-SVN: r8315
David J. MacKenzie [Wed, 19 Oct 1994 19:55:36 +0000 (19:55 +0000)]
Add licensing exception for Autoconf.
From-SVN: r8314
Michael Meissner [Wed, 19 Oct 1994 13:43:04 +0000 (13:43 +0000)]
Do not preserve eax for -fpic in FUNCTION_BLOCK_PROFILER since it is call clobbered.
From-SVN: r8313
Michael Meissner [Wed, 19 Oct 1994 00:58:49 +0000 (00:58 +0000)]
Move block profile support to i386.h
From-SVN: r8312
Doug Evans [Wed, 19 Oct 1994 00:52:12 +0000 (00:52 +0000)]
(sparc_flat_output_function_prologue): Fix nit in assembler comment,
count regs as 4 byte registers.
From-SVN: r8311
Doug Evans [Wed, 19 Oct 1994 00:27:08 +0000 (00:27 +0000)]
sparc.c (sparc_frame_info): Combine members gp_sp_offset and fp_sp_offset into reg_offset.
* sparc.c (sparc_frame_info): Combine members gp_sp_offset and
fp_sp_offset into reg_offset. All uses changed.
(RETURN_ADDR_REGNUM): New macro.
(RETURN_ADDR_MASK, FRAME_POINTER_MASK): New macros.
(sparc_flat_compute_frame_info): Rename local mask to gmask.
Only ensure reg save area is 8 byte aligned if necessary.
(sparc_flat_save_restore): New arguments base_reg, offset, gmask,
and fmask. All callers changed. No longer use %g2 to save regs
in big stack frame.
(sparc_flat_output_function_prologue): Delete local tsize.
Reorder storing of previous frame pointer and return address reg to
make it easier for gdb to identify flat functions. Decrement %sp
twice when saving call-saved regs in big frames.
(sparc_flat_output_function_epilogue): Likewise when restoring
call-saved regs.
From-SVN: r8310
Doug Evans [Wed, 19 Oct 1994 00:25:57 +0000 (00:25 +0000)]
(FRAME_POINTER_REQUIRED): Require frame pointer if
non-leaf flat function.
From-SVN: r8309
Richard Kenner [Tue, 18 Oct 1994 23:33:35 +0000 (19:33 -0400)]
(reload): Correctly compute group additional needs when the return
register cannot be used as a spill register.
From-SVN: r8308
Richard Kenner [Tue, 18 Oct 1994 23:29:31 +0000 (19:29 -0400)]
Minor update to last change.
From-SVN: r8307
Richard Kenner [Tue, 18 Oct 1994 23:26:27 +0000 (19:26 -0400)]
Revise support for AIX 4.1 on POWER and PowerPC.
From-SVN: r8306
Richard Kenner [Tue, 18 Oct 1994 23:10:20 +0000 (19:10 -0400)]
(can_combine_p): Don't combine into CALL_INSN where DEST is a global
reg.
From-SVN: r8305
Richard Kenner [Tue, 18 Oct 1994 23:09:53 +0000 (19:09 -0400)]
(propagate_block): Call mark_used_regs to show global regs used by
call.
From-SVN: r8304
Jim Wilson [Tue, 18 Oct 1994 20:16:54 +0000 (13:16 -0700)]
(ASM_SPEC): Pass -mcpu= option to GNU as.
From-SVN: r8303
Richard Kenner [Tue, 18 Oct 1994 19:42:11 +0000 (15:42 -0400)]
(start_function): Save immediate_size_expand and initialize it to zero
in case nested function.
From-SVN: r8302
Richard Kenner [Tue, 18 Oct 1994 12:39:40 +0000 (08:39 -0400)]
Remove previous change.
(reload_{in,out}*): Replace general_operand with non_hard_reg_operand.
From-SVN: r8301
Richard Kenner [Tue, 18 Oct 1994 12:38:54 +0000 (08:38 -0400)]
(non_hard_reg_operand): New function.
From-SVN: r8300
Jason Merrill [Tue, 18 Oct 1994 06:58:28 +0000 (06:58 +0000)]
Fix comment
From-SVN: r8299
Jeff Law [Tue, 18 Oct 1994 04:14:19 +0000 (22:14 -0600)]
pa.md (reload_insi, [...]): Expanders deleted.
* pa.md (reload_insi, reload_outsi): Expanders deleted.
(reload_indf, reload_outdf, reload_indi, reload_outdi): Likewise.
(reload_insf, reload_outsf): Likewise.
From-SVN: r8298
Jason Merrill [Tue, 18 Oct 1994 00:33:02 +0000 (00:33 +0000)]
(default_compilers): Treat files with an extension of .c++
as C++ code.
From-SVN: r8297
Jim Wilson [Mon, 17 Oct 1994 23:29:38 +0000 (16:29 -0700)]
(va_arg): Add little endian mips3 support.
From-SVN: r8296
Jim Wilson [Mon, 17 Oct 1994 23:27:38 +0000 (16:27 -0700)]
(RETURN_IN_MEMORY): Return true for TCmode values.
From-SVN: r8295
Jim Wilson [Mon, 17 Oct 1994 23:22:07 +0000 (16:22 -0700)]
(function_prologue): Only emit line number when SDB_DEBUG.
From-SVN: r8294
Richard Kenner [Mon, 17 Oct 1994 23:21:51 +0000 (19:21 -0400)]
Initial revision
From-SVN: r8293