gcc.git
29 years ago(ASM_OUTPUT_SECTION_NAME): New arg DECL.
Doug Evans [Wed, 16 Nov 1994 01:02:01 +0000 (01:02 +0000)]
(ASM_OUTPUT_SECTION_NAME): New arg DECL.

From-SVN: r8461

29 years ago(named_section): New argument decl, all callers changed.
Doug Evans [Wed, 16 Nov 1994 00:53:50 +0000 (00:53 +0000)]
(named_section): New argument decl, all callers changed.

From-SVN: r8460

29 years ago(FUNCTION_VALUE): Use
Jason Merrill [Wed, 16 Nov 1994 00:48:05 +0000 (00:48 +0000)]
(FUNCTION_VALUE): Use
        POINTER_TYPE_P rather than checking the type against POINTER_TYPE
        (to include references).

From-SVN: r8459

29 years ago(init_function_start): Use
Jason Merrill [Wed, 16 Nov 1994 00:45:41 +0000 (00:45 +0000)]
(init_function_start): Use
        POINTER_TYPE_P rather than checking the type against POINTER_TYPE
        (to include references).

From-SVN: r8458

29 years agoDon't define __PTR_TO_INT and
Jason Merrill [Wed, 16 Nov 1994 00:45:41 +0000 (00:45 +0000)]
Don't define __PTR_TO_INT and
        __INT_TO_PTR.

From-SVN: r8457

29 years ago(POINTER_TYPE_P): New macro.
Jason Merrill [Wed, 16 Nov 1994 00:45:41 +0000 (00:45 +0000)]
(POINTER_TYPE_P): New macro.

From-SVN: r8456

29 years agoDefine __PTR_TO_INT and __INT_TO_PTR.
Jason Merrill [Wed, 16 Nov 1994 00:45:41 +0000 (00:45 +0000)]
Define __PTR_TO_INT and __INT_TO_PTR.

From-SVN: r8455

29 years ago(FUNCTION_VALUE): Use INTEGRAL_MODE_P rather than
Jason Merrill [Wed, 16 Nov 1994 00:45:41 +0000 (00:45 +0000)]
(FUNCTION_VALUE): Use INTEGRAL_MODE_P rather than
        checking the type against various integral and pointer types.

From-SVN: r8454

29 years ago(FUNCTION_VALUE): Use POINTER_TYPE_P rather than checking the type against POINTER_TY...
Jason Merrill [Wed, 16 Nov 1994 00:45:41 +0000 (00:45 +0000)]
(FUNCTION_VALUE): Use POINTER_TYPE_P rather than checking the type against POINTER_TYPE (to include references).

(FUNCTION_VALUE): Use
        POINTER_TYPE_P rather than checking the type against POINTER_TYPE
        (to include references).
 Don't define __PTR_TO_INT and
        __INT_TO_PTR.

From-SVN: r8453

29 years ago(relax_delay_slots): When invert a conditional jump over a single unconditional jump...
Richard Kenner [Wed, 16 Nov 1994 00:33:56 +0000 (19:33 -0500)]
(relax_delay_slots): When invert a conditional jump over a single unconditional jump...

(relax_delay_slots): When invert a conditional jump over a single
unconditional jump, invert the INSN_FROM_TARGET_P bit of insns in the
delay slots.

From-SVN: r8452

29 years ago(staticp): A non-nested function is always static.
Richard Kenner [Wed, 16 Nov 1994 00:28:56 +0000 (19:28 -0500)]
(staticp):  A non-nested function is always static.

From-SVN: r8451

29 years ago(specs, float.h-cross, xlimits.h): Use temporary instead of redirecting output direct...
Richard Kenner [Wed, 16 Nov 1994 00:17:27 +0000 (19:17 -0500)]
(specs, float.h-cross, xlimits.h): Use temporary instead of redirecting output directly to make target.

(specs, float.h-cross, xlimits.h): Use temporary instead of redirecting
output directly to make target.
($(MD_FILE), xsys-protos.h): Likewise.
(mostlyclean): Remove any of these temporaries.

From-SVN: r8450

29 years ago(libgcc2.a): Add missing semicolon in commented code that could cause
Richard Kenner [Wed, 16 Nov 1994 00:11:53 +0000 (19:11 -0500)]
(libgcc2.a): Add missing semicolon in commented code that could cause
a /bin/sh syntax error if uncommented.

From-SVN: r8449

29 years ago(NO_IMPLICIT_EXTERN_C): Define.
Richard Kenner [Wed, 16 Nov 1994 00:06:55 +0000 (19:06 -0500)]
(NO_IMPLICIT_EXTERN_C): Define.

From-SVN: r8448

29 years ago(redundant_insn): Renamed from redundant_insn_p; all callers changed.
Richard Kenner [Wed, 16 Nov 1994 00:00:32 +0000 (19:00 -0500)]
(redundant_insn): Renamed from redundant_insn_p; all callers changed.

From-SVN: r8447

29 years ago(redundant_insn_p): Change return type to rtx.
Richard Kenner [Tue, 15 Nov 1994 23:57:29 +0000 (18:57 -0500)]
(redundant_insn_p): Change return type to rtx.

(redundant_insn_p): Change return type to rtx.  Return the redundant insn
instead of true.
(update_reg_unused_notes): New function.
(fill_slots_from_thread): Call update_reg_unused_notes after one of the
redundant_insn_p calls.

From-SVN: r8446

29 years agoDeclare expand_abs.
Richard Kenner [Tue, 15 Nov 1994 23:39:21 +0000 (18:39 -0500)]
Declare expand_abs.

From-SVN: r8445

29 years ago(expand_abs): New function, code moved from expand_expr.
Richard Kenner [Tue, 15 Nov 1994 23:37:55 +0000 (18:37 -0500)]
(expand_abs): New function, code moved from expand_expr.

From-SVN: r8444

29 years ago(do_jump_by_parts_greater_rtx): No longer static.
Richard Kenner [Tue, 15 Nov 1994 23:35:35 +0000 (18:35 -0500)]
(do_jump_by_parts_greater_rtx): No longer static.

(expand_expr): Delete code for plain `abs'.

From-SVN: r8443

29 years ago(expand_divmod, case ROUND_DIV_EXPR): Implement.
Richard Kenner [Tue, 15 Nov 1994 21:50:23 +0000 (16:50 -0500)]
(expand_divmod, case ROUND_DIV_EXPR): Implement.

From-SVN: r8442

29 years agopa.c (output_cbranch): Improve code for short backwards branch with an unfilled delay...
Jeff Law [Tue, 15 Nov 1994 17:12:02 +0000 (10:12 -0700)]
pa.c (output_cbranch): Improve code for short backwards branch with an unfilled delay slot.

* pa.c (output_cbranch): Improve code for short backwards branch
with an unfilled delay slot.
(output_bb, output_dbra, output_movb): Likewise.

From-SVN: r8441

29 years ago(flow_delete_insn): New function.
Doug Evans [Tue, 15 Nov 1994 15:38:07 +0000 (15:38 +0000)]
(flow_delete_insn): New function.

(find_basic_blocks): Call it to physically delete insns in
unreachable blocks.  When scanning blocks after dead ones,
start scanning after the dead one (not at the dead one).
If there are lots of unreachable blocks, make another pass to squeeze
them out (this reduces memory usage in some pathalogical cases by a
significant amount without resorting to sparse matrices).
(propagate_block): Make code a bit more efficient (for example,
no need to test `loop_depth' for each insn, just notes).

From-SVN: r8440

29 years ago(delete_insn): Delete labels in ADDR_VECs and
Doug Evans [Tue, 15 Nov 1994 15:36:58 +0000 (15:36 +0000)]
(delete_insn): Delete labels in ADDR_VECs and
ADDR_DIFF_VECs if their use count becomes zero.

From-SVN: r8439

29 years ago(assign_stack_temp): Compute size of slot after
Doug Evans [Tue, 15 Nov 1994 14:55:15 +0000 (14:55 +0000)]
(assign_stack_temp): Compute size of slot after
assign_stack_local has accounted for alignment.

From-SVN: r8438

29 years ago* config/pa/t-pa (INSTALLED_H): Delete.
Jeff Law [Tue, 15 Nov 1994 04:59:14 +0000 (21:59 -0700)]
* config/pa/t-pa (INSTALLED_H): Delete.

From-SVN: r8437

29 years agox-pa (TAROUTOPTS): Delete.
Jeff Law [Tue, 15 Nov 1994 04:56:03 +0000 (21:56 -0700)]
x-pa (TAROUTOPTS): Delete.

* config/pa/x-pa (TAROUTOPTS): Delete.  It was an HPUX host
conditional, and x-pa is a BSD host target fragment.
(INSTALL_HEADERS): Define.
(STMP_FIXPROTO): Define.

From-SVN: r8436

29 years agopa-hiux.h: Include "pa/pa-hpux.h" and just override the CPP predefines.
Jeff Law [Tue, 15 Nov 1994 04:52:54 +0000 (21:52 -0700)]
pa-hiux.h: Include "pa/pa-hpux.h" and just override the CPP predefines.

* config/pa/pa-hiux.h: Include "pa/pa-hpux.h" and just override
the CPP predefines.
(CPP_PREDEFINES): Add -A assertions.
* config/pa/{pa1-hiux.h, pa-ghiux.h, pa1-ghiux.h}: Likewise.

From-SVN: r8435

29 years agoFixes for NextStep 3.2.
Richard Kenner [Tue, 15 Nov 1994 00:14:54 +0000 (19:14 -0500)]
Fixes for NextStep 3.2.

Fixes for NextStep 3.2.  Remove ``__const__'' from sin and cos
prototypes in ansi/math.h.  Remove keyword ``template'' from
bfd/libc.h.  Remove ``volatile'' from abort in bsd/libc.h and abort
and exit in ansi/stdlib.h.

From-SVN: r8434

29 years agoSupport paragon as i860-intel-osf1. (From RMS.)
Per Bothner [Tue, 15 Nov 1994 00:05:02 +0000 (16:05 -0800)]
Support paragon as i860-intel-osf1.  (From RMS.)

From-SVN: r8433

29 years ago(INCLUDE_DEFAULTS): Move definition beyond FREEBSD_NATIVE conditional.
Richard Kenner [Mon, 14 Nov 1994 23:48:17 +0000 (18:48 -0500)]
(INCLUDE_DEFAULTS): Move definition beyond FREEBSD_NATIVE conditional.

(FUNCTION_PROFILER): Move down to make file more similar to netbsd-i386.h.
(DEFAULT_TARGET_MACHINE, etc): Comment our this braindamage!

From-SVN: r8432

29 years ago(expand_call): If IS_CONST and VALREG == 0, end our sequence and emit
Richard Kenner [Mon, 14 Nov 1994 23:46:08 +0000 (18:46 -0500)]
(expand_call): If IS_CONST and VALREG == 0, end our sequence and emit
the insns.

From-SVN: r8431

29 years ago(expand_divmod, case TRUNC_DIV_EXPR): Promote signed division by
Richard Kenner [Sat, 12 Nov 1994 11:35:09 +0000 (06:35 -0500)]
(expand_divmod, case TRUNC_DIV_EXPR): Promote signed division by
0x80000000 to unsigned.

From-SVN: r8430

29 years ago(assign_stack_temp): Always initialize p->rtl_expr.
Richard Kenner [Fri, 11 Nov 1994 23:55:49 +0000 (18:55 -0500)]
(assign_stack_temp): Always initialize p->rtl_expr.

From-SVN: r8429

29 years ago(duplicate_decls): Properly merge decls with differing DECL_CONTEXT.
Richard Kenner [Fri, 11 Nov 1994 22:53:39 +0000 (17:53 -0500)]
(duplicate_decls): Properly merge decls with differing DECL_CONTEXT.

From-SVN: r8428

29 years ago(preserve_rtl_expr_result): find_temp_slot_from_address now used.
Richard Kenner [Fri, 11 Nov 1994 22:37:45 +0000 (17:37 -0500)]
(preserve_rtl_expr_result): find_temp_slot_from_address now used.

Don't bring the temp slot to an inner level than it was.

From-SVN: r8427

29 years ago(decl_attributes): Add double-underscore version of printf and scanf
Richard Kenner [Fri, 11 Nov 1994 22:07:25 +0000 (17:07 -0500)]
(decl_attributes): Add double-underscore version of printf and scanf
for format type.

From-SVN: r8426

29 years agoInclude <time.h>. Delete ctime prototype.
Richard Kenner [Fri, 11 Nov 1994 21:37:59 +0000 (16:37 -0500)]
Include <time.h>.  Delete ctime prototype.

From-SVN: r8425

29 years ago(movsi+1): Allow r->m move during reloading.
Richard Kenner [Fri, 11 Nov 1994 19:15:49 +0000 (14:15 -0500)]
(movsi+1): Allow r->m move during reloading.

From-SVN: r8424

29 years agoJeff for Tege:
Jeff Law [Fri, 11 Nov 1994 06:11:14 +0000 (23:11 -0700)]
Jeff for Tege:

* pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow
(lo_sum (reg) (unspec (symref))).

* pa.md (pic2_lo_sum): New pattern matching when -fPIC using UNSPEC.
* pa.c (legitimize_pic_address): Generate an insn matching
pic2_lo_sum when -fPIC.

* pa.md (pic_highpart): Add missing mode for PLUS.
(add_high_const): Likewise.

* pa.md (matcher for plain lo_sum): Call abort if this happens
when generating pic or PIC.

From-SVN: r8423

29 years ago* Automatic generation of inline long call sequences when needed.
Jeff Law [Fri, 11 Nov 1994 04:53:33 +0000 (21:53 -0700)]
* Automatic generation of inline long call sequences when needed.

* pa.h (TARGET_LONG_CALLS): Delete.  Replace all uses of with
TARGET_PORTABLE_RUNTIME.
(TARGET_MILLICODE_LONG_CALLS): New target flag.
* pa.c (output_function_prologue): Keep track of the total number
of code bytes emitted for each source file.
(output_call): Handle TARGET_PORTABLE_RUNTIME and millicode calls
for TARGET_MILLICODE_LONG_CALLS.  Emit an inline long-call if
needed.  If emitting an inline long-call, perform argument relocations
before the call if they are needed, unfill the delay slot of the
call if necessary.
* pa.md (define_delay for millicode): Disable the delay slot if
TARGET_MILLICODE_LONG_CALLS.
(millicode insns and indirect calls): Properly compute length for
both TARGET_PORTABLE_RUNTIME and TARGET_MILLICODE_LONG_CALLS.
(call_internal_symref): Properly compute the length when more
than 240000 bytes of code have already been output.  Take
TARGET_MILLICODE_LONG_CALLS into account in the length
computation.

From-SVN: r8422

29 years agopa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
Jeff Law [Fri, 11 Nov 1994 04:41:55 +0000 (21:41 -0700)]
pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.

* pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
(ASM_FILE_END): Delete unneeded definition.

From-SVN: r8421

29 years ago* Fast indirect call support.
Jeff Law [Fri, 11 Nov 1994 04:38:40 +0000 (21:38 -0700)]
* Fast indirect call support.

* pa.h (TARGET_FAST_INDIRECT_CALLS): New target switch.
(TARGET_SWITCHES): Add "fast-indirect-calls" and inverse.
* pa.md (call_internal_reg, call_value_internal_reg): Generate
appropriate code for TARGET_FAST_INDIRECT_CALLS.

From-SVN: r8420

29 years ago* PA PIC support.
Jeff Law [Fri, 11 Nov 1994 04:33:43 +0000 (21:33 -0700)]
* PA PIC support.

* pa.c (secondary_reload_class): Refine.  Readonly data needs a
secondary reload only during PIC generation.  Loading a floating
point register with a constant requires a register from R1_REGS
during -fPIC code generation.
(read_only_operand): Constant pool entries are no longer read only
during PIC code generation.
(hppa_legitimize_address): If flag_pic is nonzero, then
immediately call legitimize_pic_address.
(emit_move_sequence): Call legitimize_pic_address to handle
constant data.  Handle secondary reloads for PIC.  Use
pic_label_operand rather than open coding the test.  Handle
loading a LABEL_REF when generating PIC.
(legitimzie_pic_address): Handle constant data addressing for PIC
here.   Fix loading of symbolic addresses for -fPIC generation.
(pic_label_operand): Renamed from pic_operand.  Handle any read
only operand (such as constant data).  Reject function addresses,
Accept SYMBOL_REF with the read-only bit set.  Generalize to
handle (const (plus (reg) (int))).
(finalize_pic): Delete unused function.
(check_pic): Delete function.
(pic_pc_rtx): Delete variable definition.
(current_function_uses_pic_offset_table): Delete extern decl.
(force_reg, validize_mem): Likewise.
        (output_global_address): Don't tack on "-$global$" when generating
        PIC code.
(finalize_pic): Don't emit code for initialization of
hppa_save_pic_table_rtx here.  Don't claim we USE
pic_offset_table_rtx at function end.
* pa.h (SELECT_RTX_SECTION): Define.  During PIC generation
everything (in the constant pool) goes into the data space.
(PRINT_OPERAND_ADDRESS): Handle CONST_INTs during PIC
generation.  Handle LO_SUM address during -fPIC generation.
(LEGITIMATE_CONSTANT_P): Reject function labels when generating
PIC code.
(GO_IF_LEGITIMATE_ADDRESS): Only accept pic_reg + SYMBOL_REF for
-fpic.
(EXTRA_SECTION_FUNCTIONS): For -fpic, use the TEXT section for
constants to avoid GAS lossage.
(OVERRIDE_OPTIONS): Delete.
(PIC_OFFSET_TABLE_REG_CALL_CLOBBERED): Define.
(FINALIZE_PIC): Delete definition.
(INIT_EXPANDERS): Define.  Clear hppa_save_pic_table_rtx here.
* pa.md: Use !flag_pic rather than calling check_pic.
(HImode high and lo_sum): Only accept const_int_operands.
(pic_load_label): Force output to be in %r1.
(pic_highpart): New pattern.  Output must go into %r1.  More
linker trickery.
(symbolic high and lo_sum): Disallow during PIC generation if
source is a symbolic operand.  Handle CONST_INT LO_SUM during PIC
generation.  Simplify.
(define_split for symbolic_operand load): Do not accept a symbolic
operand that is a pic_label_operand.
(pic_load_label): Name this pattern.  Mask least significant bits
and optimize when a simple label is within reach of an ldo.
(call, call_value): Emit new-style USE information for
pic_offset_table_rtx.  Emit code for initialization of
hppa_save_pic_table_rtx and wrap it into push_topmost_sequence()
and pop_topmost_sequence() calls.

From-SVN: r8419

29 years ago(FUNCTION_{PRO,EPI}LOGUE): No longer defined.
Richard Kenner [Fri, 11 Nov 1994 00:12:45 +0000 (19:12 -0500)]
(FUNCTION_{PRO,EPI}LOGUE): No longer defined.

(FUNCTION_EXTRA_EPILOGUE): Define.

From-SVN: r8418

29 years ago(REGISTER_PREFIX, IMMEDIATE_PREFIX): Define.
Richard Kenner [Fri, 11 Nov 1994 00:12:24 +0000 (19:12 -0500)]
(REGISTER_PREFIX, IMMEDIATE_PREFIX): Define.

From-SVN: r8417

29 years ago(output_function_epilogue): Use a1 as scratch, not a0.
Richard Kenner [Fri, 11 Nov 1994 00:11:48 +0000 (19:11 -0500)]
(output_function_epilogue): Use a1 as scratch, not a0.

From-SVN: r8416

29 years ago(FUNCTION_{PRO,EPI}LOGUE): Add code to adjust stack when no frame
Richard Kenner [Fri, 11 Nov 1994 00:11:24 +0000 (19:11 -0500)]
(FUNCTION_{PRO,EPI}LOGUE): Add code to adjust stack when no frame
pointer.

From-SVN: r8415

29 years ago(CLIB): Add -lPW.
Richard Kenner [Thu, 10 Nov 1994 23:44:33 +0000 (18:44 -0500)]
(CLIB): Add -lPW.

(ALLOCA): Delete.

From-SVN: r8414

29 years agoMake argument type const for popen and tempnam in stdio.h and for
Richard Kenner [Thu, 10 Nov 1994 23:37:50 +0000 (18:37 -0500)]
Make argument type const for popen and tempnam in stdio.h and for
strdup in string.h, for OSF/1 V3.0.

From-SVN: r8413

29 years ago(decl_attributes): Check for attributes with leading and trailing
Richard Kenner [Thu, 10 Nov 1994 23:02:50 +0000 (18:02 -0500)]
(decl_attributes): Check for attributes with leading and trailing
double underscores.

From-SVN: r8412

29 years ago(va_arg): Add cast to void * to suppress warning.
Richard Kenner [Thu, 10 Nov 1994 22:55:03 +0000 (17:55 -0500)]
(va_arg): Add cast to void * to suppress warning.

From-SVN: r8411

29 years ago(FUNCTION_{PRO,EPI}LOGUE): Don't define.
Richard Kenner [Thu, 10 Nov 1994 22:48:15 +0000 (17:48 -0500)]
(FUNCTION_{PRO,EPI}LOGUE): Don't define.

(IMMEDIATE_PREFIX, REGISTER_PREFIX): Define.

From-SVN: r8410

29 years ago({print,scan}_char_table): Allow `L' modifier for integer output formats.
Richard Kenner [Thu, 10 Nov 1994 20:55:49 +0000 (15:55 -0500)]
({print,scan}_char_table): Allow `L' modifier for integer output formats.

(check_format_info): Treat `ll' like `q'.

From-SVN: r8409

29 years ago(movsi): In TOC symbol case, use "la" for PowerPC.
Richard Kenner [Thu, 10 Nov 1994 20:41:50 +0000 (15:41 -0500)]
(movsi): In TOC symbol case, use "la" for PowerPC.

(movdi): Handle TOC symbol just like movsi.

From-SVN: r8408

29 years ago(init_objc): Add missing casts to args of bcopy.
Richard Kenner [Thu, 10 Nov 1994 20:07:16 +0000 (15:07 -0500)]
(init_objc): Add missing casts to args of bcopy.

From-SVN: r8407

29 years ago(lang_init): Ensure line number is 0, not -1.
Richard Kenner [Thu, 10 Nov 1994 20:04:44 +0000 (15:04 -0500)]
(lang_init): Ensure line number is 0, not -1.

From-SVN: r8406

29 years ago(dump_single_macro, dump_defn_1): If -traditional, dump macros in traditional style.
Richard Kenner [Tue, 8 Nov 1994 12:27:24 +0000 (07:27 -0500)]
(dump_single_macro, dump_defn_1): If -traditional, dump macros in traditional style.

(dump_single_macro, dump_defn_1): If -traditional, dump macros in
traditional style.  This also avoids a bogus error message if the
macro uses traditional stringizing.

From-SVN: r8405

29 years ago[!POSIX]: Only define O_RDONLY and O_WRONLY if they are not already
Michael Bushnell [Tue, 8 Nov 1994 02:29:16 +0000 (02:29 +0000)]
[!POSIX]: Only define O_RDONLY and O_WRONLY if they are not already
defined for us.

From-SVN: r8404

29 years ago(try_combine): Update split_code after converting MULT
Jim Wilson [Tue, 8 Nov 1994 00:31:46 +0000 (16:31 -0800)]
(try_combine): Update split_code after converting MULT
to ASHIFT.

From-SVN: r8403

29 years ago(subdi3): Delete % from constraints.
Torbjorn Granlund [Mon, 7 Nov 1994 22:52:31 +0000 (22:52 +0000)]
(subdi3): Delete % from constraints.

From-SVN: r8402

29 years ago(one_cmplsi2): Fix typo in NOT mode.
Torbjorn Granlund [Mon, 7 Nov 1994 22:52:16 +0000 (22:52 +0000)]
(one_cmplsi2): Fix typo in NOT mode.

From-SVN: r8401

29 years ago(mulqi3): Fix typo in MULT mode.
Torbjorn Granlund [Mon, 7 Nov 1994 22:51:50 +0000 (22:51 +0000)]
(mulqi3): Fix typo in MULT mode.

From-SVN: r8400

29 years ago(subqi3): Delete % from constraints.
Torbjorn Granlund [Mon, 7 Nov 1994 22:51:21 +0000 (22:51 +0000)]
(subqi3): Delete % from constraints.

From-SVN: r8399

29 years ago(DImode load-with-update matcher): Fix typo in MEM mode.
Torbjorn Granlund [Mon, 7 Nov 1994 22:49:32 +0000 (22:49 +0000)]
(DImode load-with-update matcher): Fix typo in MEM mode.

(compare patterns): Fix several typos, SImode => CCmode.

From-SVN: r8398

29 years ago(ASM_IDENTIFY_GCC): Use proper definition for SGS assembler.
Richard Kenner [Mon, 7 Nov 1994 17:47:31 +0000 (12:47 -0500)]
(ASM_IDENTIFY_GCC): Use proper definition for SGS assembler.

From-SVN: r8397

29 years ago(process_command): Ignore LIBRARY_PATH and LPATH if cross-compiler.
Richard Kenner [Mon, 7 Nov 1994 16:02:15 +0000 (11:02 -0500)]
(process_command): Ignore LIBRARY_PATH and LPATH if cross-compiler.

From-SVN: r8396

29 years ago(PREFERRED_RELOAD_CLASS): FP constants rejected by 'G' are OK for
Richard Kenner [Sat, 5 Nov 1994 19:25:31 +0000 (14:25 -0500)]
(PREFERRED_RELOAD_CLASS): FP constants rejected by 'G' are OK for
class FP_REGS.

From-SVN: r8395

29 years ago(store_one_arg): Preserve any temp slots whose address may have been
Richard Kenner [Sat, 5 Nov 1994 19:22:12 +0000 (14:22 -0500)]
(store_one_arg): Preserve any temp slots whose address may have been
taken.

From-SVN: r8394

29 years ago({save,restore}_386_machine_status): Cast args to bcopy to char *.
Richard Kenner [Sat, 5 Nov 1994 19:08:24 +0000 (14:08 -0500)]
({save,restore}_386_machine_status): Cast args to bcopy to char *.

From-SVN: r8393

29 years ago(subst_asm_stack_regs): Cast args to bcopy to char *.
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

29 years ago(reload): Cast args to bcopy to char *.
Richard Kenner [Sat, 5 Nov 1994 19:03:27 +0000 (14:03 -0500)]
(reload): Cast args to bcopy to char *.

From-SVN: r8391

29 years ago(GET_REAL, PUT_REAL): Cast args to bcopy to char *.
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

29 years ago(rescan): Do not preserve newlines after macro name if rescanning a macro expansion.
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

29 years ago(VMS_TARGET): Define.
Richard Kenner [Fri, 4 Nov 1994 22:25:24 +0000 (17:25 -0500)]
(VMS_TARGET): Define.

From-SVN: r8388

29 years agoInclude tree.h and VMS-specific functions #ifdef VMS_TARGET.
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

29 years ago(bc_emit_bytecode): Add missing cast.
Richard Kenner [Fri, 4 Nov 1994 21:31:59 +0000 (16:31 -0500)]
(bc_emit_bytecode): Add missing cast.

From-SVN: r8386

29 years ago(main): Cast enum to char in output.
Richard Kenner [Fri, 4 Nov 1994 21:31:17 +0000 (16:31 -0500)]
(main): Cast enum to char in output.

From-SVN: r8385

29 years ago(c-parse.o, c-lex.o): c-parse.h is in $(srcdir).
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

29 years agoMakefile.in (spew.o, [...]): Depend on $(srcdir)/parse.h, not parse.h.
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

29 years ago(spew.o, lex.o, pt.o): Depend on $(srcdir)/parse.h, not parse.h.
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

29 years ago(EXTRA_CONSTRAINT): 'R' matches a SYMBOL_REF for TOC entry.
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

29 years ago(print_operand): New code '*' to print TOC register number.
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

29 years ago(movsi): New alternative for SYMBOL_REF source operand.
Richard Kenner [Thu, 3 Nov 1994 23:09:09 +0000 (18:09 -0500)]
(movsi): New alternative for SYMBOL_REF source operand.

From-SVN: r8379

29 years agoTOOL_INCLUDE_DIR is not C++-aware.
Richard Kenner [Thu, 3 Nov 1994 23:03:09 +0000 (18:03 -0500)]
TOOL_INCLUDE_DIR is not C++-aware.

From-SVN: r8378

29 years ago(mips_output_external): Exclude alloca from list of used external
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

29 years ago(add_high_const): Add missing mode for PLUS.
Richard Kenner [Tue, 1 Nov 1994 23:50:47 +0000 (18:50 -0500)]
(add_high_const): Add missing mode for PLUS.

From-SVN: r8376

29 years ago(simplify_unary_operation, case TRUNCATE): Set LV and HV.
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

29 years ago(struct extern_list): Put code back outside of #ifdef VMS.
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

29 years ago(*-unknown-freebsd): Remove [-(] from UNAME_RELEASE.
Per Bothner [Tue, 1 Nov 1994 19:27:21 +0000 (11:27 -0800)]
(*-unknown-freebsd):  Remove [-(] from UNAME_RELEASE.

From-SVN: r8373

29 years ago(movsf...
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

29 years ago(GO_IF_LEGITIMATE_ADDRESS): Don't allow TFmode LO_SUM.
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

29 years ago(movtf+3): Disable pattern.
Jim Wilson [Mon, 31 Oct 1994 18:24:39 +0000 (10:24 -0800)]
(movtf+3): Disable pattern.

From-SVN: r8370

29 years ago(expand_expr, COND_EXPR case): Don't use original target as a temp if it's a volatile...
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

29 years ago(ASM_GLOBALIZE_LABEL): Pass new args to vms_check_external.
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

29 years agoInclude tree.h #ifdef VMS.
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

29 years ago(TARGET_SWITCHES): Add -split and -no-split.
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

29 years agoUpdate comments.
Richard Kenner [Mon, 31 Oct 1994 13:00:34 +0000 (08:00 -0500)]
Update comments.

From-SVN: r8365

29 years ago(mark_set_resources): Properly handle SUBREGs.
Richard Kenner [Mon, 31 Oct 1994 12:49:04 +0000 (07:49 -0500)]
(mark_set_resources): Properly handle SUBREGs.

From-SVN: r8364

29 years ago(preserve_temp_slots): Preserve anything whose address was taken when
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

29 years ago(expand_expr, case COMPONENT_REF): Don't extract field from a CONSTRUCTOR if it alrea...
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