Michael Meissner [Sat, 3 Sep 1994 18:18:53 +0000 (18:18 +0000)]
Fix DImode move problems.
From-SVN: r8022
Jason Merrill [Fri, 2 Sep 1994 23:40:51 +0000 (23:40 +0000)]
(min_precision): Move to c-common.c
From-SVN: r8021
Jason Merrill [Fri, 2 Sep 1994 23:40:51 +0000 (23:40 +0000)]
(min_precision): Move from c-decl.c
From-SVN: r8020
Per Bothner [Fri, 2 Sep 1994 21:01:30 +0000 (14:01 -0700)]
* tree.h (maximum_field_alignment, set_alignment): New declarations.
From-SVN: r8019
Ian Lance Taylor [Fri, 2 Sep 1994 18:35:32 +0000 (18:35 +0000)]
Only define PREFERRED_DEBUGGING_TYPE if it is not already defined.
From-SVN: r8018
Ian Lance Taylor [Fri, 2 Sep 1994 18:25:11 +0000 (18:25 +0000)]
Add support for -gstabs on SVR4 configurations.
From-SVN: r8017
Michael Meissner [Fri, 2 Sep 1994 02:12:48 +0000 (02:12 +0000)]
Add better error messages than abort to reload1, and print insn involed.
From-SVN: r8016
Jason Merrill [Thu, 1 Sep 1994 23:33:02 +0000 (23:33 +0000)]
(type_list_equal): If the types of the default arguments
differ, the lists do not match.
From-SVN: r8015
Richard Kenner [Thu, 1 Sep 1994 23:29:51 +0000 (19:29 -0400)]
(stack-adjust/push peepholes): Addresses are moved with "addr", not
with "movd".
From-SVN: r8014
Richard Kenner [Thu, 1 Sep 1994 23:17:40 +0000 (19:17 -0400)]
(make_definition): Don't dump core when given an unterminated string
in a -D option.
From-SVN: r8013
Richard Kenner [Thu, 1 Sep 1994 23:13:19 +0000 (19:13 -0400)]
(convert_arguments): Give proper warnings when converting
COMPLEX_TYPE; widen check to include all integral types.
From-SVN: r8012
Per Bothner [Thu, 1 Sep 1994 00:43:07 +0000 (17:43 -0700)]
fixproto: Define FIX_HEADER (needed by Aug 19 change).
* fixproto: Define FIX_HEADER (needed by Aug 19 change).
Use FIX_HEADER instead of $original_dir/fix-header (twice).
From-SVN: r8011
Per Bothner [Thu, 1 Sep 1994 00:15:03 +0000 (17:15 -0700)]
stor-layout.c (set_alignment): New global.
* stor-layout.c (set_alignment): New global.
(layout-type): Add support for SET_TYPE.
From-SVN: r8010
Per Bothner [Wed, 31 Aug 1994 23:42:28 +0000 (16:42 -0700)]
stmt.c (all_cases_count, [...]): New functions.
* stmt.c (all_cases_count, mark_seen_cases): New functions.
(BITARRAY_TEST, BITARRAY_SET): New macros. Used (mainly by
Chill) to check all cases are covered (for enums and ranges).
(check_for_full_enumeration_handling): Re-write to use the
new functions, now that we have them.
From-SVN: r8009
Jason Merrill [Wed, 31 Aug 1994 23:38:37 +0000 (23:38 +0000)]
(warn_if_unused_value): Extend special case for casted
MODIFY_EXPRs to apply to INIT_EXPRs as well.
From-SVN: r8008
Per Bothner [Wed, 31 Aug 1994 23:29:53 +0000 (16:29 -0700)]
expmed.c (store_bit_field): Semi-revert Aug 25 change: Make it apply only for BLKmode, not integral modes.
* expmed.c (store_bit_field): Semi-revert Aug 25 change:
Make it apply only for BLKmode, not integral modes.
From-SVN: r8007
Richard Kenner [Wed, 31 Aug 1994 23:17:29 +0000 (19:17 -0400)]
(nonzero_bits, cases DIV, MOD, UDIV, UMOD): Declare op0_maybe_minusp
and op1_maybe_minusp as HOST_WIDE_INT.
From-SVN: r8006
Richard Kenner [Wed, 31 Aug 1994 22:54:44 +0000 (18:54 -0400)]
(store_split_bit_field): Always adjust arg to extract_fixed_bit_field
in BYTES_BIG_ENDIAN case.
From-SVN: r8005
Stan Cox [Wed, 31 Aug 1994 13:53:39 +0000 (13:53 +0000)]
Some assemblers put a "." before pseudo-ops
From-SVN: r8004
Roland McGrath [Wed, 31 Aug 1994 06:49:30 +0000 (06:49 +0000)]
(LIB_SPEC): New macro.
From-SVN: r8003
Jason Merrill [Tue, 30 Aug 1994 23:36:05 +0000 (23:36 +0000)]
Add -Wreorder
From-SVN: r8002
Jeff Law [Tue, 30 Aug 1994 17:56:39 +0000 (11:56 -0600)]
* combine.c (simplify_comparison, case GEU): Add missing break.
From-SVN: r8001
Richard Kenner [Mon, 29 Aug 1994 21:50:48 +0000 (17:50 -0400)]
(extv, extzv): Don't use ROTL when field is outside boundaries of a
word.
From-SVN: r8000
Stan Cox [Mon, 29 Aug 1994 21:43:34 +0000 (21:43 +0000)]
Added coff and elf support.
From-SVN: r7999
Stan Cox [Mon, 29 Aug 1994 19:25:21 +0000 (19:25 +0000)]
Initial revision
From-SVN: r7998
Kresten Krab Thorup [Mon, 29 Aug 1994 15:43:01 +0000 (15:43 +0000)]
(objc_get_meta_class): New function.
From-SVN: r7997
Kresten Krab Thorup [Mon, 29 Aug 1994 15:42:11 +0000 (15:42 +0000)]
(get_imp): don't inline on i386.
From-SVN: r7996
Per Bothner [Mon, 29 Aug 1994 01:19:13 +0000 (18:19 -0700)]
Various fixes (freebsd, ncr, nextstep): See ChangeLog.
From-SVN: r7995
Michael Meissner [Sun, 28 Aug 1994 03:22:52 +0000 (03:22 +0000)]
Fix indexing off arg ptr & push of byte values.
From-SVN: r7994
Per Bothner [Fri, 26 Aug 1994 23:19:19 +0000 (16:19 -0700)]
(netbsd, freebsd, linux): Accept any machine, not just i[34]86.
From-SVN: r7993
Richard Kenner [Fri, 26 Aug 1994 22:45:20 +0000 (18:45 -0400)]
Recognize powerpc-ibm-aix3.2.5.
From-SVN: r7992
Per Bothner [Fri, 26 Aug 1994 22:21:31 +0000 (15:21 -0700)]
Merges from Cygnus version.
From-SVN: r7991
Michael Meissner [Fri, 26 Aug 1994 20:01:41 +0000 (20:01 +0000)]
Add -mno-wide-multiply, -mno-move, make addresses more compatible with other parts of compiler.
From-SVN: r7990
Michael Meissner [Fri, 26 Aug 1994 19:56:14 +0000 (19:56 +0000)]
Add -mno-wide-multiply, -mno-move, make addresses more compatible with other parts of compiler.
From-SVN: r7989
Richard Stallman [Fri, 26 Aug 1994 00:40:24 +0000 (00:40 +0000)]
entered into RCS
From-SVN: r7988
Richard Stallman [Fri, 26 Aug 1994 00:30:33 +0000 (00:30 +0000)]
*** empty log message ***
From-SVN: r7987
Richard Stallman [Fri, 26 Aug 1994 00:27:53 +0000 (00:27 +0000)]
*** empty log message ***
From-SVN: r7986
Per Bothner [Fri, 26 Aug 1994 00:15:35 +0000 (17:15 -0700)]
Always store into multi-word bitfields starting with low addresses.
From-SVN: r7985
Richard Kenner [Thu, 25 Aug 1994 23:21:18 +0000 (19:21 -0400)]
(record_jump_cond): Don't do anything if OP0 and OP1 are already
equivalent.
From-SVN: r7984
Richard Kenner [Thu, 25 Aug 1994 22:48:42 +0000 (18:48 -0400)]
(may_trap_p, case EXPR_LIST): New case.
From-SVN: r7983
Richard Kenner [Thu, 25 Aug 1994 22:31:16 +0000 (18:31 -0400)]
(CALL_USED_REGS): Add d2 and d3 as call-used.
From-SVN: r7982
Richard Kenner [Thu, 25 Aug 1994 21:43:46 +0000 (17:43 -0400)]
(shorten_compare): Don't issue warning if both operands constants and the...
(shorten_compare): Don't issue warning if both operands constants and
the signedness doesn't affect the comparison results.
From-SVN: r7981
Richard Kenner [Thu, 25 Aug 1994 15:47:10 +0000 (11:47 -0400)]
(print_node): Print more flags for types and decls.
From-SVN: r7980
Richard Kenner [Thu, 25 Aug 1994 15:30:29 +0000 (11:30 -0400)]
(type_lists_compatible_p): Treat transparent unions just like unnamed
ones.
From-SVN: r7979
Charles Hannum [Thu, 25 Aug 1994 00:37:35 +0000 (00:37 +0000)]
Revert pc532 handling.
From-SVN: r7978
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