Commit Graph

7921 Commits

Author SHA1 Message Date
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
Richard Kenner
8e5e53da6c (duplicate_decls): Suppress -Wredundant-decls warning if we have
already given an error.

From-SVN: r7900
1994-08-12 07:52:04 -04:00
Jason Merrill
7b9032dda3 (expand_anon_union_decl): Fix up the alignment and mode
of the member VAR_DECLs.

From-SVN: r7899
1994-08-12 08:28:45 +00:00
Per Bothner
55e2b88efc Fix to previous check-in.
From-SVN: r7898
1994-08-11 15:18:53 -07:00
Richard Kenner
861dfa9414 *** empty log message ***
From-SVN: r7897
1994-08-11 17:00:10 -04:00
Richard Kenner
b7150e4597 (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
1994-08-11 16:41:33 -04:00
Per Bothner
c451a7a05b * tree.c (stabilize_reference): Handle COMPOUND_EXPR.
From-SVN: r7895
1994-08-11 13:41:05 -07:00
Per Bothner
b4e21e27a3 If NO_IMPLICIT_EXTERN_C is defined, add extern "C" { ... }.
From-SVN: r7894
1994-08-11 13:36:33 -07:00
Richard Kenner
a3f2d1bab1 (dump_defn_1): Skip newlines and strings correctly.
From-SVN: r7893
1994-08-11 14:23:38 -04:00
Richard Kenner
08b2cb481a (FUNCTION_PROFILER): Load global pointer from $27, not $26.
From-SVN: r7892
1994-08-11 14:09:15 -04:00
Richard Kenner
1946750f3e entered into RCS
From-SVN: r7891
1994-08-11 13:55:23 -04:00
Richard Kenner
0660101543 (NO_DOT_IN_LABEL): Define if HPUX_ASM.
From-SVN: r7890
1994-08-11 13:52:11 -04:00
Richard Kenner
7280c2a4f0 (find_auto_inc): Ensure that all proposed changes to insns are valid
before commiting to the auto-inc.

From-SVN: r7889
1994-08-11 13:13:20 -04:00
Richard Kenner
70a76f06ad (BLOCK_PROFILER): Use $26 and $27 instead of $0 and $1.
From-SVN: r7888
1994-08-11 13:12:06 -04:00
Richard Kenner
853782273d (ASM_OUTPUT_SOURCE_LINE): Call assemble_name.
From-SVN: r7887
1994-08-11 13:09:32 -04:00
Richard Kenner
ba558a85d2 (expand_builtin): Relegate sin and cos to ffast-math.
From-SVN: r7886
1994-08-11 12:56:59 -04:00
Richard Kenner
5582b006ea (expand_call): Ensure we call force_operand on structure_value_addr.
From-SVN: r7885
1994-08-11 12:48:40 -04:00