platform/upstream/gcc.git
30 years ago(init_stmt_for_function): Clear stack_block_stack.
Richard Kenner [Fri, 25 Mar 1994 17:57:53 +0000 (12:57 -0500)]
(init_stmt_for_function): Clear stack_block_stack.

From-SVN: r6867

30 years ago(reload): Fix error in last change; only check against group reloads
Richard Kenner [Fri, 25 Mar 1994 17:46:42 +0000 (12:46 -0500)]
(reload): Fix error in last change; only check against group reloads
and check all reloads.

From-SVN: r6866

30 years ago(v_pedwarn_with_decl): Don't cause compilation to fail
Doug Evans [Thu, 24 Mar 1994 18:19:27 +0000 (18:19 +0000)]
(v_pedwarn_with_decl): Don't cause compilation to fail
from pedantic errors in system header files.

From-SVN: r6865

30 years agoAdd case for Bull dpx20.
Richard Kenner [Thu, 24 Mar 1994 10:58:02 +0000 (05:58 -0500)]
Add case for Bull dpx20.

From-SVN: r6864

30 years ago(CPP_PREDEFINES): Fix typo.
Frederic Pierresteguy [Thu, 24 Mar 1994 08:05:32 +0000 (09:05 +0100)]
(CPP_PREDEFINES): Fix typo.

From-SVN: r6863

30 years ago(reload): Fix error in last change; compute MODE before it's used.
Richard Kenner [Thu, 24 Mar 1994 01:10:41 +0000 (20:10 -0500)]
(reload): Fix error in last change; compute MODE before it's used.

From-SVN: r6862

30 years ago(dbxout_parms): For parameter living in psuedo-reg that
Jim Wilson [Wed, 23 Mar 1994 23:56:41 +0000 (15:56 -0800)]
(dbxout_parms): For parameter living in psuedo-reg that
was optimized away, use declared type instead of passed type.

From-SVN: r6861

30 years ago(get_condition): Exit if we don't recognize SET_SRC of a SET that
Richard Kenner [Wed, 23 Mar 1994 23:54:09 +0000 (18:54 -0500)]
(get_condition): Exit if we don't recognize SET_SRC of a SET that
modifies OP0.

From-SVN: r6860

30 years ago30th Cygnus<->FSF merge.
Mike Stump [Wed, 23 Mar 1994 23:33:53 +0000 (23:33 +0000)]
30th Cygnus<->FSF merge.

From-SVN: r6859

30 years ago(mips_asm_file_start): Add comment on TARGET_GP_OPT code.
Jim Wilson [Wed, 23 Mar 1994 22:28:28 +0000 (14:28 -0800)]
(mips_asm_file_start): Add comment on TARGET_GP_OPT code.

From-SVN: r6858

30 years ago(simplify_rtx, case FLOAT_TRUNCATE): Simplify
Richard Kenner [Wed, 23 Mar 1994 22:28:26 +0000 (17:28 -0500)]
(simplify_rtx, case FLOAT_TRUNCATE): Simplify
case of (float_truncate (abs (float_extend X))).

From-SVN: r6857

30 years ago(va_start): Add call to builtin_next_arg.
Jim Wilson [Wed, 23 Mar 1994 22:20:35 +0000 (14:20 -0800)]
(va_start): Add call to builtin_next_arg.

From-SVN: r6856

30 years ago(va_start): Pass LASTARG as a parameter to
Jim Wilson [Wed, 23 Mar 1994 22:19:23 +0000 (14:19 -0800)]
(va_start): Pass LASTARG as a parameter to
builtin_next_arg.

From-SVN: r6855

30 years ago(expand_builtin, BUILT_IN_NEXT_ARG case): Verify that
Jim Wilson [Wed, 23 Mar 1994 22:16:55 +0000 (14:16 -0800)]
(expand_builtin, BUILT_IN_NEXT_ARG case): Verify that
parameter is last named argument.

From-SVN: r6854

30 years ago(init_decl_processing): Change builtin_next_arg type so
Jim Wilson [Wed, 23 Mar 1994 22:15:56 +0000 (14:15 -0800)]
(init_decl_processing): Change builtin_next_arg type so
that it accepts any parameter instead of none.

From-SVN: r6853

30 years agoChange rfg's address.
Richard Kenner [Wed, 23 Mar 1994 21:57:20 +0000 (16:57 -0500)]
Change rfg's address.

From-SVN: r6852

30 years ago(override_options): Delete unnecessary accidental comment.
Jim Wilson [Wed, 23 Mar 1994 00:04:49 +0000 (16:04 -0800)]
(override_options): Delete unnecessary accidental comment.

From-SVN: r6851

30 years ago(movsi): Add special handling for constants which are illegal addresses when pic.
Jim Wilson [Wed, 23 Mar 1994 00:03:38 +0000 (16:03 -0800)]
(movsi): Add special handling for constants which are illegal addresses when pic.

(movsi): Add special handling for constants which are
illegal addresses when pic.
(tablejump_internal1, tablejump_internal2): Emit .cpadd when
TARGET_ABICALLS.  Adjust length to include .cpadd.

From-SVN: r6850

30 years ago(GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG plus CONST_INT addresses...
Jim Wilson [Wed, 23 Mar 1994 00:03:04 +0000 (16:03 -0800)]
(GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG plus CONST_INT addresses by deleting an else.

(GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG
plus CONST_INT addresses by deleting an else.
(CONSTANT_ADDRESS_P): When pic, don't accept addresses which are
symbol_ref plus a large integer.
(LEGITIMATE_PIC_OPERAND_P): Likewise.
(LEGITIMIZE_ADDRESS): When pic, convert addresses which are
symbol_reg plus a large integer, to reg plus a large integer.
(ASM_OUTPUT_ADDR_DIFF_ELT): Use .gpword instead of subtracting
labels.

From-SVN: r6849

30 years ago(pic_address_needs_scratch): New function.
Jim Wilson [Wed, 23 Mar 1994 00:02:25 +0000 (16:02 -0800)]
(pic_address_needs_scratch): New function.

(override_options): Set flag_pic when TARGET_ABICALLS.

From-SVN: r6848

30 years ago(MIPS_DEFAULT_GVALUE): Define to zero.
Jim Wilson [Wed, 23 Mar 1994 00:01:58 +0000 (16:01 -0800)]
(MIPS_DEFAULT_GVALUE): Define to zero.

From-SVN: r6847

30 years ago(TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when TARGET_ABICALLS.
Jim Wilson [Tue, 22 Mar 1994 23:57:28 +0000 (15:57 -0800)]
(TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when TARGET_ABICALLS.

(TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when
TARGET_ABICALLS.  Delete padding for 64 bit case.  Adjust offsets.
(TRAMPOLINE_SIZE): Increase from 9 to 10 words for 32 bit case.
(INITIALIZE_TRAMPOLINE): Increase offsets by 4 bytes for 32 bit case.

From-SVN: r6846

30 years agoProvide HANDLE_PRAGMA_WEAK and ASM_OUTPUT_DEF.
Michael Meissner [Tue, 22 Mar 1994 20:50:40 +0000 (20:50 +0000)]
Provide HANDLE_PRAGMA_WEAK and ASM_OUTPUT_DEF.

From-SVN: r6845

30 years agoMake sstring buf extern (rather than "common").
Per Bothner [Tue, 22 Mar 1994 00:04:34 +0000 (16:04 -0800)]
Make sstring buf extern (rather than "common").

From-SVN: r6844

30 years ago(preserve_temp_slots): If argument is REG, see if it is address of a
Richard Kenner [Mon, 21 Mar 1994 22:15:32 +0000 (17:15 -0500)]
(preserve_temp_slots): If argument is REG, see if it is address of a
temp slot we know about.

From-SVN: r6843

30 years ago(expand_expr, case ADDR_EXPR): Update temp slot address if we put it
Richard Kenner [Mon, 21 Mar 1994 22:14:41 +0000 (17:14 -0500)]
(expand_expr, case ADDR_EXPR): Update temp slot address if we put it
in a register; mark result as pointer.

From-SVN: r6842

30 years ago(source_label_number): New variable.
Jim Wilson [Mon, 21 Mar 1994 22:08:57 +0000 (14:08 -0800)]
(source_label_number): New variable.

(dbxout_source_file): Use it.  Output an Ltext label.

From-SVN: r6841

30 years ago(duplicate_decls): When pedantic, warn when any static
Jim Wilson [Mon, 21 Mar 1994 22:07:03 +0000 (14:07 -0800)]
(duplicate_decls): When pedantic, warn when any static
declaraction follows a non-static.

From-SVN: r6840

30 years ago(seq, sne, sgt, slt, sge, sle): Add support for
Jim Wilson [Mon, 21 Mar 1994 22:05:05 +0000 (14:05 -0800)]
(seq, sne, sgt, slt, sge, sle): Add support for
!TARGET_HARD_QUAD.

From-SVN: r6839

30 years ago(reload): More accurately compute nongroup needs.
Richard Kenner [Mon, 21 Mar 1994 21:58:47 +0000 (16:58 -0500)]
(reload): More accurately compute nongroup needs.

(reloads_conflict): New function.

From-SVN: r6838

30 years ago(__builtin_saveregs): Fix return type.
Doug Evans [Mon, 21 Mar 1994 21:20:56 +0000 (21:20 +0000)]
(__builtin_saveregs): Fix return type.

From-SVN: r6837

30 years ago(FIXED_REGNO_P): Treate global regs as fixed.
Richard Kenner [Mon, 21 Mar 1994 12:36:48 +0000 (07:36 -0500)]
(FIXED_REGNO_P): Treate global regs as fixed.

(CHEAP_REGNO): Renamed from CHEAP_REG.
(CHEAP_REG): New macro; user var in hard reg is cheap.
(COST): Pass RTL to CHEAP_REG, not regno.
(rtx_cost, case REG): Likewise.

From-SVN: r6836

30 years ago(PRINT_OPERAND): Print float infinity and NaN's as +/-99e999.
Richard Kenner [Mon, 21 Mar 1994 00:38:40 +0000 (19:38 -0500)]
(PRINT_OPERAND): Print float infinity and NaN's as +/-99e999.

From-SVN: r6835

30 years ago(ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a quadword boundary...
Richard Kenner [Sun, 20 Mar 1994 22:42:01 +0000 (17:42 -0500)]
(ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a quadword boundary...

(ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a
quadword boundary, to avoid alignment problems with native nm on
OSF1/1.3 and higher.

From-SVN: r6834

30 years ago(update_headers): Align symbol table sections, using ALIGN_SYMTABLE_OFFSET.
Richard Kenner [Sun, 20 Mar 1994 22:41:13 +0000 (17:41 -0500)]
(update_headers): Align symbol table sections, using ALIGN_SYMTABLE_OFFSET.

(update_headers): Align symbol table sections, using
ALIGN_SYMTABLE_OFFSET. Provide a default definition which does no
alignment.

From-SVN: r6833

30 years ago(try_split): Rename third parameter as LAST.
Richard Kenner [Sun, 20 Mar 1994 11:50:18 +0000 (06:50 -0500)]
(try_split): Rename third parameter as LAST.

(try_split): Rename third parameter as LAST.  Recursively call
try_split for each new insn created.

From-SVN: r6832

30 years ago(mark_used_regs_combine): Correct typo.
Richard Kenner [Sun, 20 Mar 1994 11:38:17 +0000 (06:38 -0500)]
(mark_used_regs_combine): Correct typo.

From-SVN: r6831

30 years ago(CHECK_FLOAT_VALUE): Add missing continuation character.
Richard Kenner [Sun, 20 Mar 1994 11:28:18 +0000 (06:28 -0500)]
(CHECK_FLOAT_VALUE): Add missing continuation character.

From-SVN: r6830

30 years ago(build_real): Add `overflow' var; pass to CHECK_FLOAT_VALUE.
Richard Kenner [Sun, 20 Mar 1994 11:27:53 +0000 (06:27 -0500)]
(build_real): Add `overflow' var; pass to CHECK_FLOAT_VALUE.

From-SVN: r6829

30 years ago(attrib): Use `identifier' instead of `IDENTIFIER' since names that
Richard Kenner [Sat, 19 Mar 1994 23:02:29 +0000 (18:02 -0500)]
(attrib): Use `identifier' instead of `IDENTIFIER' since names that
are (e.g.) typedef names are still OK.

From-SVN: r6828

30 years ago(expand_expr, case ABS_EXPR): Fix typo in last change.
Jim Wilson [Sat, 19 Mar 1994 22:43:50 +0000 (14:43 -0800)]
(expand_expr, case ABS_EXPR): Fix typo in last change.

From-SVN: r6827

30 years ago(newpat_used_regs): New variable.
Richard Kenner [Sat, 19 Mar 1994 22:13:23 +0000 (17:13 -0500)]
(newpat_used_regs): New variable.

(mark_used_regs_combine): New function.
(try_combine): Use them.
(reg_dead_at_p): Registers marked in newpat_used_regs must always be
considered to be live.

From-SVN: r6826

30 years ago(GO_IF_INDEXABLE_BASE): Make compatible with m68k.h.
Richard Kenner [Sat, 19 Mar 1994 13:44:44 +0000 (08:44 -0500)]
(GO_IF_INDEXABLE_BASE): Make compatible with m68k.h.

From-SVN: r6825

30 years ago(output_epilogue, insn_names): Write correct names for patterns before
Richard Kenner [Sat, 19 Mar 1994 13:35:45 +0000 (08:35 -0500)]
(output_epilogue, insn_names): Write correct names for patterns before
first named pattern.

From-SVN: r6824

30 years ago(SELECT_SECTION): Fix typo (arg names) in last change.
Richard Kenner [Sat, 19 Mar 1994 12:13:32 +0000 (07:13 -0500)]
(SELECT_SECTION): Fix typo (arg names) in last change.

From-SVN: r6823

30 years ago(grokdeclarator): Use signed version of `sizetype' for type of array
Richard Kenner [Sat, 19 Mar 1994 11:29:25 +0000 (06:29 -0500)]
(grokdeclarator): Use signed version of `sizetype' for type of array
index.

From-SVN: r6822

30 years ago(const_binop): Avoid initialized aggregate local variables, for
Richard Kenner [Sat, 19 Mar 1994 11:25:26 +0000 (06:25 -0500)]
(const_binop): Avoid initialized aggregate local variables, for
antique compilers.

From-SVN: r6821

30 years ago(SELECT_SECTION): Variables go in readonly data
Jim Wilson [Fri, 18 Mar 1994 23:43:00 +0000 (15:43 -0800)]
(SELECT_SECTION): Variables go in readonly data
only if the initializer is constant.

From-SVN: r6820

30 years ago(assemble_variable): Likewise.
Jim Wilson [Fri, 18 Mar 1994 23:31:17 +0000 (15:31 -0800)]
(assemble_variable): Likewise.

From-SVN: r6819

30 years ago(HARD_REGNO_MODE_OK): Allow DImode in FP registers.
Richard Kenner [Fri, 18 Mar 1994 22:53:28 +0000 (17:53 -0500)]
(HARD_REGNO_MODE_OK): Allow DImode in FP registers.

(CONDITIONAL_REGISTER_USAGE): Delete ppcas mention from comment.
(RTX_COSTS): Costs based upon processor_type enum.

From-SVN: r6818

30 years ago(common_mode_defined): New variable.
Richard Kenner [Fri, 18 Mar 1994 22:53:04 +0000 (17:53 -0500)]
(common_mode_defined): New variable.

(output_prolog): Define external common-mode calls.

From-SVN: r6817

30 years ago(divmodsi4, udivsi3, divsi3, udivmodsi4): Add AIX common-mode cases.
Richard Kenner [Fri, 18 Mar 1994 22:52:27 +0000 (17:52 -0500)]
(divmodsi4, udivsi3, divsi3, udivmodsi4): Add AIX common-mode cases.

(mulh_call, mull_call, divss_call, divus_call, quoss_call, quous_call):
AIX common-mode call patterns.
(ashlsi3): More TARGET_POWERPC to ! TARGET_POWER changes.
(addsf3, subsf3, mulsf3, divsf3, etc.): Change TARGET_POWER
to ! TARGET_POWERPC.
(fix_truncdfsi2): Use POWER/2 and PowerPC FP convert instruction.
(fpcvtsi): New pattern.
(mulsidi3): Add AIX common-mode case, add imul attribute to POWER
pattern, add PowerPC pattern, flag input operands as commutative.
(smulsi3_highpart): Add AIX common-mode case.
(movsi matcher): Add mtjmpr attribute to ! TARGET_POWER case.
(movsf): Clean up load from memory or integer register test.
(movdi matcher): Add FP register support.
(smulsi3_highpart): New patterns.
(umulsi3_highpart_power): New pattern.

From-SVN: r6816

30 years ago(SELECT_RTX_SECTION): Add.
Jim Wilson [Fri, 18 Mar 1994 20:47:03 +0000 (12:47 -0800)]
(SELECT_RTX_SECTION): Add.

(ASM_SPEC): Pass -K to assembler when PIC.

From-SVN: r6815

30 years ago(SELECT_RTX_SECTION): Delete.
Jim Wilson [Fri, 18 Mar 1994 20:46:20 +0000 (12:46 -0800)]
(SELECT_RTX_SECTION): Delete.

From-SVN: r6814

30 years ago(include_prefix): New variable.
Jim Wilson [Fri, 18 Mar 1994 20:37:22 +0000 (12:37 -0800)]
(include_prefix): New variable.

(process_command): Add path/include to include_prefix when see a
-Bpath option.
(do_spec_1, case 'I'): Pass include_prefix directories to cpp with
the -isystem option.

From-SVN: r6813

30 years ago(before_system, last_before_system): New variables.
Jim Wilson [Fri, 18 Mar 1994 20:35:42 +0000 (12:35 -0800)]
(before_system, last_before_system): New variables.

(main): Handle -isystem option.  Insert -isystem directories in
search chain at first_system_include.

From-SVN: r6812

30 years ago(scan_loop): New variable loop_depth.
Jim Wilson [Fri, 18 Mar 1994 20:31:41 +0000 (12:31 -0800)]
(scan_loop): New variable loop_depth.

(scan_loop): New variable loop_depth. Increment and
decrement on LOOP_BEG and LOOP_END notes.  Only use LOOP_VTOP note
if loop_depth is zero.
(strength_reduce): Likewise.

From-SVN: r6811

30 years ago(FIXUNS_TRUNCTFSI2_LIBCALL): Define.
Jim Wilson [Fri, 18 Mar 1994 20:29:08 +0000 (12:29 -0800)]
(FIXUNS_TRUNCTFSI2_LIBCALL): Define.

From-SVN: r6810

30 years ago(init_optabs): Use FIXUNS_TRUNCTFSI2_LIBCALL macro.
Jim Wilson [Fri, 18 Mar 1994 20:26:04 +0000 (12:26 -0800)]
(init_optabs): Use FIXUNS_TRUNCTFSI2_LIBCALL macro.

From-SVN: r6809

30 years agostor-layout.c (layout_type, [...]): Set TREE_UNSIGNED unless TYPE_MIN_VALUE is negative.
Per Bothner [Fri, 18 Mar 1994 05:33:36 +0000 (21:33 -0800)]
stor-layout.c (layout_type, [...]): Set TREE_UNSIGNED unless TYPE_MIN_VALUE is negative.

 * stor-layout.c (layout_type, case BOOLEAN_TYPE):
 Set TREE_UNSIGNED unless TYPE_MIN_VALUE is negative.

From-SVN: r6808

30 years ago(pushdecl): Call lookup_name for external references.
Jim Wilson [Thu, 17 Mar 1994 23:45:04 +0000 (15:45 -0800)]
(pushdecl): Call lookup_name for external references.

Delete code to check external references against global
declarations.
(redeclaration_error_message): If newdecl has block scope, then
return string only if olddecl has the same scope.

From-SVN: r6807

30 years ago(shorten_compare): When simplify compare against
Jim Wilson [Thu, 17 Mar 1994 23:39:11 +0000 (15:39 -0800)]
(shorten_compare): When simplify compare against
zero, check for restype_ptr unsigned instead of primop0 unsigned.

From-SVN: r6806

30 years ago(expand_call): Undo Feb 27 change.
Jim Wilson [Thu, 17 Mar 1994 23:36:20 +0000 (15:36 -0800)]
(expand_call): Undo Feb 27 change.

(expand_call): Undo Feb 27 change.  Set nregs to -1 for
normal case.

From-SVN: r6805

30 years agoDefine BYTE_ORDER in <sys/byteorder.h> as on UnixWare 1.1
Ian Lance Taylor [Thu, 17 Mar 1994 22:43:02 +0000 (22:43 +0000)]
Define BYTE_ORDER in <sys/byteorder.h> as on UnixWare 1.1

From-SVN: r6804

30 years ago(layout_type, case INTEGER_TYPE): Properly test for nonnegative lower
Richard Kenner [Thu, 17 Mar 1994 11:02:16 +0000 (06:02 -0500)]
(layout_type, case INTEGER_TYPE): Properly test for nonnegative lower
bound.

From-SVN: r6803

30 years agoDon't declare last parameter of stdarg function to be register.
Ian Lance Taylor [Wed, 16 Mar 1994 17:40:38 +0000 (17:40 +0000)]
Don't declare last parameter of stdarg function to be register.

From-SVN: r6802

30 years agopa.h (INITIALIZE_TRAMPOLINE): Do not mask off high bits of address passed to icacheflush.
Jeff Law [Wed, 16 Mar 1994 17:06:39 +0000 (10:06 -0700)]
pa.h (INITIALIZE_TRAMPOLINE): Do not mask off high bits of address passed to icacheflush.

        * pa.h (INITIALIZE_TRAMPOLINE): Do not mask off high
        bits of address passed to icacheflush.

From-SVN: r6801

30 years agopa.h (WCHAR_TYPE): Use "unsigned int" by default.
Jeff Law [Wed, 16 Mar 1994 17:05:24 +0000 (10:05 -0700)]
pa.h (WCHAR_TYPE): Use "unsigned int" by default.

* pa.h (WCHAR_TYPE): Use "unsigned int" by default.
(WCHAR_TYPE_SIZE): Change appropriately.
* pa-ghiux.h, pa-ghpux.h, pa-gux7.h, pa-hiux.h, pa-hpux.h,
pa-hpux7.h (WCHAR_TYPE): Delete definition.
(WCHAR_TYPE_SIZE): Likewise.
* pa-osf.h (WCHAR_TYPE): Override appropriately for OSF1.
(WCHAR_TYPE_SIZE): Likewise.

From-SVN: r6800

30 years ago* pa.md (DImode lo_sum): Add earlyclobber for alternative one.
Jeff Law [Wed, 16 Mar 1994 17:03:01 +0000 (10:03 -0700)]
* pa.md (DImode lo_sum): Add earlyclobber for alternative one.

From-SVN: r6799

30 years agopa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match ASM_OUTPUT_ADDR_VEC_ELT which is...
Jeff Law [Wed, 16 Mar 1994 17:01:27 +0000 (10:01 -0700)]
pa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match ASM_OUTPUT_ADDR_VEC_ELT which is PIC-safe.

* pa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match
ASM_OUTPUT_ADDR_VEC_ELT which is PIC-safe.

From-SVN: r6798

30 years ago(FUNCTION_PROLOGUE): Load sb through r0 if TARGET_REGPARM is false.
Richard Kenner [Wed, 16 Mar 1994 14:07:29 +0000 (09:07 -0500)]
(FUNCTION_PROLOGUE): Load sb through r0 if TARGET_REGPARM is false.

From-SVN: r6797

30 years ago(global_symbolic_reference_mentioned_p): Recurse only
Richard Kenner [Wed, 16 Mar 1994 14:07:11 +0000 (09:07 -0500)]
(global_symbolic_reference_mentioned_p): Recurse only
if GET_CODE (op) == CONST.

From-SVN: r6796

30 years ago(gen_lowpart_common...
Richard Kenner [Wed, 16 Mar 1994 14:01:34 +0000 (09:01 -0500)]
(gen_lowpart_common...

(gen_lowpart_common, gen_highpart, operand_subword): Test input
against RTX for FP, AP, and SP, not same register number.

From-SVN: r6795

30 years ago(expand_expr): Update comments and fix formatting.
Richard Kenner [Wed, 16 Mar 1994 13:24:29 +0000 (08:24 -0500)]
(expand_expr): Update comments and fix formatting.

(expand_expr, case VAR_DECL, STRING_CST, CONSTRUCTOR): If flag_force_addr, put
address in register unless REG.
(expand_expr, case CONSTRUCTOR, CONVERT_EXPR): Make TARGET with TMODE, if
specified.
(expand_expr, case IN_EXPR): Clean up.  Allow INDEX to be an unsigned type.
Always evaluate SET and INDEX in case of side effects.
(expand_expr, case CONVERT_EXPR): Use convert_modes to handle consts.
(expand_expr, case ABS_EXPR): Simplify processing of COMPLEX.
Compare with zero word-by-word if required.
(expand_expr, case ABS_EXPR, MIN_EXPR, COND_EXPR): Don't use TARGET if
not MODE.
(expand_expr, case TRUTH_*_EXPR): Modes of input and output must agree.
(expand_expr, case CONJ_EXPR): Remove redundant def of MODE.

From-SVN: r6794

30 years ago(layout_record): If the place where we were going to put a field
Richard Kenner [Wed, 16 Mar 1994 11:57:14 +0000 (06:57 -0500)]
(layout_record): If the place where we were going to put a field
changed, lay it out again.

From-SVN: r6793

30 years ago(stmp-fixproto): Add missing "-" in front of "if".
Richard Kenner [Tue, 15 Mar 1994 12:53:28 +0000 (07:53 -0500)]
(stmp-fixproto): Add missing "-" in front of "if".

(install-headers-tar, gcc.xtar): Use "-" in front of tar options.

From-SVN: r6792

30 years ago(assign_parms, expand_function_start): Properly set MEM_IN_STRUCT_P
Richard Kenner [Mon, 14 Mar 1994 22:31:43 +0000 (17:31 -0500)]
(assign_parms, expand_function_start): Properly set MEM_IN_STRUCT_P
for DECL_RTL of function result.

From-SVN: r6791

30 years agoInsert newlines for sed 'a' and 'i' commands.
Ian Lance Taylor [Mon, 14 Mar 1994 21:55:07 +0000 (21:55 +0000)]
Insert newlines for sed 'a' and 'i' commands.

From-SVN: r6790

30 years agoDon't name variables in mmap prototype.
Ian Lance Taylor [Mon, 14 Mar 1994 20:47:18 +0000 (20:47 +0000)]
Don't name variables in mmap prototype.

From-SVN: r6789

30 years ago(*.o): Add explicit dependencies for Sun's VPATH.
Doug Evans [Mon, 14 Mar 1994 20:15:59 +0000 (20:15 +0000)]
(*.o): Add explicit dependencies for Sun's VPATH.

From-SVN: r6788

30 years ago(grokdeclarator): Convert to sizetype when manipulating size of array
Richard Kenner [Mon, 14 Mar 1994 13:47:18 +0000 (08:47 -0500)]
(grokdeclarator): Convert to sizetype when manipulating size of array
and use care to avoid mixed-type operations.

From-SVN: r6787

30 years ago(compile_file): Call bc_write_file here and pass asm_out_file, not stdout.
Richard Kenner [Mon, 14 Mar 1994 13:14:17 +0000 (08:14 -0500)]
(compile_file): Call bc_write_file here and pass asm_out_file, not stdout.

(main): Don't call bc_write_file here.
Fix wording on error if -fbytecode specified on unsupported target.

From-SVN: r6786

30 years ago(bc_seg_write): Don't make unaligned reference to seg->data.
Richard Kenner [Mon, 14 Mar 1994 13:13:43 +0000 (08:13 -0500)]
(bc_seg_write): Don't make unaligned reference to seg->data.

From-SVN: r6785

30 years ago(output_constant_def): Do hashing and make label even if bytecode.
Richard Kenner [Mon, 14 Mar 1994 13:13:14 +0000 (08:13 -0500)]
(output_constant_def): Do hashing and make label even if bytecode.

From-SVN: r6784

30 years ago(bc_expand_start_cond): Set exit_label if not EXITFLAG.
Richard Kenner [Mon, 14 Mar 1994 13:12:41 +0000 (08:12 -0500)]
(bc_expand_start_cond): Set exit_label if not EXITFLAG.

(bc_expand_end_bindings): Only define exit_label if set.
Don't pop nesting_stack.

From-SVN: r6783

30 years ago(bc_expand_{binary,unary}_operation): Add missing args to call to
Richard Kenner [Mon, 14 Mar 1994 13:12:11 +0000 (08:12 -0500)]
(bc_expand_{binary,unary}_operation): Add missing args to call to
expand_expr.

From-SVN: r6782

30 years ago(expand_expr): Don't call bc_expand_expr if EXPAND_INITIALIZER.
Richard Kenner [Mon, 14 Mar 1994 13:11:32 +0000 (08:11 -0500)]
(expand_expr): Don't call bc_expand_expr if EXPAND_INITIALIZER.

From-SVN: r6781

30 years ago(fold, associate): If -ffast-math, associate FP mults.
Richard Kenner [Mon, 14 Mar 1994 11:18:52 +0000 (06:18 -0500)]
(fold, associate): If -ffast-math, associate FP mults.

(fold, case RDIV_EXPR): Split case; ignore division by 1.
If -ffast-math, convert to multply by reciprocal.
(fold, case *_DIV_EXPR): Simplify A/C1/C2.

From-SVN: r6780

30 years ago(fold): Call tree_int_cst_sgn.
Richard Kenner [Mon, 14 Mar 1994 10:11:28 +0000 (05:11 -0500)]
(fold): Call tree_int_cst_sgn.

(fold, case *_DIV_EXPR): Add missing conversion.

From-SVN: r6779

30 years ago(expand_builtin, case BUILT_IN_RETURN_ADDRESS): Call tree_int_cst_sgn.
Richard Kenner [Mon, 14 Mar 1994 10:10:47 +0000 (05:10 -0500)]
(expand_builtin, case BUILT_IN_RETURN_ADDRESS): Call tree_int_cst_sgn.

From-SVN: r6778

30 years ago(convert_to_integer): Convert integer_one_node to proper type before
Richard Kenner [Mon, 14 Mar 1994 10:09:52 +0000 (05:09 -0500)]
(convert_to_integer): Convert integer_one_node to proper type before
tree_int_cst_lt call.

From-SVN: r6777

30 years ago(build_binary_op, pop_init_level, output_pending_init_elements): Call
Richard Kenner [Mon, 14 Mar 1994 10:09:19 +0000 (05:09 -0500)]
(build_binary_op, pop_init_level, output_pending_init_elements): Call
tree_int_cst_sgn.

From-SVN: r6776

30 years ago(finish_{decl,struct,enum}): Call tree_int_cst_sgn.
Richard Kenner [Mon, 14 Mar 1994 10:08:06 +0000 (05:08 -0500)]
(finish_{decl,struct,enum}): Call tree_int_cst_sgn.

From-SVN: r6775

30 years ago(tree_int_cst_sgn): New function.
Richard Kenner [Mon, 14 Mar 1994 10:07:30 +0000 (05:07 -0500)]
(tree_int_cst_sgn): New function.

From-SVN: r6774

30 years ago(tree_int_cst_sgn): New declaration.
Richard Kenner [Mon, 14 Mar 1994 10:07:09 +0000 (05:07 -0500)]
(tree_int_cst_sgn): New declaration.

From-SVN: r6773

30 years ago(TRUTH_*_EXPR): Convert to integer_type_node.
Richard Kenner [Mon, 14 Mar 1994 02:16:59 +0000 (21:16 -0500)]
(TRUTH_*_EXPR): Convert to integer_type_node.

From-SVN: r6772

30 years ago(convert_to_integer): When changing type of truthvalue operation,
Richard Kenner [Mon, 14 Mar 1994 02:16:38 +0000 (21:16 -0500)]
(convert_to_integer): When changing type of truthvalue operation,

change types of inputs too.

From-SVN: r6771

30 years agoAdd OVERFLOW operand to CHECK_FLOAT_VALUE.
Richard Kenner [Sun, 13 Mar 1994 13:34:34 +0000 (08:34 -0500)]
Add OVERFLOW operand to CHECK_FLOAT_VALUE.

From-SVN: r6770

30 years ago(constant_expression_warning, overflow_warning): Handle REAL_CST and
Richard Kenner [Sun, 13 Mar 1994 13:31:27 +0000 (08:31 -0500)]
(constant_expression_warning, overflow_warning): Handle REAL_CST and
COMPLEX_CST.

From-SVN: r6769

30 years ago(force_fit_value): Operate on REAL_CST as well.
Richard Kenner [Sun, 13 Mar 1994 13:30:50 +0000 (08:30 -0500)]
(force_fit_value): Operate on REAL_CST as well.

(real_value_truncate): Don't use its own handler.
(const_binop): Set overflow on FP error and call force_fit_type.
(fold_convert): Likewise.

From-SVN: r6768