Commit Graph

7960 Commits

Author SHA1 Message Date
Richard Kenner
7063dcbeb7 (print_node_brief...
(print_node_brief, print_node): Use assignment instead of
initialization for aggregate local variable REAL_VALUE_TYPE d.

From-SVN: r7973
1994-08-24 18:43:25 -04:00
Ian Lance Taylor
5748cda9cb Define ASM_OUTPUT_SECTION_NAME
From-SVN: r7972
1994-08-24 22:30:43 +00:00
Ian Lance Taylor
4ad24b993d Add #alloc to ASM_OUTPUT_SECTION_NAME
From-SVN: r7971
1994-08-24 22:30:29 +00:00
Richard Kenner
d4424a75ec (default_conversion): Don't substitute constant value if array since
will return address.

From-SVN: r7970
1994-08-24 18:28:40 -04:00
Richard Kenner
aff2a12b70 (parmlist_2): Give error for function with only ELLIPSIS as an
argument.

From-SVN: r7969
1994-08-24 17:45:11 -04:00
Richard Kenner
dc5627bf6a (STARTFILE_SPEC): Add %{static:-static}.
From-SVN: r7968
1994-08-24 17:36:18 -04:00
Richard Kenner
cc2394a432 (call): Rework to use macro version of jsr.
From-SVN: r7967
1994-08-24 17:15:04 -04:00
Richard Kenner
6bcf5f0a60 (call_operand): New function.
(output_epilog): Don't set SYMBOL_REF_FLAG of current function.

From-SVN: r7966
1994-08-24 17:13:28 -04:00
Richard Kenner
ac030a7b0c (EXTRA_CONSTRAINT): Add new letter, `R'.
(ENCODE_SECTION_INFO): Don't check TREE_ASM_WRITTEN.
(PREDICATE_COSTS): Add call_operand.

From-SVN: r7965
1994-08-24 17:11:41 -04:00
Richard Kenner
7eec3328e2 (push_init_level): Don't blow up if construct_type is null (can happen
with missing brace).

From-SVN: r7964
1994-08-24 14:34:20 -04:00
Michael Meissner
716b516278 Undo previous change to REG_ALLOC_ORDER.
From-SVN: r7963
1994-08-24 14:47:50 +00:00
Charles Hannum
b8592c8eb7 *** empty log message ***
From-SVN: r7962
1994-08-24 04:23:07 +00:00
Charles Hannum
bafceb93e8 Add NetBSD support.
From-SVN: r7961
1994-08-24 04:07:50 +00:00
Richard Stallman
b5f57ac850 Move m68k-ccur handling to proper part of file.
Canonicalize cpu type pentium into i486.  (Change it to i586 later.)

From-SVN: r7960
1994-08-23 06:04:59 +00:00
Steve Chamberlain
2d1aa7d8f5 *** empty log message ***
From-SVN: r7959
1994-08-23 02:16:00 +00:00
Steve Chamberlain
06c386eacf *** empty log message ***
From-SVN: r7958
1994-08-23 02:07:34 +00:00
Jeff Law
667f675947 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
1994-08-21 21:15:12 -06:00
Jim Wilson
208dc1d8f1 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
1994-08-20 10:31:16 -07:00
Michael Meissner
c4a9dd2e3a Allocate eax before edx.
From-SVN: r7955
1994-08-20 16:46:44 +00:00
Jim Wilson
e24fa53404 (build_type_variant): Only return existing type if it
also has the same TYPE_NAME.

From-SVN: r7954
1994-08-19 17:20:05 -07:00
Jim Wilson
b6d5307feb (NO_IMPLICIT_EXTERN_C): Comment out.
From-SVN: r7953
1994-08-19 17:14:21 -07:00
Per Bothner
47685b9c8d Use $FIX_HEADER macro instead of calling fix-header directly.
From-SVN: r7952
1994-08-19 16:49:28 -07:00
Richard Kenner
809ab85718 (emit_move_insn_1): Never make a no-conflict block.
From-SVN: r7951
1994-08-19 19:23:00 -04:00
Richard Kenner
c8ad69c183 (function_cannot_inline): Don't inline if any parm is a transparent
union.

From-SVN: r7950
1994-08-19 17:34:11 -04:00
Richard Kenner
5c1c34d393 (expand_call): If parm is transparent union, use type of first field.
From-SVN: r7949
1994-08-19 17:33:48 -04:00
Richard Kenner
3f46679a3c (assign_parms): If parm is transparent union, use type of first field.
From-SVN: r7948
1994-08-19 17:33:13 -04:00
Richard Kenner
ec83f2b381 (decl_attribute): Handle "transparent_union" attribute.
From-SVN: r7947
1994-08-19 17:32:52 -04:00
Richard Kenner
adb2306127 (struct tree_type): New field transparent_union_flag.
(struct tree_decl): New field transparent_union.
({DECL,TYPE}_TRANSPARENT_UNION): New macros.

From-SVN: r7946
1994-08-19 17:32:29 -04:00
Ian Lance Taylor
17c9628904 Canonicalize ${INPUT} to avoid automounter problems.
From-SVN: r7945
1994-08-19 16:01:48 +00:00
Kresten Krab Thorup
4d4d7c0e7f (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
1994-08-19 15:36:22 +00:00
Mike Stump
0059501924 46 Cygnus<->FSF merge
From-SVN: r7943
1994-08-18 20:50:43 +00:00
Jim Wilson
07d0cbddd4 (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
1994-08-18 11:09:33 -07:00
Richard Kenner
0179115349 (CLIPPER_ARG_SIZE): Return size in bytes.
(FUNCTION_ARG_ADVANCE): Fix argument alignment processing.

From-SVN: r7941
1994-08-17 18:31:36 -04:00
Richard Kenner
7e1d482b8c *** empty log message ***
From-SVN: r7940
1994-08-17 18:20:40 -04:00
Richard Kenner
e650cbda8f (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
1994-08-17 18:03:37 -04:00
Richard Kenner
9fb8a9748b (tablejump): Add SIGN_EXTEND to HImode offset so can add to SImode PC.
Likewise for matching pattern.

From-SVN: r7938
1994-08-17 18:03:02 -04:00
Richard Kenner
f79367423e (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
1994-08-17 18:01:17 -04:00
Jim Wilson
40ef093754 (ASM_OUTPUT_ASCII): Edit comment.
From-SVN: r7936
1994-08-17 10:10:29 -07:00
Noah Friedman
941a8cecd5 Updated comments.
From-SVN: r7935
1994-08-16 16:42:48 -04:00
Richard Kenner
0e7e3fc1a9 (index0): New function.
(trigraph_pcp): Use index0 instead of index, so that a null byte
doesn't suppress further trigraph preprocessing.

From-SVN: r7934
1994-08-15 19:31:15 -04:00
Richard Kenner
b415f25eef (rescan, do_ident): Pass more accurate size request to check_expand.
From-SVN: r7933
1994-08-15 19:26:36 -04:00
Richard Kenner
115ee3598d (main): Don't dump core if given -pcp, -MD, or -MMD without following
arg.

From-SVN: r7932
1994-08-15 19:18:56 -04:00
Richard Kenner
d947ba59f6 (expand_elseif): New function.
From-SVN: r7931
1994-08-15 17:56:27 -04:00
Stan Shebs
7695ec5fd4 Initial revision
From-SVN: r7930
1994-08-15 20:36:55 +00:00
Kresten Krab Thorup
f4e12fadd1 (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
1994-08-15 16:03:36 +00:00
Kresten Krab Thorup
121b312b90 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
1994-08-15 15:51:03 +00:00
Jeff Law
6b2821189a 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
1994-08-14 19:57:21 -06:00
Jeff Law
2ebb1b4217 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
1994-08-14 19:55:59 -06:00
Jim Wilson
40e81af5f0 (loop_iterations): Use PREV_INSN not prev_nonnote_insn.
From-SVN: r7925
1994-08-14 16:13:22 -07:00
Jim Wilson
87fc3db713 (ASM_OUTPUT_NEWLINE): Delete.
(ASM_OUTPUT_ASCII): Don't use ASM_OUTPUT_NEWLINE.

From-SVN: r7924
1994-08-14 16:09:56 -07:00