Stan Cox
60678486db
(GCC_FOR_TARGET) tdesc gets mixed up for crtbegin/crtend
...
From-SVN: r9535
1995-04-28 17:04:06 +00:00
Richard Kenner
48dd3a7cb1
(pop_init_level, output_init_element): Pass require_constant_* to
...
digest_init.
From-SVN: r9534
1995-04-28 10:40:50 -04:00
Richard Kenner
7ac18cf65b
(mov[sd]i and splits): Change call to alpha_emit_set_const.
...
From-SVN: r9533
1995-04-28 10:38:02 -04:00
Richard Kenner
c8e9adecbb
(alpha_emit_set_const): Add declaration.
...
From-SVN: r9532
1995-04-28 10:37:45 -04:00
Richard Kenner
fd94addf1d
(alpha_emit_set_const): Now returns rtx and take MODE arg.
...
Rework to use a new pseudo for intermediate values if high opt level.
Also use expand_{bin,un}op.
From-SVN: r9531
1995-04-28 10:37:27 -04:00
Richard Kenner
9f9ed50a48
(stack_result): Fix bug in last change.
...
From-SVN: r9530
1995-04-28 06:36:36 -04:00
Doug Evans
4f2bae393c
(sys_nerr): Really declare ifndef HAVE_STRERROR.
...
From-SVN: r9529
1995-04-28 07:34:26 +00:00
Doug Evans
f4f2475387
(*): Update calls to start_decl, finish_struct (pass NULLs for attributes).
...
From-SVN: r9528
1995-04-28 05:07:47 +00:00
Doug Evans
5406e08aa9
sparc.md (tablejump): Only if ! TARGET_MEDANY.
...
* sparc/sparc.md (tablejump): Only if ! TARGET_MEDANY.
(casesi): New pattern for TARGET_MEDANY case.
From-SVN: r9527
1995-04-28 02:04:32 +00:00
Doug Evans
2db70b29ac
* typeck.c (common_type): Call lookup_attribute instead of value_member.
...
From-SVN: r9526
1995-04-28 01:52:40 +00:00
Doug Evans
19a0120cb0
(RETURN_POPS_ARGS): Call lookup_attribute.
...
(ENCODE_SECTION_INFO): Likewise.
(CPP_PREDEFINES): Use __stdcall__, __cdecl__.
(VALID_MACHINE_DECL_ATTRIBUTE): Call is_attribute_p.
`args' must be NULL.
From-SVN: r9525
1995-04-28 01:12:58 +00:00
Doug Evans
88a781e84c
(common_type): Call lookup_attribute instead of value_member.
...
From-SVN: r9524
1995-04-28 01:11:28 +00:00
Richard Kenner
d56d506a92
New anonymous patterns to combine insert with arbitrary ashift, ashiftrt,
...
lshiftrt, or zero_extract. (Based on patch from John Brooks <jbrooks@ea.com>.)
(ashlsi3): Remove extraneous operand processing.
From-SVN: r9523
1995-04-27 21:10:25 -04:00
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