Commit Graph

7937 Commits

Author SHA1 Message Date
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
Jim Wilson
1827f5ca56 (ASM_OUTPUT_NEWLINE): Delete.
(ASM_OUTPUT_ASCII): Define.

From-SVN: r7923
1994-08-14 16:09:34 -07:00
Jim Wilson
67c87d4287 (va_start): Add cast to __gnuc_va_list type.
From-SVN: r7922
1994-08-14 16:03:47 -07:00
Jim Wilson
ab28041e5a (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
1994-08-14 16:01:37 -07:00
Jim Wilson
17cbf35871 (distribute_notes, case REG_DEAD): Add another
find_reg_fusage call.

From-SVN: r7920
1994-08-14 16:00:43 -07:00
Jim Wilson
96cbe26ae9 (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
1994-08-14 15:59:58 -07:00
Jim Wilson
8700c49499 (calculate_giv_inc): Handle constants loaded with IOR.
From-SVN: r7918
1994-08-14 15:55:17 -07:00
Richard Stallman
bbd4b75be0 (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
1994-08-14 21:29:21 +00:00
Richard Kenner
86b38416af (print_node{,_brief}): Use REAL_VALUE_TO_DECIMAL to print REAL_CST
ifdef REAL_ARITHMETIC.

From-SVN: r7916
1994-08-14 09:51:43 -04:00
Richard Kenner
066aca280f (count_possible_groups) Pass CLASS as arg and only try to find groups
of that class.

From-SVN: r7915
1994-08-14 05:58:18 -04:00
Jim Wilson
a49fdcae47 Renamed from t-sunos4.
From-SVN: r7914
1994-08-13 14:12:08 -07:00
Jim Wilson
4b09e474cd New file.
From-SVN: r7913
1994-08-13 14:11:09 -07:00
Jeff Law
cf19d2a9d8 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
1994-08-13 11:51:15 -06:00
Richard Kenner
336d6f0a7e (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
1994-08-12 19:05:07 -04:00
Richard Kenner
c9734bb90e (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
1994-08-12 18:59:51 -04:00
Richard Kenner
426749e8af (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
1994-08-12 18:59:14 -04:00
Ian Lance Taylor
a349007c7b Let mips_cpu and mips_cpu_string be defaulted.
From-SVN: r7908
1994-08-12 22:54:56 +00:00
Richard Kenner
f2974b0710 (movsf): Don't truncate if not register; clean up.
From-SVN: r7907
1994-08-12 14:58:02 -04:00
Richard Kenner
1d12df723d (simplify_rtx, case FLOAT_TRUNCATE): Remove redundant float_truncate.
From-SVN: r7906
1994-08-12 14:57:01 -04:00
Richard Kenner
7d79bcc169 (stupid_mark_refs): Only show changes size if one mode is integral.
From-SVN: r7905
1994-08-12 14:56:26 -04:00
Richard Kenner
5638ef0d7b (mark_used_regs): Only show changes size if one mode is integral.
From-SVN: r7904
1994-08-12 14:56:03 -04:00
Stan Cox
04c9e540c7 Made -pipe work for -msvr4. Added -D*_TARGET definitions.
From-SVN: r7903
1994-08-12 17:43:12 +00:00
Stan Cox
28051ef589 Use bcnd instead of bb0/bb1 for optimize cases
From-SVN: r7902
1994-08-12 17:41:31 +00:00
Richard Kenner
5ce574f2c6 Fix typo in last change.
From-SVN: r7901
1994-08-12 09:10:54 -04:00