platform/upstream/gcc.git
30 years ago(twoval_comparison_p): Add new arg, SAVE_P; all callers changed.
Richard Kenner [Mon, 23 Aug 1993 22:33:11 +0000 (18:33 -0400)]
(twoval_comparison_p): Add new arg, SAVE_P; all callers changed.

(fold, case EQ_EXPR): If SAVE_P is true after call to twoval_comparison_p
call save_expr on the expression we make.

From-SVN: r5194

30 years agoIf NO_UNDERSCORE is defined, elf compiler defaults to -mno-underscores
Michael Meissner [Mon, 23 Aug 1993 14:56:10 +0000 (14:56 +0000)]
If NO_UNDERSCORE is defined, elf compiler defaults to -mno-underscores

From-SVN: r5193

30 years ago* pa.md (untyped_call): New define_expand.
Jeff Law [Mon, 23 Aug 1993 03:38:16 +0000 (21:38 -0600)]
* pa.md (untyped_call): New define_expand.

From-SVN: r5192

30 years ago* expr.c (expand_builtin_apply): Fix typo.
Jeff Law [Mon, 23 Aug 1993 03:37:09 +0000 (21:37 -0600)]
* expr.c (expand_builtin_apply): Fix typo.

From-SVN: r5191

31 years agoCorrect last change.
Ian Lance Taylor [Fri, 20 Aug 1993 16:25:56 +0000 (16:25 +0000)]
Correct last change.

From-SVN: r5190

31 years ago(simplify_shift_const...
Jim Wilson [Thu, 19 Aug 1993 23:17:58 +0000 (16:17 -0700)]
(simplify_shift_const...

(simplify_shift_const, XOR case): When applying
distributive law, use shift_mode and GET_MODE (varop) instead of
result_mode.

From-SVN: r5189

31 years ago(scc): Fix typo in scc with compare and set.
Richard Kenner [Thu, 19 Aug 1993 22:27:01 +0000 (18:27 -0400)]
(scc): Fix typo in scc with compare and set.

From-SVN: r5188

31 years ago(can_combine_p): Don't reject SUBREG assignments here.
Richard Kenner [Thu, 19 Aug 1993 20:20:37 +0000 (16:20 -0400)]
(can_combine_p): Don't reject SUBREG assignments here.

(subst): Instead, do it here, but also allow it in as a nested SUBREG since
the inner one will be eliminated.
(simplify_and_const_int): Convert (and (neg X) (const_int 1)) to a shift
when X is known to be either 0 or 1.

From-SVN: r5187

31 years ago(fold): Handle EQ_EXPR and NE_EXPR where both args are comparisons or
Richard Kenner [Thu, 19 Aug 1993 12:28:38 +0000 (08:28 -0400)]
(fold): Handle EQ_EXPR and NE_EXPR where both args are comparisons or
BIT_AND_EXPR with constant 1.

From-SVN: r5186

31 years ago(SELECT_SECTION): Put object in sdata only if size is known, i.e.
Jim Wilson [Thu, 19 Aug 1993 03:36:41 +0000 (20:36 -0700)]
(SELECT_SECTION): Put object in sdata only if size is known, i.e.

(SELECT_SECTION): Put object in sdata only if size is
known, i.e. greater than 0.

From-SVN: r5185

31 years ago(try_combine): Don't split a PARALLEL of a SIGN_EXTEND and the object being...
Richard Kenner [Wed, 18 Aug 1993 23:30:08 +0000 (19:30 -0400)]
(try_combine): Don't split a PARALLEL of a SIGN_EXTEND and the object being...

(try_combine): Don't split a PARALLEL of a SIGN_EXTEND and the object
being sign extended if we have made assumptions about the form the
I2DEST.

From-SVN: r5184

31 years ago(nonzero_bits): Handle case when BYTE_LOADS_EXTEND is not on and we
Richard Kenner [Wed, 18 Aug 1993 21:48:33 +0000 (17:48 -0400)]
(nonzero_bits): Handle case when BYTE_LOADS_EXTEND is not on and we
are asked for something in a mode wider than it.

From-SVN: r5183

31 years agopa.md (movdf insn): Distinguish between offsettable and nonoffsettable memory locatio...
Jeff Law [Wed, 18 Aug 1993 16:34:05 +0000 (10:34 -0600)]
pa.md (movdf insn): Distinguish between offsettable and nonoffsettable memory locations when...

        * pa.md (movdf insn): Distinguish between offsettable and
        nonoffsettable memory locations when loading/storing a GR.
        (movdi insn): Likewise.  Loading a DImode constant can take
        as many os 4 insns.

From-SVN: r5182

31 years agopa.md (zero_extendqihi2): No need to explicitly set a length, the defaults are correct.
Jeff Law [Wed, 18 Aug 1993 16:26:12 +0000 (10:26 -0600)]
pa.md (zero_extendqihi2): No need to explicitly set a length, the defaults are correct.

        * pa.md (zero_extendqihi2): No need to explicitly set a length,
        the defaults are correct.
        (zero_extendqisi2, floatsisf2, floatsidf2): Likewise.
        (floatdisf2, floatdidf2, fix_truncsfsi2): Likewise.
        (fix_truncdfsi2, fix_truncsfdi2, fix_truncdfdi2): Likewise.

From-SVN: r5181

31 years agopa.c (emit_move_sequence): Check both reload_in_progress and reload_completed when...
Jeff Law [Wed, 18 Aug 1993 06:50:55 +0000 (00:50 -0600)]
pa.c (emit_move_sequence): Check both reload_in_progress and reload_completed when...

* pa.c (emit_move_sequence): Check both reload_in_progress and
reload_completed when choosing a scratch/temporary register.

From-SVN: r5180

31 years agopa.md (high for symbolic operands): TARGET_KERNEL version is now default.
Jeff Law [Wed, 18 Aug 1993 06:45:51 +0000 (00:45 -0600)]
pa.md (high for symbolic operands): TARGET_KERNEL version is now default.

        * pa.md (high for symbolic operands): TARGET_KERNEL version is
        now default.  Delete ! TARGET_KERNEL version.

From-SVN: r5179

31 years agopa.c (emit_move_sequence): Always handle secondary reloads for symbolic addresses.
Jeff Law [Wed, 18 Aug 1993 06:45:41 +0000 (00:45 -0600)]
pa.c (emit_move_sequence): Always handle secondary reloads for symbolic addresses.

        * pa.c (emit_move_sequence): Always handle secondary reloads for
        symbolic addresses.
        (secondary_reload_class): Symbolic operands always need a secondary
        reload from R1_REGS if their target class is not R1_REGS.

From-SVN: r5178

31 years ago* pa.h (TARGET_KERNEL): Delete switch and all references to it.
Jeff Law [Wed, 18 Aug 1993 06:45:29 +0000 (00:45 -0600)]
* pa.h (TARGET_KERNEL): Delete switch and all references to it.

From-SVN: r5177

31 years agopa-hpux.h (DEFAULT_GDB_EXTENSIONS): Turn GDB extensions off.
Jeff Law [Wed, 18 Aug 1993 06:41:27 +0000 (00:41 -0600)]
pa-hpux.h (DEFAULT_GDB_EXTENSIONS): Turn GDB extensions off.

        * pa-hpux.h (DEFAULT_GDB_EXTENSIONS): Turn GDB extensions off.
        * pa-hpux7.h (DEFAULT_GDB_EXTENSIONS): Likewise.

From-SVN: r5176

31 years ago* pa.h (DEFAULT_GDB_EXTENSIONS): GDB extensions are on by default.
Jeff Law [Wed, 18 Aug 1993 06:38:13 +0000 (00:38 -0600)]
* pa.h (DEFAULT_GDB_EXTENSIONS): GDB extensions are on by default.

From-SVN: r5175

31 years agopa-ghpux.h (TARGET_DEFAULT): Enable TARGET_GAS.
Jeff Law [Wed, 18 Aug 1993 06:35:21 +0000 (00:35 -0600)]
pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_GAS.

        * pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_GAS.
        * pa-gux7.h, pa-utahmach.h, pa.h (TARGET_DEFAULT): Likewise.
        * pa1-ghpux.h, pa1-utahmach.h, pa1.h (TARGET_DEFAULT): Likewise.

From-SVN: r5174

31 years agopa.h (TARGET_GAS): New target flag to control use of GAS specific assembler directives.
Jeff Law [Wed, 18 Aug 1993 06:34:51 +0000 (00:34 -0600)]
pa.h (TARGET_GAS): New target flag to control use of GAS specific assembler directives.

        * pa.h (TARGET_GAS): New target flag to control use of GAS specific
        assembler directives.
        (TARGET_SWITCHES): Support -mgas and -mno-gas.
        (ASM_DECLARE_FUNCTION_NAME): If TARGET_GAS, then emit .PARAM directives
        for static functions so that argument relocations work.

From-SVN: r5173

31 years agopa.c (hppa_legitimize_address): Rework address computation for x[n - m] so that probl...
Jeff Law [Wed, 18 Aug 1993 06:28:39 +0000 (00:28 -0600)]
pa.c (hppa_legitimize_address): Rework address computation for x[n - m] so that problems with implicit space...

        * pa.c (hppa_legitimize_address): Rework address computation
        for x[n - m] so that problems with implicit space register
        selection are avoided.

From-SVN: r5172

31 years ago* pa.h (EXTRA_CONSTRAINT): Delete unused 'S' constraint.
Jeff Law [Wed, 18 Aug 1993 06:23:25 +0000 (00:23 -0600)]
* pa.h (EXTRA_CONSTRAINT): Delete unused 'S' constraint.

From-SVN: r5171

31 years agopa.md (call_internal_symref): Make pattern unavailable if TARGET_LONG_CALLS.
Jeff Law [Wed, 18 Aug 1993 06:22:49 +0000 (00:22 -0600)]
pa.md (call_internal_symref): Make pattern unavailable if TARGET_LONG_CALLS.

        * pa.md (call_internal_symref): Make pattern unavailable if
        TARGET_LONG_CALLS.
        (call_value_internal_symref): Likewise.

From-SVN: r5170

31 years ago(tablejump): Now SImode and uses cased.
Richard Kenner [Mon, 16 Aug 1993 22:59:00 +0000 (18:59 -0400)]
(tablejump): Now SImode and uses cased.

From-SVN: r5169

31 years ago(ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead of .word.
Richard Kenner [Mon, 16 Aug 1993 22:58:36 +0000 (18:58 -0400)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead of .word.

(CASE_VECTOR_MODE): Now SImode; was HImode.

From-SVN: r5168

31 years ago(ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead of .word.
Richard Kenner [Mon, 16 Aug 1993 22:58:03 +0000 (18:58 -0400)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead of .word.

From-SVN: r5167

31 years ago(fold...
Richard Kenner [Mon, 16 Aug 1993 22:47:39 +0000 (18:47 -0400)]
(fold...

(fold, case EQ_EXPR): Re-enable converting signed MOD operations to
unsigned when inside comparisons against zero, but only when the
second operand of the MOD is an integral power of two.

From-SVN: r5166

31 years agoFixed va_list problem in _int_varargs.h
John Hassey [Mon, 16 Aug 1993 19:42:38 +0000 (19:42 +0000)]
Fixed va_list problem in _int_varargs.h

From-SVN: r5165

31 years ago*** empty log message ***
Roland McGrath [Mon, 16 Aug 1993 19:10:25 +0000 (19:10 +0000)]
*** empty log message ***

From-SVN: r5164

31 years ago(use_crosses_set_p): Check for partially overlapping hard regs.
Richard Kenner [Mon, 16 Aug 1993 15:16:14 +0000 (11:16 -0400)]
(use_crosses_set_p): Check for partially overlapping hard regs.

From-SVN: r5163

31 years agoreorg.c (find_end_label): If a suitable RETURN insn exists at the end of the current...
Jeff Law [Mon, 16 Aug 1993 00:16:56 +0000 (18:16 -0600)]
reorg.c (find_end_label): If a suitable RETURN insn exists at the end of the current function...

        * reorg.c (find_end_label): If a suitable RETURN insn exists at
        the end of the current function, place a label in front of it
        for the end_of_function_label.

From-SVN: r5162

31 years ago(declare_hidden_char_array): New function to factor out duplicate code in declare_fun...
Richard Stallman [Sun, 15 Aug 1993 09:30:20 +0000 (09:30 +0000)]
(declare_hidden_char_array): New function to factor out duplicate code in declare_function_name.

(declare_hidden_char_array): New function to
factor out duplicate code in declare_function_name.
Don't set DECL_EXTERNAL (which is illegal without TREE_PUBLIC)
to prevent output; instead, set TREE_ASM_WRITTEN.

(declare_function_name): Use declare_hidden_char_array.

From-SVN: r5161

31 years ago(check_format): For scan of "%["...
Richard Stallman [Sat, 14 Aug 1993 03:22:24 +0000 (03:22 +0000)]
(check_format): For scan of "%["...

(check_format): For scan of "%[", skip over scan set
til closing ']' to avoid processing it as ordinary format characters.

From-SVN: r5160

31 years ago(expand_expr, case SAVE_EXPR): Set MEM_IN_STRUCT_P appropriately when
Richard Kenner [Fri, 13 Aug 1993 23:26:34 +0000 (19:26 -0400)]
(expand_expr, case SAVE_EXPR): Set MEM_IN_STRUCT_P appropriately when
the result is a MEM.

From-SVN: r5159

31 years ago(ASM_OUTPUT_ALIGN_CODE): Override as no-op.
Richard Stallman [Fri, 13 Aug 1993 21:09:57 +0000 (21:09 +0000)]
(ASM_OUTPUT_ALIGN_CODE): Override as no-op.

From-SVN: r5158

31 years agoComment fix.
Richard Stallman [Fri, 13 Aug 1993 19:00:02 +0000 (19:00 +0000)]
Comment fix.

From-SVN: r5157

31 years ago(ASM_OUTPUT_ALIGN_CODE): Override to avoid generating a second argument.
Richard Stallman [Fri, 13 Aug 1993 18:59:37 +0000 (18:59 +0000)]
(ASM_OUTPUT_ALIGN_CODE): Override to avoid generating a second argument.

From-SVN: r5156

31 years ago(LONG_DOUBLE_TYPE_SIZE): Define to 128.
Jim Wilson [Fri, 13 Aug 1993 18:32:32 +0000 (11:32 -0700)]
(LONG_DOUBLE_TYPE_SIZE): Define to 128.

From-SVN: r5155

31 years ago(expand_inline_function): Copy args that are in hard regs instead of
Richard Kenner [Fri, 13 Aug 1993 18:30:00 +0000 (14:30 -0400)]
(expand_inline_function): Copy args that are in hard regs instead of
substiting them directly into insns.

From-SVN: r5154

31 years ago(GET_REAL, PUT_REAL): Add TFmode versions.
Jim Wilson [Fri, 13 Aug 1993 18:28:49 +0000 (11:28 -0700)]
(GET_REAL, PUT_REAL): Add TFmode versions.

(MAXDECEXP, MINDECEXP): New decimal exponent limits
that vary with definition of LONG_DOUBLE_TYPE_SIZE.
(endian, ereal_atof, real_value_truncate, einfin, emdnorm, asctoeg):
Add cases for TFmode.
(etartdouble): New function converts REAL_VALUE_TYPE to TFmode
for use by ASM_OUTPUT_LONG_DOUBLE.
(edivm, emulm): Ifdef out, replace by faster multiply and divide.
(etoe113, toe113, e113toe): New type conversions for TFmode.
(asctoe113, e113toasc): New TFmode binary <-> decimal conversions.
(at top level): Define constants ezero, eone, emtens, etens, ...
in a new 20-byte format when LONG_DOUBLE_TYPE_SIZE = 128 and
set NE to 10.  Otherwise, the internal format remains 12 bytes wide.
(etoudi, etodi, ditoe, uditoe): New functions, signed and unsigned
DImode float and fix, for real.c used in a libgcc-of-last-resort.
(esqrt): New function, correctly rounded square root for libgcc.
(etodec): Delete ifdef'd version.
(eroundi, eroundui): Rename to efixi, efixui and always
round towards zero.
From frank@atom.ansto.gov.au (Frank Crawford):
(etoibm, toibm, ibmtoe): New conversions for IBM 370 float format.
(e53toe, e64toe, toe64, etoe53, toe53, etoe24, toe24, asctoe53,
asctoeg, make_nan): Ifdef for IBM.

From-SVN: r5153

31 years ago(REAL_VALUE_TYPE): Define array at least 20 bytes wide if LONG_DOUBLE_TYPE_SIZE is...
Jim Wilson [Fri, 13 Aug 1993 18:27:32 +0000 (11:27 -0700)]
(REAL_VALUE_TYPE): Define array at least 20 bytes wide if LONG_DOUBLE_TYPE_SIZE is 128 bits.

(REAL_VALUE_TYPE): Define array at least 20 bytes wide
if LONG_DOUBLE_TYPE_SIZE is 128 bits.
(etartdouble): Declare and use for REAL_VALUE_TO_TARGET_LONG_DOUBLE
when long double is TFmode.
(REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX): Must always round
towards zero.

From-SVN: r5152

31 years ago(subsi3): Merge alternatives.
Richard Kenner [Fri, 13 Aug 1993 11:50:22 +0000 (07:50 -0400)]
(subsi3): Merge alternatives.

(comparison patterns): Eliminate generation of "sfi."; no such instruction
exists.

From-SVN: r5151

31 years ago(output_init_element): Don't call default_conversion for a STRING_CST if type is...
Richard Stallman [Fri, 13 Aug 1993 05:59:36 +0000 (05:59 +0000)]
(output_init_element): Don't call default_conversion for a STRING_CST if type is directly suitable for it.

(output_init_element): Don't call default_conversion
for a STRING_CST if type is directly suitable for it.
(digest_init): Eliminate a lot of code that checks the variable
'element', since element is always 0 in these code paths.

(build_c_cast): For (void *) (FOO *) 0, return a nop_expr
so it doesn't count as a null pointer constant.
(convert_for_assignment, build_binary_op): Pedantically warn about
that case if looking for a null_pointer_constant.
(build_conditional_expr): Likewise.

From-SVN: r5150

31 years ago(CPP_PREDEFINES): Define _CROSS_TARGET_ARCH.
Richard Stallman [Fri, 13 Aug 1993 01:24:18 +0000 (01:24 +0000)]
(CPP_PREDEFINES): Define _CROSS_TARGET_ARCH.

From-SVN: r5149

31 years ago(attribute "type"): Add new type, "branch".
Richard Kenner [Thu, 12 Aug 1993 23:02:25 +0000 (19:02 -0400)]
(attribute "type"): Add new type, "branch".

(attribute "length"): New attribute; put on all insns that don't have default
length.
(branch patterns): If conditional branch won't reach, take conditional branch
around an unconditional branch.

(plus): Split (plus (COMPARISON FOO ...) ...) at FOO.

From-SVN: r5148

31 years agoAdd -m{,no-}underscore support.
Michael Meissner [Thu, 12 Aug 1993 21:16:23 +0000 (21:16 +0000)]
Add -m{,no-}underscore support.

From-SVN: r5147

31 years agoDo not report -Wnested-extern errors for __FUNCTION__/__PRETTY_FUNCTION__.
Michael Meissner [Thu, 12 Aug 1993 21:14:02 +0000 (21:14 +0000)]
Do not report -Wnested-extern errors for __FUNCTION__/__PRETTY_FUNCTION__.

From-SVN: r5146

31 years ago(legitimize_pic_address): Delete 4th arg SCRATCH.
Jim Wilson [Thu, 12 Aug 1993 17:52:48 +0000 (10:52 -0700)]
(legitimize_pic_address): Delete 4th arg SCRATCH.

Fix all callers.
(emit_move_sequence): Delete 3rd arg SCRATCH_REG.  Fix all
callers.  If operand1 is an invalid PIC address, then legitimize
it before doing anything else.

From-SVN: r5145

31 years ago(SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid PIC addresses.
Jim Wilson [Thu, 12 Aug 1993 17:52:01 +0000 (10:52 -0700)]
(SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid PIC addresses.

(SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid
PIC addresses.
(CONSTANT_ADDRESS_P): Reject invalid PIC addresses.
(LEGITIMATE_PIC_OPERAND_P): New macro.
(GO_IF_LEGITIMATE_ADDRESS): Reject invalid PIC addresses.
(LEGITIMIZE_ADDRESS): Fix call to legitimize_pic_address.

From-SVN: r5144

31 years ago(reload_insi): Delete.
Jim Wilson [Thu, 12 Aug 1993 17:51:16 +0000 (10:51 -0700)]
(reload_insi): Delete.

(*): Fix all callers of legitimize_pic_address and emit_move_sequence.

From-SVN: r5143

31 years ago(thread_prologue_and_epilogue_insns): For the
Jim Wilson [Thu, 12 Aug 1993 17:45:57 +0000 (10:45 -0700)]
(thread_prologue_and_epilogue_insns): For the
epilogue, put USE insns immediately before the return insn.

From-SVN: r5142

31 years ago(sched_analyze_insn): Handle USE before a JUMP_INSN just
Jim Wilson [Thu, 12 Aug 1993 17:45:15 +0000 (10:45 -0700)]
(sched_analyze_insn): Handle USE before a JUMP_INSN just
like a USE before a CALL_INSN.

From-SVN: r5141

31 years ago(ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE.
Jim Wilson [Thu, 12 Aug 1993 17:41:35 +0000 (10:41 -0700)]
(ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE.

(ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE.

From-SVN: r5140

31 years ago(store_expr): Don't return TEMP if it's a MEM.
Richard Stallman [Thu, 12 Aug 1993 08:06:01 +0000 (08:06 +0000)]
(store_expr): Don't return TEMP if it's a MEM.

From-SVN: r5139

31 years ago(CONSTRUCTOR_NAME_FORMAT): Removed.
Per Bothner [Thu, 12 Aug 1993 02:56:55 +0000 (19:56 -0700)]
(CONSTRUCTOR_NAME_FORMAT): Removed.

From-SVN: r5138

31 years ago(build_module_descriptor): Use new function get_file_function_name.
Per Bothner [Thu, 12 Aug 1993 02:45:47 +0000 (19:45 -0700)]
(build_module_descriptor):  Use new function get_file_function_name.

From-SVN: r5137

31 years ago(get_file_function_name): New function.
Per Bothner [Thu, 12 Aug 1993 02:43:49 +0000 (19:43 -0700)]
(get_file_function_name):  New function.

From-SVN: r5136

31 years agoreorg.c (try_merge_delay_insns): Fix typo.
Jeff Law [Wed, 11 Aug 1993 23:49:36 +0000 (17:49 -0600)]
reorg.c (try_merge_delay_insns): Fix typo.

* reorg.c (try_merge_delay_insns): Fix typo.
(fill_simple_delay_slots): Only access the JUMP_LABEL field
if the INSN needing delay slots is a JUMP_INSN.

From-SVN: r5135

31 years ago(combine_instructions): Fix typo on test of basic block number.
Richard Kenner [Wed, 11 Aug 1993 21:58:31 +0000 (17:58 -0400)]
(combine_instructions): Fix typo on test of basic block number.

From-SVN: r5134

31 years agoGet size_t typedef using gcc, not cc
Ian Lance Taylor [Wed, 11 Aug 1993 13:22:45 +0000 (13:22 +0000)]
Get size_t typedef using gcc, not cc

From-SVN: r5133

31 years ago*** empty log message ***
Roland McGrath [Wed, 11 Aug 1993 07:27:10 +0000 (07:27 +0000)]
*** empty log message ***

From-SVN: r5132

31 years ago(SLOW_UNALIGNED_ACCESS): Define, but allow override.
Richard Stallman [Wed, 11 Aug 1993 05:22:55 +0000 (05:22 +0000)]
(SLOW_UNALIGNED_ACCESS): Define, but allow override.

(store_bit_field): Test that instead of STRICT_ALIGNMENT.
Also, allow fetching as non-bitfield if memory is aligned enough.
(extract_bit_field): Install code here like that in store_bit_field.

From-SVN: r5131

31 years ago*** empty log message ***
Richard Stallman [Tue, 10 Aug 1993 21:27:23 +0000 (21:27 +0000)]
*** empty log message ***

From-SVN: r5130

31 years ago(cse_insn): After inserting src_eqv...
Jim Wilson [Tue, 10 Aug 1993 19:11:27 +0000 (12:11 -0700)]
(cse_insn): After inserting src_eqv...

(cse_insn): After inserting src_eqv, check to see if it is
identical to any uninserted SET_SRCs, and if so, set their src_elt
to src_eqv_elt.

From-SVN: r5129

31 years ago* pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2.
Jeff Law [Tue, 10 Aug 1993 16:56:29 +0000 (10:56 -0600)]
* pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2.

From-SVN: r5128

31 years ago(output_move_double): Fix typos in last change.
Richard Stallman [Tue, 10 Aug 1993 05:49:29 +0000 (05:49 +0000)]
(output_move_double): Fix typos in last change.

From-SVN: r5127

31 years agoMerge. See ChangeLog.
Per Bothner [Tue, 10 Aug 1993 02:16:16 +0000 (19:16 -0700)]
Merge.  See ChangeLog.

From-SVN: r5126

31 years agoMerge. See ChangeLog.
Per Bothner [Tue, 10 Aug 1993 01:59:37 +0000 (18:59 -0700)]
Merge.  See ChangeLog.

From-SVN: r5125

31 years agoInitial revision
Per Bothner [Tue, 10 Aug 1993 01:56:14 +0000 (18:56 -0700)]
Initial revision

From-SVN: r5124

31 years agoRemove some extraneuous garbase output.
Per Bothner [Tue, 10 Aug 1993 01:52:49 +0000 (18:52 -0700)]
Remove some extraneuous garbase output.

From-SVN: r5123

31 years ago(assembler_variable): For XCOFF_DEBUG, restore section
Jim Wilson [Mon, 9 Aug 1993 19:42:21 +0000 (12:42 -0700)]
(assembler_variable): For XCOFF_DEBUG, restore section
if dbxout_symbol call changes it.

From-SVN: r5122

31 years ago(schedule_insns): Don't emit a NOTE at the end of the last basic block if...
Jim Wilson [Mon, 9 Aug 1993 19:37:23 +0000 (12:37 -0700)]
(schedule_insns): Don't emit a NOTE at the end of the last basic block if...

(schedule_insns): Don't emit a NOTE at the end of the last
basic block if that would put it between a JUMP_INSN and a BARRIER.

From-SVN: r5121

31 years ago(OPTIMIZATION_OPTIONS): Use |=, not &= to set -mpgopt.
Jim Wilson [Mon, 9 Aug 1993 19:29:28 +0000 (12:29 -0700)]
(OPTIMIZATION_OPTIONS): Use |=, not &= to set -mpgopt.

From-SVN: r5120

31 years ago(function_arg, DFmode case): Set regbase to GP_ARG_FIRST
Jim Wilson [Mon, 9 Aug 1993 19:26:03 +0000 (12:26 -0700)]
(function_arg, DFmode case): Set regbase to GP_ARG_FIRST
if cum->arg_number greater than or equal to 2.

From-SVN: r5119

31 years ago(widen_operand): New function.
Richard Kenner [Mon, 9 Aug 1993 11:30:54 +0000 (07:30 -0400)]
(widen_operand): New function.

(expand_binop, expand_unop): Call it.

From-SVN: r5118

31 years ago(contains_pointers_p): New function.
Richard Stallman [Mon, 9 Aug 1993 07:30:04 +0000 (07:30 +0000)]
(contains_pointers_p): New function.

(assemble_variable): Use that.

From-SVN: r5117

31 years ago(sparc_type_code): Support range types.
Jim Wilson [Sun, 8 Aug 1993 23:19:27 +0000 (16:19 -0700)]
(sparc_type_code): Support range types.

From-SVN: r5116

31 years ago(expand_increment): Call save_expr on inner expression if
Jim Wilson [Sun, 8 Aug 1993 22:48:15 +0000 (15:48 -0700)]
(expand_increment): Call save_expr on inner expression if
it is itself an increment expression.

From-SVN: r5115

31 years ago(_SC_PAGE_SIZE): Define to _SC_PAGESIZE if that exists.
Jim Wilson [Sun, 8 Aug 1993 22:19:52 +0000 (15:19 -0700)]
(_SC_PAGE_SIZE): Define to _SC_PAGESIZE if that exists.

From-SVN: r5114

31 years ago(reg_or_0_operand): Use fp_zero_operand.
Jim Wilson [Sun, 8 Aug 1993 22:10:02 +0000 (15:10 -0700)]
(reg_or_0_operand): Use fp_zero_operand.

(fp_zero_operand): New function.

From-SVN: r5113

31 years ago(CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand.
Jim Wilson [Sun, 8 Aug 1993 22:08:50 +0000 (15:08 -0700)]
(CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand.

From-SVN: r5112

31 years ago(build_array_ref): Force array to be allocated on the stack if...
Jim Wilson [Sun, 8 Aug 1993 21:38:20 +0000 (14:38 -0700)]
(build_array_ref): Force array to be allocated on the stack if...

(build_array_ref): Force array to be allocated on the
stack if it is accessed by out-of-bound constant integer subscript.

From-SVN: r5111

31 years ago(num_sign_bit_copies): Properly handle case when MODE is narrower than that of X.
Richard Kenner [Sun, 8 Aug 1993 21:31:39 +0000 (17:31 -0400)]
(num_sign_bit_copies): Properly handle case when MODE is narrower than that of X.

(num_sign_bit_copies): Properly handle case when MODE is narrower than that
of X.
(simplify_shift_const): Remove change of July 26.

From-SVN: r5110

31 years agoNew file.
Jim Wilson [Sun, 8 Aug 1993 21:25:54 +0000 (14:25 -0700)]
New file.

From-SVN: r5109

31 years ago(expand_assignment): If WANT_VALUE is 0, return NULL.
Richard Stallman [Sun, 8 Aug 1993 18:54:00 +0000 (18:54 +0000)]
(expand_assignment): If WANT_VALUE is 0, return NULL.

(store_expr): Likewise.
Rename arg SUGGEST_REG to WANT_VALUE.
Never return TARGET if WANT_VALUE unless BLKmode.
Instead, return TEMP or a value copied from TARGET.
Pass 0 for WANT_VALUE in recursive calls that ignore value.

(expand_expr, case PLUS_EXPR): Goto binop2 not
both_summands if we should not be returning a plus.

(do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic,
copy INDEX to a register early, to avoid invalid address later.

From-SVN: r5108

31 years ago(rest_of_decl_compilation): Fix typo in previous change.
Richard Stallman [Sun, 8 Aug 1993 18:31:42 +0000 (18:31 +0000)]
(rest_of_decl_compilation): Fix typo in previous change.

From-SVN: r5107

31 years ago(declare_function_name): Set DECL_EXTERNAL in the decls.
Richard Stallman [Sun, 8 Aug 1993 08:33:48 +0000 (08:33 +0000)]
(declare_function_name): Set DECL_EXTERNAL in the decls.

From-SVN: r5106

31 years ago(rest_of_decl_compilation): Don't look at DECL_IGNORED_P.
Richard Stallman [Sun, 8 Aug 1993 08:33:22 +0000 (08:33 +0000)]
(rest_of_decl_compilation): Don't look at DECL_IGNORED_P.

Don't output a read-only initialized extern variable.

From-SVN: r5105

31 years ago(process_init_element): Don't call clear_momentary if value is 0.
Richard Stallman [Sun, 8 Aug 1993 02:27:07 +0000 (02:27 +0000)]
(process_init_element): Don't call clear_momentary if value is 0.

From-SVN: r5104

31 years ago(find_reloads): Don't combine two reloads if their reload_reg_rtx
Richard Kenner [Sat, 7 Aug 1993 22:21:23 +0000 (18:21 -0400)]
(find_reloads): Don't combine two reloads if their reload_reg_rtx
values differ.

From-SVN: r5103

31 years ago(MAX_MOVE_MAX, MAX_UNITS_PER_WORD): New macros.
Doug Evans [Sat, 7 Aug 1993 19:58:54 +0000 (19:58 +0000)]
(MAX_MOVE_MAX, MAX_UNITS_PER_WORD): New macros.

(regno_save_mode, regno_save_mem): Use them.

From-SVN: r5102

31 years agoc-decl.c (init_decl_processing): Make long long available to | use for SIZE_TYPE...
Doug Evans [Sat, 7 Aug 1993 19:50:59 +0000 (19:50 +0000)]
c-decl.c (init_decl_processing): Make long long available to | use for SIZE_TYPE and PTRDIFF_TYPE.

    * c-decl.c (init_decl_processing): Make long long available to
|       use for SIZE_TYPE and PTRDIFF_TYPE.

From-SVN: r5101

31 years ago(strict_low_part add/subtract recognizers): Use %2, not %1, in template.
Richard Stallman [Sat, 7 Aug 1993 18:51:16 +0000 (18:51 +0000)]
(strict_low_part add/subtract recognizers): Use %2, not %1, in template.

From-SVN: r5100

31 years ago(add_long_const): New function.
Richard Kenner [Sat, 7 Aug 1993 14:37:12 +0000 (10:37 -0400)]
(add_long_const): New function.

(output_{pro,epi}log): Use it.
If register save area is more than 32768 from SP, compute its address into
a register.

From-SVN: r5099

31 years ago(expand_divmod): Clean up code and documentation, especially in areas
Richard Kenner [Sat, 7 Aug 1993 11:43:53 +0000 (07:43 -0400)]
(expand_divmod): Clean up code and documentation, especially in areas
related to when copies are made.

From-SVN: r5098

31 years ago(push_reload, find_reloads): Treat (subreg (pseudo)) and (subreg (mem)) the same.
Richard Kenner [Sat, 7 Aug 1993 11:42:21 +0000 (07:42 -0400)]
(push_reload, find_reloads): Treat (subreg (pseudo)) and (subreg (mem)) the same.

(push_reload, find_reloads): Treat (subreg (pseudo)) and (subreg (mem))
the same.
If we have (subreg:M1 (mem:M2 ...) ...), never do anything special if M1
and M2 are the same size.

From-SVN: r5097

31 years ago(print_node): Print obstack node is contained in.
Richard Kenner [Sat, 7 Aug 1993 11:40:17 +0000 (07:40 -0400)]
(print_node): Print obstack node is contained in.

From-SVN: r5096

31 years ago(print_obstack_name): New function; derived from original debug_obstack.
Richard Kenner [Sat, 7 Aug 1993 11:39:47 +0000 (07:39 -0400)]
(print_obstack_name): New function; derived from original debug_obstack.

(debug_obstack): Call print_obstack_name.

From-SVN: r5095