Per Bothner
782331f47d
Bunch of fixes. See ChangeLog.
...
From-SVN: r9552
1995-04-30 14:43:12 -07:00
Per Bothner
7e2eb69779
Remove PARSE_GETC. Add comment about "@ ".
...
From-SVN: r9551
1995-04-30 14:43:12 -07:00
Richard Kenner
92c874f7d7
(va_arg): Don't assume __va_rounded_size (char) has the value of 4.
...
From-SVN: r9550
1995-04-30 08:11:09 -04:00
Richard Kenner
303a5e0005
(NOTICE_UPDATE_CC): Correctly handle aob insns.
...
From-SVN: r9549
1995-04-30 08:00:18 -04:00
Richard Kenner
67225c151e
(expand_expr, case CONSTRUCTOR): Don't set target to zero if more then one word.
...
(expand_expr, case CONSTRUCTOR): Don't set target to zero if more then one
word.
Pass size and alignment to move_by_pieces_ninsns in bytes, not bits.
From-SVN: r9548
1995-04-30 07:22:58 -04:00
Richard Kenner
c256df0bf7
(cse_insn): Properly set IN_MEMORY for SET_DEST.
...
From-SVN: r9547
1995-04-30 07:19:15 -04:00
Richard Kenner
abd23b66b4
(substitute_in_expr): Preserve TREE_READONLY.
...
From-SVN: r9546
1995-04-30 07:16:51 -04:00
Richard Kenner
1c4fadec37
(enum attrs): Add A_UNUSED.
...
(init_attributes): Initialize it.
(decl_attributes, case A_UNUSED): New case.
From-SVN: r9545
1995-04-30 07:13:38 -04:00
Richard Kenner
9727936469
(do_include): Re-fix minor memory leak by using alloca instead of
...
xmalloc and free.
From-SVN: r9544
1995-04-29 15:44:14 -04:00
Richard Kenner
040c67b31d
(macarg): Except for reporting error...
...
(macarg): Except for reporting error, treat unterminated macro call as
if it were terminated, since `macroexpand' relies on *argptr being
filled in.
From-SVN: r9543
1995-04-29 15:41:47 -04:00
Torbjorn Granlund
9b38c2fa8e
(output_mul_insn): Simplify, it is never called with UNSIGNEDP set.
...
From-SVN: r9542
1995-04-29 10:07:29 +00:00
Torbjorn Granlund
c210e6aeae
(divsi3, udivsi3, modsi3, umodsi3): Simplify.
...
(ashlsi3): Clean up indentation and commentary.
From-SVN: r9541
1995-04-29 10:06:54 +00:00
Jason Merrill
1c1f2d29a0
Tweak line numbers in output
...
From-SVN: r9540
1995-04-28 19:46:40 +00:00
Stan Cox
6e4e5f1b49
(ENDFILE_SPEC, LIB_SPEC) Fix crtbegin and crtend
...
From-SVN: r9539
1995-04-28 17:04:06 +00:00
Stan Cox
50dc89b594
(umulsidi3) Doesn't work for 88110 with mod/div changes
...
,.
From-SVN: r9538
1995-04-28 17:04:06 +00:00
Stan Cox
1dd4b7a8b1
(FRAME_POINTER_REQUIRED) Add -momit-leaf-frame-pointer
...
From-SVN: r9537
1995-04-28 17:04:06 +00:00
Stan Cox
17a2962cbb
(symbolic_operand) Put relocatable pic constants in data
...
From-SVN: r9536
1995-04-28 17:04:06 +00:00
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