Charles Hannum [Thu, 25 Aug 1994 00:24:48 +0000 (00:24 +0000)]
Rearrange handling of NetBSD ports.
From-SVN: r7977
Charles Hannum [Wed, 24 Aug 1994 23:27:35 +0000 (23:27 +0000)]
Add da30-* for da30-unknown-netbsd*.
From-SVN: r7976
Charles Hannum [Wed, 24 Aug 1994 23:19:42 +0000 (23:19 +0000)]
Remove mac68k-*.
From-SVN: r7975
Richard Kenner [Wed, 24 Aug 1994 23:16:12 +0000 (19:16 -0400)]
(expand_call): Check for variable-sized return value in proper place.
From-SVN: r7974
Richard Kenner [Wed, 24 Aug 1994 22:43:25 +0000 (18:43 -0400)]
(print_node_brief...
(print_node_brief, print_node): Use assignment instead of
initialization for aggregate local variable REAL_VALUE_TYPE d.
From-SVN: r7973
Ian Lance Taylor [Wed, 24 Aug 1994 22:30:43 +0000 (22:30 +0000)]
Define ASM_OUTPUT_SECTION_NAME
From-SVN: r7972
Ian Lance Taylor [Wed, 24 Aug 1994 22:30:29 +0000 (22:30 +0000)]
Add #alloc to ASM_OUTPUT_SECTION_NAME
From-SVN: r7971
Richard Kenner [Wed, 24 Aug 1994 22:28:40 +0000 (18:28 -0400)]
(default_conversion): Don't substitute constant value if array since
will return address.
From-SVN: r7970
Richard Kenner [Wed, 24 Aug 1994 21:45:11 +0000 (17:45 -0400)]
(parmlist_2): Give error for function with only ELLIPSIS as an
argument.
From-SVN: r7969
Richard Kenner [Wed, 24 Aug 1994 21:36:18 +0000 (17:36 -0400)]
(STARTFILE_SPEC): Add %{static:-static}.
From-SVN: r7968
Richard Kenner [Wed, 24 Aug 1994 21:15:04 +0000 (17:15 -0400)]
(call): Rework to use macro version of jsr.
From-SVN: r7967
Richard Kenner [Wed, 24 Aug 1994 21:13:28 +0000 (17:13 -0400)]
(call_operand): New function.
(output_epilog): Don't set SYMBOL_REF_FLAG of current function.
From-SVN: r7966
Richard Kenner [Wed, 24 Aug 1994 21:11:41 +0000 (17:11 -0400)]
(EXTRA_CONSTRAINT): Add new letter, `R'.
(ENCODE_SECTION_INFO): Don't check TREE_ASM_WRITTEN.
(PREDICATE_COSTS): Add call_operand.
From-SVN: r7965
Richard Kenner [Wed, 24 Aug 1994 18:34:20 +0000 (14:34 -0400)]
(push_init_level): Don't blow up if construct_type is null (can happen
with missing brace).
From-SVN: r7964
Michael Meissner [Wed, 24 Aug 1994 14:47:50 +0000 (14:47 +0000)]
Undo previous change to REG_ALLOC_ORDER.
From-SVN: r7963
Charles Hannum [Wed, 24 Aug 1994 04:23:07 +0000 (04:23 +0000)]
*** empty log message ***
From-SVN: r7962
Charles Hannum [Wed, 24 Aug 1994 04:07:50 +0000 (04:07 +0000)]
Add NetBSD support.
From-SVN: r7961
Richard Stallman [Tue, 23 Aug 1994 06:04:59 +0000 (06:04 +0000)]
Move m68k-ccur handling to proper part of file.
Canonicalize cpu type pentium into i486. (Change it to i586 later.)
From-SVN: r7960
Steve Chamberlain [Tue, 23 Aug 1994 02:16:00 +0000 (02:16 +0000)]
*** empty log message ***
From-SVN: r7959
Steve Chamberlain [Tue, 23 Aug 1994 02:07:34 +0000 (02:07 +0000)]
*** empty log message ***
From-SVN: r7958
Jeff Law [Mon, 22 Aug 1994 03:15:12 +0000 (21:15 -0600)]
pa.h (FUNCTION_ARG): Use indirect calling conventions when TARGET_LONG_CALLS is in effect.
* pa.h (FUNCTION_ARG): Use indirect calling conventions when
TARGET_LONG_CALLS is in effect.
From-SVN: r7957
Jim Wilson [Sat, 20 Aug 1994 17:31:16 +0000 (10:31 -0700)]
sched.c (sched_analyze_insn): Add new parameter loop_note.
* sched.c (sched_analyze_insn): Add new parameter loop_note.
If loop_note set, then serialize on this insn.
(sched_analyze): New variable loop_note. Pass to
sched_analyze_insn. Set it if we pass a NOTE_INSN_LOOP_BEG or
NOTE_INSN_LOOP_END.
(unlink_notes): Don't save away NOTE_INSN_LOOP_BEG or
NOTE_INSN_LOOP_END notes.
(schedule_block): Generalize code that looks for magic REG_DEAD
notes and converts them to notes.
From-SVN: r7956
Michael Meissner [Sat, 20 Aug 1994 16:46:44 +0000 (16:46 +0000)]
Allocate eax before edx.
From-SVN: r7955
Jim Wilson [Sat, 20 Aug 1994 00:20:05 +0000 (17:20 -0700)]
(build_type_variant): Only return existing type if it
also has the same TYPE_NAME.
From-SVN: r7954
Jim Wilson [Sat, 20 Aug 1994 00:14:21 +0000 (17:14 -0700)]
(NO_IMPLICIT_EXTERN_C): Comment out.
From-SVN: r7953
Per Bothner [Fri, 19 Aug 1994 23:49:28 +0000 (16:49 -0700)]
Use $FIX_HEADER macro instead of calling fix-header directly.
From-SVN: r7952
Richard Kenner [Fri, 19 Aug 1994 23:23:00 +0000 (19:23 -0400)]
(emit_move_insn_1): Never make a no-conflict block.
From-SVN: r7951
Richard Kenner [Fri, 19 Aug 1994 21:34:11 +0000 (17:34 -0400)]
(function_cannot_inline): Don't inline if any parm is a transparent
union.
From-SVN: r7950
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