Commit Graph

11745 Commits

Author SHA1 Message Date
Richard Kenner 1427d6d2bc (insn_cuid): New function.
(INSN_CUID): Sometimes call it.

From-SVN: r11986
1996-05-17 08:54:54 -04:00
Richard Kenner fc94a55b92 Initial revision
From-SVN: r11985
1996-05-17 08:28:54 -04:00
Richard Kenner b8abf72abb entered into RCS
From-SVN: r11984
1996-05-17 08:27:31 -04:00
Richard Kenner a3381c2a7d Initial revision
From-SVN: r11983
1996-05-17 08:17:48 -04:00
Richard Kenner b2c6b6c6ac (OBJC_O): Add dependency for nil_method.c.
From-SVN: r11982
1996-05-17 08:17:07 -04:00
Richard Kenner 44ffc80b50 (nil_method): Deleted from here.
From-SVN: r11981
1996-05-17 08:16:46 -04:00
Richard Kenner cc06bcdb37 Include objc/objc.h here instead of in objc/hash.c to get BOOL typedef.
From-SVN: r11980
1996-05-17 08:12:32 -04:00
Richard Kenner 168887fa2c (hash_is_key_in_hash): New function.
From-SVN: r11979
1996-05-17 08:12:15 -04:00
Richard Kenner 7cd3c88d58 If Ada subdirectory present, adjust Makefile.
From-SVN: r11978
1996-05-17 08:01:44 -04:00
Richard Kenner 3464bdc413 If need_wint_t defined, nothing in this file is needed.
(_WINT_T, __WINT__TYPE__, wint_t): Define under certain circumstances.

From-SVN: r11977
1996-05-17 07:39:59 -04:00
Richard Kenner 30eca39133 (fold, case EQ_EXPR): When folding VAR++ = CONST, mask the new const
if VAR is a bitfield reference; also for VAR--.

From-SVN: r11976
1996-05-16 18:53:14 -04:00
Doug Evans c30ac67641 varasm.c (function_section): Delete flag_function_sections support.
* varasm.c (function_section): Delete flag_function_sections support.
	(assemble_start_function): Put it here.  Use UNIQUE_SECTION if defined.

From-SVN: r11975
1996-05-16 22:28:47 +00:00
Mike Stump 4ac1474483 86th Cygnus<->FSF quick merge
From-SVN: r11974
1996-05-16 18:43:00 +00:00
Michael Meissner 62cb090122 Use pic_offset_table_rtx instead of rs6000_pic_register; Rewrite int/float conversions so reload allocates the temp
From-SVN: r11973
1996-05-15 18:00:36 +00:00
Jeff Law 3c75f3970c * h8300/h8300.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
From-SVN: r11972
1996-05-15 08:38:44 -06:00
Richard Kenner a281e72d06 (store_field): Support BLKmode bitfield if aligned on byte boundary using emit_block_move.
(store_field): Support BLKmode bitfield if aligned on byte boundary using
emit_block_move.
(expand_expr, case COMPONENT_REF): Likewise.

From-SVN: r11971
1996-05-11 07:42:11 -04:00
Doug Evans 574baa641d decl2.c (finish_vtable_vardecl): Surround DECL_ONE_ONLY with ifdef.
* decl2.c (finish_vtable_vardecl): Surround DECL_ONE_ONLY with ifdef.
	(finish_file): Likewise.

From-SVN: r11970
1996-05-11 11:39:49 +00:00
Richard Kenner b4987b8c6c (ASM_FINAL_SPEC): Add #undef.
From-SVN: r11969
1996-05-10 21:30:41 -04:00
Richard Kenner fbdc6da816 (maybe_eliminate_biv_1): Disable all but two cases of biv elimination with givs...
(maybe_eliminate_biv_1): Disable all but two cases of biv elimination
with givs and restrict those two cases to an ADD_VAL that is an
address.

From-SVN: r11968
1996-05-10 19:01:08 -04:00
Richard Kenner cb9e8ad176 (mark_set_1, mark_used_regs): Clean up usages of ALL_NEEDED; change to
SOME_NOT_NEEDED and set properly.

From-SVN: r11967
1996-05-10 18:33:30 -04:00
Jason Merrill d1b0168185 (compile_file): Don't warn about artificial functions
declared static and not defined.

From-SVN: r11966
1996-05-10 18:30:07 +00:00
Doug Evans 5b7540b68a varasm.c (assemble_variable): ASM_DECLARE_OBJECT_NAME needn't consider bytecodes.
* varasm.c (assemble_variable): ASM_DECLARE_OBJECT_NAME needn't
	consider bytecodes.
	* toplev.c (rest_of_decl_compilation): Likewise with
	ASM_FINISH_DECLARE_OBJECT.

From-SVN: r11965
1996-05-10 02:01:26 +00:00
Doug Evans 8bd16853dc varasm.c (assemble_variable): ASM_DECLARE_OBJECT_NAME needn't consider bytecodes.
* varasm.c (assemble_variable): ASM_DECLARE_OBJECT_NAME needn't
	consider bytecodes.
	* varasm.c (assemble_start_function): ASM_DECLARE_FUNCTION_NAME
	needn't consider bytecodes.

From-SVN: r11964
1996-05-10 01:59:58 +00:00
Doug Evans c02f953eb0 (ASM_DECLARE_OBJECT_NAME): Delete bytecode checking.
From-SVN: r11963
1996-05-10 01:46:04 +00:00
Doug Evans 98203e26ad (ASM_DECLARE_{FUNCTION,OBJECT}_NAME): Remove bytecode support.
From-SVN: r11962
1996-05-10 01:38:01 +00:00
Jim Wilson 6303b9ba98 (SET_ASM_OP): Define.
From-SVN: r11961
1996-05-09 16:34:32 -07:00
Michael Meissner b872164ecb Fix typo in last change.
From-SVN: r11960
1996-05-09 19:15:54 +00:00
Michael Meissner d940798813 Add fine grain control to -msdata
From-SVN: r11959
1996-05-09 17:41:03 +00:00
Doug Evans 0821c881a2 function.c (aggregate_value_p): Return 1 if TREE_ADDRESSABLE.
* function.c (aggregate_value_p): Return 1 if TREE_ADDRESSABLE.
	* pa/pa.h (RETURN_IN_MEMORY): No longer test for TREE_ADDRESSABLE.

From-SVN: r11958
1996-05-09 01:04:34 +00:00
Doug Evans 49a2e5b2f7 * function.c (aggregate_value_p): Return 1 if TREE_ADDRESSABLE.
From-SVN: r11957
1996-05-09 01:04:06 +00:00
Mike Stump 4dabb3791d 86th Cygnus<->FSF quick merge
From-SVN: r11956
1996-05-08 18:18:35 +00:00
Jeff Law 887a8bd9fa h8300.c: Include obstack.h.
* h8300/h8300.c: Include obstack.h.
        (bit_memory_operand): New function.
        (print_operand): Append ":16" to a memory reference to
        the tiny data area.
        (h8300_tiny_data_p): New function.
        (h8300_valid_machine_decl_attribute): Accept "tiny_data".  Fix
        typo.
        (h8300_encode_label): New function.
        (h8300_adjust_insn_length): References to the tiny data section
        are two bytes shorter than normal accesses on the H8/300H.
        * h8300/h8300.h (OK_FOR_U): Fix thinko.
        (ENCODE_SECTION_INFO): Encode info for tiny data variables.
        (STRIP_NAME_ENCODING): Define.
        * h8300/h8300.md (movqi insn): Fix length for a constant load.
        (movstrictqi): Likewise.
        (movhi, movstricthi): Likewise.
        (memory btst patterns): Add register to the constraints to keep
        reload happy.

From-SVN: r11955
1996-05-07 20:36:19 -06:00
Jeff Law 3fb9e74979 h8300.h (OK_FOR_U): (const (plus (symbol_ref) (const_int))) is a valid U operand if...
* h8300/h8300.h (OK_FOR_U): (const (plus (symbol_ref) (const_int)))
        is a valid U operand if SYMBOL_REF_FLAG is set on the
        SYMBOL_REF.
        * h8300/h8300.md (memory btst patterns): New patterns.

From-SVN: r11954
1996-05-07 15:11:47 -06:00
Jeff Law fabdc32d07 h8300.c (h8300_eightbit_data_p): Renamed from h8300_tiny_data_p.
* h8300/h8300.c (h8300_eightbit_data_p): Renamed from
        h8300_tiny_data_p.
        (h8300_eightbit_data_p): Check for the "eightbit_data"
        attribute instead of "tiny_data".
        (h8300_valid_machine_decl_attribute): Likewise.
        * h8300/h8300.h (ENCODE_SECTION_INFO): Call h8300_eightbit_data_p
        instead of h8300_tiny_data_p.

From-SVN: r11953
1996-05-07 13:58:32 -06:00
Mike Stump a50f091815 86th Cygnus<->FSF quick merge
From-SVN: r11952
1996-05-07 18:54:10 +00:00
Jeff Law 637dec4188 h8300.h (READONLY_DATA_SECTION): Define.
* h8300/h8300.h (READONLY_DATA_SECTION): Define.
        (EXTRA_SECTIONS): Add in_readonly_data.
        (READONLY_DATA_SECTION_ASM_OP): Define.
        (EXTRA_SECTION_FUNCTINOS): Add readonly_data.

From-SVN: r11951
1996-05-07 11:42:26 -06:00
Jason Merrill d51602543d (make_decl_rtl): Update DECL_ASSEMBLER_NAME for local
|       statics.

From-SVN: r11950
1996-05-07 16:26:09 +00:00
Richard Kenner ff91ad086a (expand_decl): Don't deduce alignment of SIZE from DECL_ALIGN; use
TYPE_ALIGN instead.

From-SVN: r11949
1996-05-06 22:04:13 -04:00
Paul Eggert d1b680c63b (skip_comment, handle_directive): Don't use uninitialized vars.
From-SVN: r11948
1996-05-07 01:37:49 +00:00
Jim Wilson cff3d762dc (gen_shifty_op): Truncate VALUE to avoid out of bounds array access.
From-SVN: r11947
1996-05-06 16:39:46 -07:00
Doug Evans d2cba896e1 dbxout.c (dbxout_function): When deciding to call dbxout_function_end change test from...
* dbxout.c (dbxout_function): When deciding to call dbxout_function_end
	change test from flag_function_sections to DECL_SECTION_NAME != NULL.

From-SVN: r11946
1996-05-06 22:51:59 +00:00
Doug Evans 6f2f3db7d0 (named_section): Accept any decl.
From-SVN: r11945
1996-05-06 22:47:20 +00:00
Richard Kenner a00285d035 (assign_parms): Set RTX_UNCHANGING_P in stack_parm if parm is
read-only.

From-SVN: r11944
1996-05-06 18:45:05 -04:00
Stan Cox 462da2af3d (final_scan_insn): Modify conditional moves whose cc is nonstandard.
From-SVN: r11943
1996-05-06 21:01:51 +00:00
Stan Cox 17c1a44f75 (decl_attributes): Chain multiple attributes correctly.
From-SVN: r11942
1996-05-06 20:58:44 +00:00
Richard Kenner fc0c675f04 (truthvalue_conversion, case ADDR_EXPR): Don't treat address of
external decl as always nonzero.

From-SVN: r11941
1996-05-06 15:41:35 -04:00
Jason Merrill 2786cbadc7 -fno-common change
From-SVN: r11940
1996-05-06 18:36:48 +00:00
Mike Stump 7b8b9722a4 expr.c (expand_increment): Add third parameter to know when to ignore the result value.
* expr.c (expand_increment): Add third parameter to know when to
        ignore the result value.
        (store_constructor): Ditto.
        (expand_expr, case PREINCREMENT_EXPR): Ditto.
        (expand_expr, case PREDECREMENT_EXPR): Ditto.
        (expand_expr, case POSTINCREMENT_EXPR): Ditto.
        (expand_expr, case POSTDECREMENT_EXPR): Ditto.
        * tree.c (stabilize_reference): Always ignore the first operand of
        COMPOUND_EXPRs.

From-SVN: r11939
1996-05-06 18:07:22 +00:00
Jim Wilson 405f0da64e (expand_expr, case INDIRECT_REF): Delete obsolete code
to special case a SAVE_EXPR operand.

From-SVN: r11938
1996-05-06 10:13:55 -07:00
Richard Kenner 0140d3ee3a (ASM_OUTPUT_MI_THUNK): Define.
From-SVN: r11937
1996-05-06 10:00:02 -04:00