Commit Graph

9544 Commits

Author SHA1 Message Date
Doug Evans 6eaba4a70a (decl_attributes): Always continue if attribute not found.
From-SVN: r9522
1995-04-28 01:09:12 +00:00
Jim Wilson b8b7ac24e3 (ashiftrt_r4_*): Rewrite for efficiency.
(ashrsi3, lshrsi3, lshrsi3): Add.

From-SVN: r9521
1995-04-27 18:08:43 -07:00
Doug Evans 2a3c15b553 (attribute_hash_list): New function.
(build_type_attribute_variant): Call it.
(valid_machine_attribute): Handle attributes with arguments.
(is_attribute_p): New function.
(lookup_attribute): New function.
(attribute_in_list): Deleted.
(attribute_list_contained): Check TREE_PURPOSE and TREE_VALUE.

From-SVN: r9520
1995-04-28 01:08:30 +00:00
Doug Evans 9c1303987c (valid_machine_attribute): Add prototype.
(is_attribute_p, lookup_attribute): Likewise.

From-SVN: r9519
1995-04-28 01:07:33 +00:00
Jim Wilson 597bc2d495 (LIB1ASMFUNCS): Add new functions.
(LIBGCC2_CFLAGS): Delete.
(LIB2FUNCS_EXTRA): Remove deleted files.
(ashlsi3.c, ashrsi3.c, lshrsi3.c): Remove rules for deleted files.

From-SVN: r9518
1995-04-27 18:07:22 -07:00
Jim Wilson e4e7289175 Clean up white space.
From-SVN: r9517
1995-04-27 18:06:19 -07:00
Jim Wilson af55da56a5 (expand_return): When returning BLKmode structure...
(expand_return): When returning BLKmode structure, use
operand_subword instead of doing arithmetic on the register number.
Also, for structures smaller than word_mode, copy it into a word_mode
temporary and then subreg it.

From-SVN: r9516
1995-04-27 15:50:50 -07:00
Jim Wilson 46fccf9e33 Delete two define_peepholes which print `bad peephole'.
From-SVN: r9515
1995-04-27 15:46:53 -07:00
Torbjorn Granlund bb4aaf18a9 (shorten_branches): For non-optimizing compiles, break after first pass.
From-SVN: r9514
1995-04-27 20:18:13 +00:00
Torbjorn Granlund d0c874f698 (rest_of_compilation): Call shorten_branches even when !optimize.
From-SVN: r9513
1995-04-27 20:17:35 +00:00
Richard Kenner aa53d0ba08 Update comments.
From-SVN: r9512
1995-04-27 14:40:02 -04:00
Michael Meissner 0dd0f1b662 Support for pre-BFD versions of Linux ld.
From-SVN: r9511
1995-04-27 18:35:38 +00:00
Richard Kenner af31056454 (do_include): Fix minor memory leak.
From-SVN: r9510
1995-04-27 14:31:14 -04:00
Richard Kenner 5bec549e01 (struct argdata): Remove unused `comments' member.
(macarg): Don't set `comments' member.

From-SVN: r9509
1995-04-27 14:28:46 -04:00
Michael Meissner d8f9c2096a Support for pre-BFD versions of Linux ld.
From-SVN: r9508
1995-04-27 18:27:28 +00:00
Richard Kenner 0e45ccbdb6 Don't include <sys/stat.h> twice.
(cpp_grow_buffer, init_parse_file): Cast {xmalloc,xrealloc} for token_buffer
to U_CHAR* instead of char*.

From-SVN: r9507
1995-04-27 11:43:23 -04:00
Richard Kenner 097d85a82b Don't include <sys/stat.h> twice.
From-SVN: r9506
1995-04-27 11:42:46 -04:00
Richard Kenner 06fbe18f32 (i[34]86:*:3.2:*) test for /usr/options/cb.name before calling uname.
From-SVN: r9505
1995-04-27 09:22:29 -04:00
Richard Kenner 3c013dd5b9 (valid_machine_attribute): Update last change.
From-SVN: r9504
1995-04-27 08:56:36 -04:00
Richard Kenner c276186e8e Initial revision
From-SVN: r9503
1995-04-27 08:05:51 -04:00
Richard Kenner c926344618 (collect_expansion): Assume leading white space already removed.
Don't allocate unnecessary space for expansion.

From-SVN: r9502
1995-04-27 07:08:53 -04:00
Richard Kenner ba6aa38e3d (deps_output): Don't generate overly long output lines.
Do not invoke self recursively with spacer == 0; this simplifies the code a
bit.

From-SVN: r9501
1995-04-27 07:03:46 -04:00
Richard Kenner 4cb8c14b60 (OBJC_VERSION): Version 7.
(build_objc_string_object): Build a full declaration if not using the next
runtime.
(objc_add_static_instance): New function.
(init_module_descriptor): Add reference to static instances table.
(build_module_descriptor): Add field for static instances table.
(get_objc_string_decl): New function.
(generate_static_references): New function.
(finish_objc): Call generate_static_references if needed.

From-SVN: r9500
1995-04-26 19:18:37 -04:00
Richard Kenner 0df0f84cb5 (finish_decl_top_level): New function.
From-SVN: r9499
1995-04-26 19:17:42 -04:00
Richard Kenner 73e53112f8 (finish_decl_top): New declaration.
From-SVN: r9498
1995-04-26 19:17:07 -04:00
Richard Kenner 0994488a6b Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.

From-SVN: r9497
1995-04-26 19:16:05 -04:00
Richard Kenner bc1f3f7791 (OBJC_O): Added bare-bones implementation of NXConstantString.
From-SVN: r9496
1995-04-26 19:08:38 -04:00
Richard Kenner f76bab0219 Initial revision
From-SVN: r9495
1995-04-26 19:08:15 -04:00
Richard Kenner 4426bf3fe6 Changed Class * to Class in order to match NEXTSTEP and OpenStep runtime.
Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.
(OBJC_VERSION): Version 7.
(objc_init_statics): New function.
(__objc_exec_class): Invoke objc_init_statics if needed.

From-SVN: r9494
1995-04-26 19:07:00 -04:00
Richard Kenner e35ec8520b Changed Class * to Class in order to match NEXTSTEP and OpenStep runtime.
Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.
(objc_static_instances): New struct to record static instances of a certain
class.
(objc_module): New tag STATICS to point to the table of objc_statics_instances.

From-SVN: r9493
1995-04-26 19:05:45 -04:00
Richard Kenner 89f0bef317 (ashrsi2_31): Don't use dead_or_set_p after reload.
From-SVN: r9492
1995-04-26 18:19:38 -04:00
Richard Kenner d8ddc751ee Remove bad peepholes that improperly use dead_or_set_p.
From-SVN: r9491
1995-04-26 18:16:50 -04:00
Richard Kenner b095754a73 Treat _MACHINE_ANSI_H_ like _ANSI_H_.
From-SVN: r9490
1995-04-26 18:04:28 -04:00
Richard Kenner db8717d93b (expand_function_end): Warn about unused parms if both -Wunused and -W.
From-SVN: r9489
1995-04-26 17:56:19 -04:00
Richard Kenner 3fc341ac09 (print_node): Print TYPE_PACKED.
From-SVN: r9488
1995-04-26 17:25:21 -04:00
Richard Kenner 41ddaaa4d5 Update number of shift/reduce conflicts.
(structsp): Pass attribute arg to finish_struct.
Support attributes on enums and pass to finish_enum.

From-SVN: r9487
1995-04-26 17:24:51 -04:00
Richard Kenner 10861e9a23 (finish_struct): Add ATTRIBUTES argument, call decl_attributes and set DECL_PACKED from TYPE_PACKED.
(finish_struct): Add ATTRIBUTES argument, call decl_attributes and set
DECL_PACKED from TYPE_PACKED.
(finish_enum): Add ATTRIBUTES argument, call decl_attributes, and make enum
narrow if TYPE_PACKED.

From-SVN: r9486
1995-04-26 17:24:01 -04:00
Richard Kenner a89ca5c67e (init_attributes): Don't require decl for A_PACKED.
(decl_attributes, case A_PACKED): Set TYPE_PACKED for type.

From-SVN: r9485
1995-04-26 17:23:10 -04:00
Richard Kenner a0053f2b87 (finish_enum, finish_struct): Add ATTRIBUTES argument.
From-SVN: r9484
1995-04-26 17:22:41 -04:00
Richard Kenner 9e357cd843 (TYPE_PARSE_INFO): Delete unused field.
(TYPE_PACKED): Add new macro.
(struct tree_type): Delete unused field `parse_info'.
Add new field `packed_flag'.

From-SVN: r9483
1995-04-26 17:22:19 -04:00
Michael Meissner 40a4b13fc1 Support Linux elf and a.out systems; Add parisc support
From-SVN: r9482
1995-04-26 20:45:43 +00:00
Jim Wilson 27da6752fc (NEGTF2_LIBCALL): Define.
(INIT_TARGET_OPTABS): Add support for all TFmode *_LIBCALL macros.

From-SVN: r9481
1995-04-26 12:16:21 -07:00
Jim Wilson 6a45faa72c (init_optabs): Delete all uses of undocumented TImode and
TFmode *_LIBCALL macros.

From-SVN: r9480
1995-04-26 12:13:00 -07:00
Jim Wilson 2ca9ae17a9 (simplify_rtx, case TRUNCATE): Add. Use force_to_mode.
(force_to_mode, case AND): Allow some simplifications when GET_MODE (x)
has more bits than HOST_BITS_PER_WIDE_INT.

From-SVN: r9479
1995-04-26 11:08:54 -07:00
Jim Wilson 99f762bff7 (truncdiqi2+[456]): Add patterns to simplify ZERO_EXTEND
of a TRUNCATE.

From-SVN: r9478
1995-04-26 11:06:52 -07:00
Doug Evans 6ac342776a (memop): Deleted.
(splittable_symbolic_memory_operand): New function.
(splittable_immediate_memory_operand): New function.

From-SVN: r9477
1995-04-26 17:01:05 +00:00
Doug Evans d750d0def7 (memop define_splits): Rewrite to not use memop.
Preserve MEM_IN_STRUCT_P, MEM_VOLATILE_P, RTX_UNCHANGING_P bits.

From-SVN: r9476
1995-04-26 16:59:55 +00:00
Richard Kenner 33cf5823a5 (expand_builtin, case BUILT_IN_CONSTANT_P): A pointer to a string
constant is a constant.

From-SVN: r9475
1995-04-26 12:29:48 -04:00
Richard Kenner ccafc85b7f (init_decl_processing): Don't give builtin__constant_p an argument
type.

From-SVN: r9474
1995-04-26 12:28:49 -04:00
Richard Kenner c7db4570ac (CRAY*Y-MP:*:*:*): New entry.
From-SVN: r9473
1995-04-26 10:27:47 -04:00