Richard Kenner [Fri, 19 Aug 1994 21:33:48 +0000 (17:33 -0400)]
(expand_call): If parm is transparent union, use type of first field.
From-SVN: r7949
Richard Kenner [Fri, 19 Aug 1994 21:33:13 +0000 (17:33 -0400)]
(assign_parms): If parm is transparent union, use type of first field.
From-SVN: r7948
Richard Kenner [Fri, 19 Aug 1994 21:32:52 +0000 (17:32 -0400)]
(decl_attribute): Handle "transparent_union" attribute.
From-SVN: r7947
Richard Kenner [Fri, 19 Aug 1994 21:32:29 +0000 (17:32 -0400)]
(struct tree_type): New field transparent_union_flag.
(struct tree_decl): New field transparent_union.
({DECL,TYPE}_TRANSPARENT_UNION): New macros.
From-SVN: r7946
Ian Lance Taylor [Fri, 19 Aug 1994 16:01:48 +0000 (16:01 +0000)]
Canonicalize ${INPUT} to avoid automounter problems.
From-SVN: r7945
Kresten Krab Thorup [Fri, 19 Aug 1994 15:36:22 +0000 (15:36 +0000)]
(build_selector_translation_table): Reset current_function_decl after hack_function_prototype build it.
(build_selector_translation_table): Reset
current_function_decl after hack_function_prototype build it.
(build_module_descriptor): Return constructor name from functions
decl_rtl.
From-SVN: r7944
Mike Stump [Thu, 18 Aug 1994 20:50:43 +0000 (20:50 +0000)]
46 Cygnus<->FSF merge
From-SVN: r7943
Jim Wilson [Thu, 18 Aug 1994 18:09:33 +0000 (11:09 -0700)]
(distribute_notes...
(distribute_notes, case REG_UNUSED): Ignore notes when
from_insn != i3 only if the notes would remain as REG_UNUSED notes.
From-SVN: r7942
Richard Kenner [Wed, 17 Aug 1994 22:31:36 +0000 (18:31 -0400)]
(CLIPPER_ARG_SIZE): Return size in bytes.
(FUNCTION_ARG_ADVANCE): Fix argument alignment processing.
From-SVN: r7941
Richard Kenner [Wed, 17 Aug 1994 22:20:40 +0000 (18:20 -0400)]
*** empty log message ***
From-SVN: r7940
Richard Kenner [Wed, 17 Aug 1994 22:03:37 +0000 (18:03 -0400)]
(fold_rtx): When folding tablejump, allow LABEL_REF to be in arg0;
also allow other arg to be MINUS, not just be equivalent to it.
From-SVN: r7939
Richard Kenner [Wed, 17 Aug 1994 22:03:02 +0000 (18:03 -0400)]
(tablejump): Add SIGN_EXTEND to HImode offset so can add to SImode PC.
Likewise for matching pattern.
From-SVN: r7938
Richard Kenner [Wed, 17 Aug 1994 22:01:17 +0000 (18:01 -0400)]
(casesi_2): Operand 0 is HImode; add SIGN_EXTEND when adding to pc.
(casesi): Operand 0 is HImode.
(unnamed PC addition pattern): Add SIGN_EXTEND to add HImode offset to
SImode PC.
From-SVN: r7937
Jim Wilson [Wed, 17 Aug 1994 17:10:29 +0000 (10:10 -0700)]
(ASM_OUTPUT_ASCII): Edit comment.
From-SVN: r7936
Noah Friedman [Tue, 16 Aug 1994 20:42:48 +0000 (16:42 -0400)]
Updated comments.
From-SVN: r7935
Richard Kenner [Mon, 15 Aug 1994 23:31:15 +0000 (19:31 -0400)]
(index0): New function.
(trigraph_pcp): Use index0 instead of index, so that a null byte
doesn't suppress further trigraph preprocessing.
From-SVN: r7934
Richard Kenner [Mon, 15 Aug 1994 23:26:36 +0000 (19:26 -0400)]
(rescan, do_ident): Pass more accurate size request to check_expand.
From-SVN: r7933
Richard Kenner [Mon, 15 Aug 1994 23:18:56 +0000 (19:18 -0400)]
(main): Don't dump core if given -pcp, -MD, or -MMD without following
arg.
From-SVN: r7932
Richard Kenner [Mon, 15 Aug 1994 21:56:27 +0000 (17:56 -0400)]
(expand_elseif): New function.
From-SVN: r7931
Stan Shebs [Mon, 15 Aug 1994 20:36:55 +0000 (20:36 +0000)]
Initial revision
From-SVN: r7930
Kresten Krab Thorup [Mon, 15 Aug 1994 16:03:36 +0000 (16:03 +0000)]
(objc_sizeof_type): Assign from ROUND,
don't increment. Remove ; after while to fix infinite loop.
Add float and double cases.
(objc_alignof_type): Add float and double cases.
From-SVN: r7929
Kresten Krab Thorup [Mon, 15 Aug 1994 15:51:03 +0000 (15:51 +0000)]
encoding.c (objc_sizeof_type): Should assign from ROUND, not increment.
* objc/encoding.c (objc_sizeof_type): Should assign from ROUND,
not increment. Remove ; after while to fix infinite loop.
Add support for floats and doubles.
(objc_alignof_type): Add support for floats and doubles.
* objc/selector.c (): Use __objc_selector_names, not
__objc_selector_array.
(sel_types_match): New function.
(sel_get_typed_uid): Modified to use sel_types_match, so that we
can get typed selectors in an architecture-independent way. Fixed
strcmp that should have been !strcmp.
From-SVN: r7928
Jeff Law [Mon, 15 Aug 1994 01:57:21 +0000 (19:57 -0600)]
pa.h (ASM_OUTPUT_ALIGNED_COMMON, [...]): Define.
* pa.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL):
Define.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
From-SVN: r7927
Jeff Law [Mon, 15 Aug 1994 01:55:59 +0000 (19:55 -0600)]
pa.c (hppa_expand_prologue): Avoid writing outside the current stack boundary in code to handle large stack...
* pa.c (hppa_expand_prologue): Avoid writing outside the current
stack boundary in code to handle large stack frames.
From-SVN: r7926
Jim Wilson [Sun, 14 Aug 1994 23:13:22 +0000 (16:13 -0700)]
(loop_iterations): Use PREV_INSN not prev_nonnote_insn.
From-SVN: r7925
Jim Wilson [Sun, 14 Aug 1994 23:09:56 +0000 (16:09 -0700)]
(ASM_OUTPUT_NEWLINE): Delete.
(ASM_OUTPUT_ASCII): Don't use ASM_OUTPUT_NEWLINE.
From-SVN: r7924
Jim Wilson [Sun, 14 Aug 1994 23:09:34 +0000 (16:09 -0700)]
(ASM_OUTPUT_NEWLINE): Delete.
(ASM_OUTPUT_ASCII): Define.
From-SVN: r7923
Jim Wilson [Sun, 14 Aug 1994 23:03:47 +0000 (16:03 -0700)]
(va_start): Add cast to __gnuc_va_list type.
From-SVN: r7922
Jim Wilson [Sun, 14 Aug 1994 23:01:37 +0000 (16:01 -0700)]
(mark_used_regs): When adding REG_DEAD notes...
(mark_used_regs): When adding REG_DEAD notes, check for
the case where a multiple register hard reg overlaps a register
set by the insn.
From-SVN: r7921
Jim Wilson [Sun, 14 Aug 1994 23:00:43 +0000 (16:00 -0700)]
(distribute_notes, case REG_DEAD): Add another
find_reg_fusage call.
From-SVN: r7920
Jim Wilson [Sun, 14 Aug 1994 22:59:58 +0000 (15:59 -0700)]
(attach_deaths): When adding REG_DEAD notes...
(attach_deaths): When adding REG_DEAD notes, check for
the case where a multiple register hard reg overlaps a register
set by the insn.
From-SVN: r7919
Jim Wilson [Sun, 14 Aug 1994 22:55:17 +0000 (15:55 -0700)]
(calculate_giv_inc): Handle constants loaded with IOR.
From-SVN: r7918
Richard Stallman [Sun, 14 Aug 1994 21:29:21 +0000 (21:29 +0000)]
(skip_if_group): New arg op. All callers changed.
If output_conditionals is true, output text of failed conditionals.
(conditional_skip): New arg op. All callers changed.
(main): Handle -ifoutput option.
From-SVN: r7917
Richard Kenner [Sun, 14 Aug 1994 13:51:43 +0000 (09:51 -0400)]
(print_node{,_brief}): Use REAL_VALUE_TO_DECIMAL to print REAL_CST
ifdef REAL_ARITHMETIC.
From-SVN: r7916
Richard Kenner [Sun, 14 Aug 1994 09:58:18 +0000 (05:58 -0400)]
(count_possible_groups) Pass CLASS as arg and only try to find groups
of that class.
From-SVN: r7915
Jim Wilson [Sat, 13 Aug 1994 21:12:08 +0000 (14:12 -0700)]
Renamed from t-sunos4.
From-SVN: r7914
Jim Wilson [Sat, 13 Aug 1994 21:11:09 +0000 (14:11 -0700)]
New file.
From-SVN: r7913
Jeff Law [Sat, 13 Aug 1994 17:51:15 +0000 (11:51 -0600)]
reload1.c (emit_reload_insns): Handle a secondary input reload which needs to use secondary memory too.
* reload1.c (emit_reload_insns): Handle a secondary input reload
which needs to use secondary memory too.
From-SVN: r7912
Richard Kenner [Fri, 12 Aug 1994 23:05:07 +0000 (19:05 -0400)]
(set_nonvarying_address_components): If BASE is CONST_INT, add value to start and set BASE to const0_rtx.
(set_nonvarying_address_components): If BASE is CONST_INT, add value to start
and set BASE to const0_rtx.
(refers_to_mem_p): Don't do it here.
From-SVN: r7911
Richard Kenner [Fri, 12 Aug 1994 22:59:51 +0000 (18:59 -0400)]
(expand_inline_function): Use single_set when appropriate.
Delete insn that sets static_chain_incoming_rtx before its use.
(subst_constants): Treat virtual reg as constant.
From-SVN: r7910
Richard Kenner [Fri, 12 Aug 1994 22:59:14 +0000 (18:59 -0400)]
(expand_function_start): Add redundant copy to static_chain_incoming_rtx if...
(expand_function_start): Add redundant copy to
static_chain_incoming_rtx if SMALL_REGISTER_CLASS so inlining works
properly.
From-SVN: r7909
Ian Lance Taylor [Fri, 12 Aug 1994 22:54:56 +0000 (22:54 +0000)]
Let mips_cpu and mips_cpu_string be defaulted.
From-SVN: r7908
Richard Kenner [Fri, 12 Aug 1994 18:58:02 +0000 (14:58 -0400)]
(movsf): Don't truncate if not register; clean up.
From-SVN: r7907
Richard Kenner [Fri, 12 Aug 1994 18:57:01 +0000 (14:57 -0400)]
(simplify_rtx, case FLOAT_TRUNCATE): Remove redundant float_truncate.
From-SVN: r7906
Richard Kenner [Fri, 12 Aug 1994 18:56:26 +0000 (14:56 -0400)]
(stupid_mark_refs): Only show changes size if one mode is integral.
From-SVN: r7905
Richard Kenner [Fri, 12 Aug 1994 18:56:03 +0000 (14:56 -0400)]
(mark_used_regs): Only show changes size if one mode is integral.
From-SVN: r7904
Stan Cox [Fri, 12 Aug 1994 17:43:12 +0000 (17:43 +0000)]
Made -pipe work for -msvr4. Added -D*_TARGET definitions.
From-SVN: r7903
Stan Cox [Fri, 12 Aug 1994 17:41:31 +0000 (17:41 +0000)]
Use bcnd instead of bb0/bb1 for optimize cases
From-SVN: r7902
Richard Kenner [Fri, 12 Aug 1994 13:10:54 +0000 (09:10 -0400)]
Fix typo in last change.
From-SVN: r7901
Richard Kenner [Fri, 12 Aug 1994 11:52:04 +0000 (07:52 -0400)]
(duplicate_decls): Suppress -Wredundant-decls warning if we have
already given an error.
From-SVN: r7900
Jason Merrill [Fri, 12 Aug 1994 08:28:45 +0000 (08:28 +0000)]
(expand_anon_union_decl): Fix up the alignment and mode
of the member VAR_DECLs.
From-SVN: r7899
Per Bothner [Thu, 11 Aug 1994 22:18:53 +0000 (15:18 -0700)]
Fix to previous check-in.
From-SVN: r7898
Richard Kenner [Thu, 11 Aug 1994 21:00:10 +0000 (17:00 -0400)]
*** empty log message ***
From-SVN: r7897
Richard Kenner [Thu, 11 Aug 1994 20:41:33 +0000 (16:41 -0400)]
(rescan): Fix botches with `-lint': the output buffer pointer was not recached properly, leading to lost output.
(rescan): Fix botches with `-lint': the output buffer pointer was not
recached properly, leading to lost output. Also, buffer overrun was
possible.
From-SVN: r7896
Per Bothner [Thu, 11 Aug 1994 20:41:05 +0000 (13:41 -0700)]
* tree.c (stabilize_reference): Handle COMPOUND_EXPR.
From-SVN: r7895
Per Bothner [Thu, 11 Aug 1994 20:36:33 +0000 (13:36 -0700)]
If NO_IMPLICIT_EXTERN_C is defined, add extern "C" { ... }.
From-SVN: r7894
Richard Kenner [Thu, 11 Aug 1994 18:23:38 +0000 (14:23 -0400)]
(dump_defn_1): Skip newlines and strings correctly.
From-SVN: r7893
Richard Kenner [Thu, 11 Aug 1994 18:09:15 +0000 (14:09 -0400)]
(FUNCTION_PROFILER): Load global pointer from $27, not $26.
From-SVN: r7892
Richard Kenner [Thu, 11 Aug 1994 17:55:23 +0000 (13:55 -0400)]
entered into RCS
From-SVN: r7891
Richard Kenner [Thu, 11 Aug 1994 17:52:11 +0000 (13:52 -0400)]
(NO_DOT_IN_LABEL): Define if HPUX_ASM.
From-SVN: r7890
Richard Kenner [Thu, 11 Aug 1994 17:13:20 +0000 (13:13 -0400)]
(find_auto_inc): Ensure that all proposed changes to insns are valid
before commiting to the auto-inc.
From-SVN: r7889
Richard Kenner [Thu, 11 Aug 1994 17:12:06 +0000 (13:12 -0400)]
(BLOCK_PROFILER): Use $26 and $27 instead of $0 and $1.
From-SVN: r7888
Richard Kenner [Thu, 11 Aug 1994 17:09:32 +0000 (13:09 -0400)]
(ASM_OUTPUT_SOURCE_LINE): Call assemble_name.
From-SVN: r7887
Richard Kenner [Thu, 11 Aug 1994 16:56:59 +0000 (12:56 -0400)]
(expand_builtin): Relegate sin and cos to ffast-math.
From-SVN: r7886
Richard Kenner [Thu, 11 Aug 1994 16:48:40 +0000 (12:48 -0400)]
(expand_call): Ensure we call force_operand on structure_value_addr.
From-SVN: r7885
Richard Kenner [Thu, 11 Aug 1994 16:43:10 +0000 (12:43 -0400)]
(mostlyclean): Add missing -f.
From-SVN: r7884
Jeff Law [Tue, 9 Aug 1994 06:03:07 +0000 (00:03 -0600)]
pa.md (default set high): Do not accept function label arithmetic as a valid operand.
* pa.md (default set high): Do not accept function label arithmetic
as a valid operand.
(default lo_sum): Likewise.
From-SVN: r7883
Jeff Law [Tue, 9 Aug 1994 06:03:07 +0000 (00:03 -0600)]
pa.c (hppa_legitimize_address): Do nothing with function label arithmetic.
* pa.c (hppa_legitimize_address): Do nothing with function label
arithmetic.
(emit_move_sequence): Split up function label arithmetic so that
function's address is loaded first, then constant part is added to
the function's address.
(is_function_label_plus_const): New function.
From-SVN: r7882
Richard Kenner [Mon, 8 Aug 1994 23:56:06 +0000 (19:56 -0400)]
(print_operand_address): A patch for 2.5.8 ended up at the wrong place.
(print_operand_address): A patch for 2.5.8 ended up at the wrong
place. Moved.
From-SVN: r7881
Richard Kenner [Mon, 8 Aug 1994 23:55:43 +0000 (19:55 -0400)]
(TARGET_BITFIELD): New macro.
(TARGET_SWITCHES): Support for TARGET_BITFIELD.
From-SVN: r7880
Richard Kenner [Mon, 8 Aug 1994 23:55:09 +0000 (19:55 -0400)]
(all patterns that use ins/inss and ext/exts): Disallow use of these
instructions when -mnobitfield is specified.
From-SVN: r7879
Richard Kenner [Mon, 8 Aug 1994 23:50:27 +0000 (19:50 -0400)]
(write_rbrac): Set up to use fixed headers if __USE_FIXED_HEADERS__ is
defined.
From-SVN: r7878
Richard Kenner [Mon, 8 Aug 1994 23:41:47 +0000 (19:41 -0400)]
(create_definition): Warn about `#define a@'...
(create_definition): Warn about `#define a@', since a diagnostic is
now required (see ISO TC1's addition to subclause 6.8). Also warn
about `#define is-empty(x) (!x)'.
From-SVN: r7877
Richard Kenner [Mon, 8 Aug 1994 23:36:17 +0000 (19:36 -0400)]
(emit_reload_insns): Always clear new_spill_reg_store.
From-SVN: r7876
Richard Kenner [Mon, 8 Aug 1994 23:25:16 +0000 (19:25 -0400)]
(find_reloads): Force reload for paradoxical SUBREG of MEM if
BYTES_BIG_ENDIAN.
From-SVN: r7875
Richard Kenner [Mon, 8 Aug 1994 23:12:43 +0000 (19:12 -0400)]
(READONLY_DATA_SECTION): Remove definition.
From-SVN: r7874
Richard Kenner [Mon, 8 Aug 1994 21:08:00 +0000 (17:08 -0400)]
(expand_function_start): Only use static_chain_incoming_rtx once if it
is a REG and we have SMALL_REGISTER_CLASSES.
From-SVN: r7873
Richard Kenner [Mon, 8 Aug 1994 20:32:28 +0000 (16:32 -0400)]
(CLASS_CANNOT_CHANGE_SIZE): New macro.
From-SVN: r7872
Richard Kenner [Mon, 8 Aug 1994 20:31:51 +0000 (16:31 -0400)]
(find_free_reg): Fix typo in last change.
From-SVN: r7871
Richard Kenner [Sun, 7 Aug 1994 12:54:28 +0000 (08:54 -0400)]
(CLASS_CANNOT_CHANGE_SIZE): New macro.
From-SVN: r7870
Richard Kenner [Sun, 7 Aug 1994 12:53:44 +0000 (08:53 -0400)]
(eliminate_regs, case SUBREG): Add USE of pseudo so we don't
improperly delete an output reload.
From-SVN: r7869
Richard Kenner [Sun, 7 Aug 1994 12:53:02 +0000 (08:53 -0400)]
(push_reload): Make test in LOAD_EXTEND_OP case more precise; handle CLASS_CANNOT_CHANGE_SIZE.
(push_reload): Make test in LOAD_EXTEND_OP case more precise; handle
CLASS_CANNOT_CHANGE_SIZE.
(find_relods): When setting force_reloads, make LOAD_EXTEND_OP case
more precise.
From-SVN: r7868
Richard Kenner [Sun, 7 Aug 1994 12:52:33 +0000 (08:52 -0400)]
(regs_change_size): New variable.
(stupid_life_analysis): Alloc, init and pass it to stupid_free_reg.
(stupid_mark_regs): Set it.
(stupid_find_reg): New arg, CHANGES_SIZE; avoid regs in
CLASS_CANNOT_CHANGE_SIZE if defined and CHANGES_SIZE nonzero.
From-SVN: r7867
Richard Kenner [Sun, 7 Aug 1994 12:52:03 +0000 (08:52 -0400)]
(find_reg) If CLASS_CANNOT_CHANGE_SIZE, avoid its registers if
reg_changes_size.
From-SVN: r7866
Richard Kenner [Sun, 7 Aug 1994 12:51:35 +0000 (08:51 -0400)]
(qty_changes_size): New variable.
(alloc_qty{,_for_scratch}, update_qty_class): Set it.
(local_alloc): Allocate it.
(find_free_reg): If CLASS_CANNOT_CHANGE_SIZE, avoid its registers if
qty_changes_size.
From-SVN: r7865
Richard Kenner [Sun, 7 Aug 1994 12:51:03 +0000 (08:51 -0400)]
(reg_changes_size): New variable.
(allocate_for_life_analysis): Allocate and initialize it.
(mark_used_regs, case SUBREG): Set it.
From-SVN: r7864
Richard Kenner [Sun, 7 Aug 1994 12:50:40 +0000 (08:50 -0400)]
(reg_changes_size): Add declaration.
From-SVN: r7863
Mike Stump [Fri, 5 Aug 1994 20:25:20 +0000 (20:25 +0000)]
45th Cygnus<->FSF merge
From-SVN: r7862
Jason Merrill [Fri, 5 Aug 1994 19:02:42 +0000 (19:02 +0000)]
(expand_expr...
(expand_expr, COND_EXPR case): Use truthvalue_conversion
to make the condition for running cleanups acceptable to
invert_truthvalue.
From-SVN: r7861
Jim Wilson [Fri, 5 Aug 1994 16:29:21 +0000 (09:29 -0700)]
(expand_mult): Accept DImode for synth_mult only if CONST_DOUBLE_HIGH is zero.
(expand_mult): Accept DImode for synth_mult only if
CONST_DOUBLE_HIGH is zero. Reject negative values for synth_mult
if the mode is larger than HOST_BITS_PER_INT. Don't do the
negate_variant if the mode is larger than HOST_BITS_PER_INT.
From-SVN: r7860
Jim Wilson [Fri, 5 Aug 1994 16:22:40 +0000 (09:22 -0700)]
(DO_GLOBAL_CTORS_BODY): Use long instead of
HOST_WIDE_INT.
From-SVN: r7859
Jim Wilson [Fri, 5 Aug 1994 16:14:36 +0000 (09:14 -0700)]
(distclean): Delete it.
From-SVN: r7858
Jason Merrill [Fri, 5 Aug 1994 01:49:31 +0000 (01:49 +0000)]
(defer_cleanups_to): Put back line which was mistakenly
removed.
From-SVN: r7857
Doug Evans [Thu, 4 Aug 1994 01:36:07 +0000 (01:36 +0000)]
(v9 va_start): Pass an arg to __builtin_next_arg.
(v9 va_arg): Advance over float's.
From-SVN: r7856
Doug Evans [Thu, 4 Aug 1994 01:34:34 +0000 (01:34 +0000)]
(v9 sparc_builtin_saveregs): Save quadword fp regs on 16 byte boundaries.
(v9 sparc_builtin_saveregs): Save quadword fp regs on
16 byte boundaries. Handle non-zero number of named fp args.
From-SVN: r7855
Ian Lance Taylor [Wed, 3 Aug 1994 15:13:59 +0000 (15:13 +0000)]
Various changes to avoid clobbering glibc header files
From-SVN: r7854
Richard Kenner [Tue, 2 Aug 1994 23:06:41 +0000 (19:06 -0400)]
(simplify_unary_operation): Clean up some mode and size checks with
CONST_DOUBLEs; TRUNCATE should do nothing.
From-SVN: r7853
Richard Kenner [Tue, 2 Aug 1994 22:38:10 +0000 (18:38 -0400)]
(subst_prev_insn): Remove variable and all uses.
From-SVN: r7852
Jim Wilson [Tue, 2 Aug 1994 18:53:35 +0000 (11:53 -0700)]
(V9_SWITCHES): Add -mmedlow, -mmedany.
(TARGET_OPTIONS): Delete.
(CONDITIONAL_REGISTER_USAGE): Don't unfix %g4 if -mmedany.
From-SVN: r7851
Jim Wilson [Tue, 2 Aug 1994 18:51:03 +0000 (11:51 -0700)]
(sparc_code_model): Delete.
(sparc_override_options): Code model flags only useable with v9.
From-SVN: r7850