Roland McGrath [Fri, 10 Sep 1993 05:01:21 +0000 (05:01 +0000)]
Recognize operating system `netbsd*'.
From-SVN: r5302
Roland McGrath [Fri, 10 Sep 1993 04:22:01 +0000 (04:22 +0000)]
*** empty log message ***
From-SVN: r5301
Per Bothner [Fri, 10 Sep 1993 01:04:26 +0000 (18:04 -0700)]
Add support for array with non-zero lower bounds. (Used by Chill.)
From-SVN: r5300
Jim Wilson [Thu, 9 Sep 1993 23:20:32 +0000 (16:20 -0700)]
(make_node): Put PARM_DECLs of nested functions onto
parent's saveable obstack.
From-SVN: r5299
Ian Lance Taylor [Thu, 9 Sep 1993 20:05:26 +0000 (20:05 +0000)]
Set CROSS_LIBGCC1 to be libgcc1.null
From-SVN: r5298
Richard Stallman [Thu, 9 Sep 1993 19:51:59 +0000 (19:51 +0000)]
(convert_modes): New function.
(convert_to_mode): Use that.
From-SVN: r5297
Richard Stallman [Thu, 9 Sep 1993 19:50:55 +0000 (19:50 +0000)]
(expand_twoval_binop): Use convert_modes.
(expand_complex_abs): Likewise.
(emit_cmp_insn): Likewise.
(expand_inline_function): Likewise.
(widen_operand): New arg OLDMODE.
(expand_binop, expand_unop): Fix calls to widen_operand.
From-SVN: r5296
Richard Stallman [Thu, 9 Sep 1993 19:19:51 +0000 (19:19 +0000)]
(emit_store_flag, expand_divmod): Use convert_modes.
From-SVN: r5295
Ian Lance Taylor [Thu, 9 Sep 1993 18:18:07 +0000 (18:18 +0000)]
Use CROSS_LIBGCC1 for a cross-compiler
From-SVN: r5294
Richard Stallman [Thu, 9 Sep 1993 13:49:54 +0000 (13:49 +0000)]
(expand_expr): Set ignore for COND_EXPR with VOID_TYPE.
From-SVN: r5293
Doug Evans [Wed, 8 Sep 1993 22:24:29 +0000 (22:24 +0000)]
Cosmetic changes only. Just reordered code a little.
From-SVN: r5292
Jim Wilson [Wed, 8 Sep 1993 19:19:32 +0000 (12:19 -0700)]
(dbxout_parms): For parameters in registers, if use
DECL_RTL, then must use TREE_TYPE instead of DECL_ARG_TYPE.
From-SVN: r5291
Jim Wilson [Wed, 8 Sep 1993 19:15:32 +0000 (12:15 -0700)]
(fix_truncdfsi2, fixtruncsfsi2): Mark SImode scratch
register as early clobbered when dest is in memory.
From-SVN: r5290
Jim Wilson [Wed, 8 Sep 1993 19:10:46 +0000 (12:10 -0700)]
(sbusdev/audiovar.h): Fix wrongly edited // comments
nested within /* */ comments.
From-SVN: r5289
Jim Wilson [Wed, 8 Sep 1993 19:08:15 +0000 (12:08 -0700)]
(process_command): Don't warn for -x after last input file
if spec_lang is zero.
From-SVN: r5288
Jim Wilson [Wed, 8 Sep 1993 18:58:14 +0000 (11:58 -0700)]
(convert_move): When truncating, call force_reg first if
it is something that gen_lowpart won't understand.
From-SVN: r5287
Jim Wilson [Wed, 8 Sep 1993 18:49:36 +0000 (11:49 -0700)]
(getrlimit, getrusage, setrlimit): Return int not void.
From-SVN: r5286
John Hassey [Wed, 8 Sep 1993 15:31:02 +0000 (15:31 +0000)]
(output_call): Avoid use of jsr.n r1, this loses on
the 88110.
From-SVN: r5285
Richard Kenner [Wed, 8 Sep 1993 14:50:35 +0000 (10:50 -0400)]
(define_attr): Expand list of instruction attributes.
(define_function_unit): Compute delay information based upon processor type
and expand functional unit types.
(mulsi3, divsi3, divmodsi4, divsf3, divdf3, muldf3, movsf): Use expanded
attributes.
(load with update): Likewise.
From-SVN: r5284
Richard Kenner [Wed, 8 Sep 1993 14:49:49 +0000 (10:49 -0400)]
(rs6000_cpu, rs6000_cpu_string): New variables.
(rs6000_override_options): New function.
From-SVN: r5283
Richard Kenner [Wed, 8 Sep 1993 14:49:18 +0000 (10:49 -0400)]
(MASK_*, TARGET_*): Add target masks and tests.
(TARGET_SWITCHES): Add target switches for various architectures and mnemonics
options.
(TARGET_OPTIONS): Add cpu type as special target option.
(OVERRIDE_OPTIONS): Call rs6000_override_options to decipher.
From-SVN: r5282
Richard Stallman [Wed, 8 Sep 1993 10:36:19 +0000 (10:36 +0000)]
(output_init_element): When adding to constructor_pending_elts, copy field.
From-SVN: r5281
Richard Kenner [Wed, 8 Sep 1993 10:15:49 +0000 (06:15 -0400)]
(make_tree, case CONST_INT): Properly set high part if unsigned.
From-SVN: r5280
Richard Stallman [Wed, 8 Sep 1993 09:56:15 +0000 (09:56 +0000)]
(push_init_level): Diagnose extra brace group at end of record.
(push_init_level): Diagnose extra brace group at end
of record. Set constructor_type to 0.
(pop_init_level): Don't output anything if constructor_type is 0.
(process_init_element): Do nothing if constructor_type is 0.
From-SVN: r5279
Richard Kenner [Tue, 7 Sep 1993 23:11:15 +0000 (19:11 -0400)]
(c_build_type_variant): Allocate new type in same obstack as old one.
From-SVN: r5278
Richard Stallman [Tue, 7 Sep 1993 21:46:24 +0000 (21:46 +0000)]
(digest_init): Fix error message text.
From-SVN: r5277
Richard Kenner [Tue, 7 Sep 1993 18:54:27 +0000 (14:54 -0400)]
(expand_binop): Must always widen second operand of shift.
From-SVN: r5276
Richard Kenner [Tue, 7 Sep 1993 18:40:27 +0000 (14:40 -0400)]
(schedule_block): Correct type of BIT.
From-SVN: r5275
Richard Kenner [Tue, 7 Sep 1993 18:32:05 +0000 (14:32 -0400)]
(fold): Don't try to process an RTL_EXPR.
From-SVN: r5274
Richard Stallman [Tue, 7 Sep 1993 12:27:26 +0000 (12:27 +0000)]
(dbxout_type): Handle enum constants bigger than one word.
Don't print big unsigned values as negative.
From-SVN: r5273
Richard Stallman [Tue, 7 Sep 1993 12:26:58 +0000 (12:26 +0000)]
(default_conversion): For enum that's unsigned,
if it's at least as wide as int, convert to an unsigned type.
From-SVN: r5272
Richard Stallman [Tue, 7 Sep 1993 12:26:20 +0000 (12:26 +0000)]
(build_enumerator): Choose type properly for wide constants.
(finish_enum): Always set type of the enumerators to the enum type.
From-SVN: r5271
Richard Stallman [Tue, 7 Sep 1993 10:21:11 +0000 (10:21 +0000)]
(LIB_SPEC, LINK_SPEC, SWITCH_TAKES_ARG):
Definitions copied from sparc/sol2.h.
(CPP_SPEC): Copied from sparc/sol2.h, but deleted -msparclite.
From-SVN: r5270
Richard Kenner [Mon, 6 Sep 1993 18:42:55 +0000 (14:42 -0400)]
(insn_name_ptr): Define for debugging.
(walk_rtx, case MATCH_OP_DUP): Expand recog_dup_loc using XEXP not XVECEXP.
From-SVN: r5269
Richard Kenner [Mon, 6 Sep 1993 17:27:49 +0000 (13:27 -0400)]
(emit_libcall_block): Don't move insns that reference things set in
previous insns.
From-SVN: r5268
Richard Kenner [Mon, 6 Sep 1993 17:27:22 +0000 (13:27 -0400)]
(modified_between_p): Handle vectors.
(modified_in_p): New function.
(refers_to_regno_p): If setting AP, FP, or SP, we clobber the virtual
registers.
From-SVN: r5267
Richard Stallman [Mon, 6 Sep 1993 12:36:01 +0000 (12:36 +0000)]
Don't declare abort.
From-SVN: r5266
Jim Wilson [Mon, 6 Sep 1993 05:03:16 +0000 (22:03 -0700)]
(abort): Correct volatile function declaration.
From-SVN: r5265
Doug Evans [Mon, 6 Sep 1993 02:05:33 +0000 (02:05 +0000)]
(USER_H): Add va-h8300.h.
From-SVN: r5264
Richard Stallman [Sun, 5 Sep 1993 22:35:15 +0000 (22:35 +0000)]
(grokdeclarator): For PARM_DECLs, only call
c_build_type_variant is constp or volatilep is true.
From-SVN: r5263
Doug Evans [Sun, 5 Sep 1993 22:20:29 +0000 (22:20 +0000)]
collect2.c (our_file_name, [...]): deleted.
* collect2.c (our_file_name, last_file_name): deleted.
(our_file_names): New variable.
(is_in_prefix_list): New function.
(find_a_file): Call is_in_prefix_list.
(main): Make COLLECT_NAMES a list of our invocations.
If we've invoked ourselves, try again with ld_file_name.
From-SVN: r5262
Richard Stallman [Sun, 5 Sep 1993 20:01:32 +0000 (20:01 +0000)]
(assign_parms): When parm needs conversion on entry,
don't store it back in the slot where it was passed.
From-SVN: r5261
Richard Kenner [Sun, 5 Sep 1993 10:44:00 +0000 (06:44 -0400)]
(print_operand): Convert fprintf of single letters to putc and convert fprintf of constant strings to fputs.
(print_operand): Convert fprintf of single letters to putc and convert
fprintf of constant strings to fputs.
Output '%u' operand as hexadecimal.
From-SVN: r5260
Richard Kenner [Sat, 4 Sep 1993 15:16:10 +0000 (11:16 -0400)]
(truthvalue_conversion): A complex value is nonzero if either part is
nonzero, not if both parts are nonzero.
From-SVN: r5259
Richard Kenner [Fri, 3 Sep 1993 23:02:27 +0000 (19:02 -0400)]
(build_enumerator): Apply default conversion to constant-expression.
From-SVN: r5258
Richard Kenner [Fri, 3 Sep 1993 22:03:32 +0000 (18:03 -0400)]
(skip_if_group): Check for traditional mode when skipping ahead to
next #, ignore unless at beginning of line.
From-SVN: r5257
Michael Meissner [Fri, 3 Sep 1993 21:54:58 +0000 (21:54 +0000)]
pass -v/-dn to elf linker.
From-SVN: r5256
Jeff Law [Fri, 3 Sep 1993 05:53:48 +0000 (23:53 -0600)]
pa.h (READONLY_DATA_ASM_OP): Define.
* pa.h (READONLY_DATA_ASM_OP): Define.
(READONLY_DATA_SECTION): Define.
(EXTRA_SECTIONS): Add in_readonly_data.
(EXTRA_SECTION_FUNCTIONS): Add readonly_data.
From-SVN: r5255
Richard Kenner [Thu, 2 Sep 1993 23:18:55 +0000 (19:18 -0400)]
Improve generated code for C400 Clipper.
(TARGET_SWITCHES): New options `c300' `c400'.
(TARGET_C300, TARGET_C400): New defines.
(TARGET_DEFAULT): Define as TARGET_C300.
(CONDITIONAL_REGISTER_USAGE): New define.
From-SVN: r5254
Michael Meissner [Thu, 2 Sep 1993 22:17:51 +0000 (22:17 +0000)]
Fix typo.
From-SVN: r5253
Doug Evans [Thu, 2 Sep 1993 21:39:58 +0000 (21:39 +0000)]
(__INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__): New macros.
(INT_MAX, LONG_MAX, LONG_LONG_MAX): Use them.
From-SVN: r5252
Michael Meissner [Thu, 2 Sep 1993 18:35:26 +0000 (18:35 +0000)]
ELF now omits leading underscores.
From-SVN: r5251
Michael Meissner [Thu, 2 Sep 1993 10:55:40 +0000 (10:55 +0000)]
Add spaces in basic block output.
From-SVN: r5250
Michael Meissner [Thu, 2 Sep 1993 10:50:41 +0000 (10:50 +0000)]
Update basic block profiling.
From-SVN: r5249
Richard Kenner [Thu, 2 Sep 1993 01:57:02 +0000 (21:57 -0400)]
Clean up case and remove leading zeros from hex constants.
From-SVN: r5248
Jim Wilson [Wed, 1 Sep 1993 23:57:46 +0000 (16:57 -0700)]
(truncdfsf2): Round to single instead of doing nothing.
From-SVN: r5247
Jim Wilson [Wed, 1 Sep 1993 23:20:32 +0000 (16:20 -0700)]
(jump_optimize): When optimize conditional jump around
unconditional jump, handle case where prev_label can be zero.
From-SVN: r5246
Jim Wilson [Wed, 1 Sep 1993 22:59:32 +0000 (15:59 -0700)]
(finish_decl): For static const variables, preserve
initializers instead of discarding them.
From-SVN: r5245
Richard Kenner [Wed, 1 Sep 1993 22:46:03 +0000 (18:46 -0400)]
(find_reloads): Bump REJECT for a hard register; just not for a
pseudo.
From-SVN: r5244
Richard Kenner [Wed, 1 Sep 1993 22:42:37 +0000 (18:42 -0400)]
(movdf): Simplify by taking advantage of having SECONDARY_MEMORY_NEEDED.
Fix bugs relating to order in which moves are done.
From-SVN: r5243
Richard Kenner [Wed, 1 Sep 1993 22:41:53 +0000 (18:41 -0400)]
(SECONDARY_MEMORY_NEEDED): New macro.
From-SVN: r5242
Richard Kenner [Wed, 1 Sep 1993 22:41:28 +0000 (18:41 -0400)]
(input_operand): Allow "easy" FP constants.
From-SVN: r5241
Jim Wilson [Wed, 1 Sep 1993 22:07:57 +0000 (15:07 -0700)]
(find_reloads_address_1): Handle SUBREGs same as REGs.
From-SVN: r5240
Mike Stump [Wed, 1 Sep 1993 22:06:56 +0000 (22:06 +0000)]
collect2.c (is_ctor_dtor): Make sizeof argument match the string.
* collect2.c (is_ctor_dtor): Make sizeof argument match the
string.
From-SVN: r5239
Brendan Kehoe [Wed, 1 Sep 1993 19:02:25 +0000 (15:02 -0400)]
* Makefile.in (start.encap): Build g++ here also.
From-SVN: r5238
Jim Wilson [Tue, 31 Aug 1993 22:08:25 +0000 (15:08 -0700)]
(make_compound_operation): Handle the case (and (xor/ior (lshift...) (lshift...)) ...).
(make_compound_operation): Handle the case
(and (xor/ior (lshift...) (lshift...)) ...).
(make_field_assignment): In get_pos_from_mask call, only invert
bits in mode mask.
From-SVN: r5237
Jim Wilson [Tue, 31 Aug 1993 21:22:41 +0000 (14:22 -0700)]
(push_reload): Abort is secondary_reload wants same
class as an input reload.
From-SVN: r5236
Jim Wilson [Tue, 31 Aug 1993 21:17:04 +0000 (14:17 -0700)]
New file.
From-SVN: r5235
Jim Wilson [Tue, 31 Aug 1993 21:06:04 +0000 (14:06 -0700)]
(libgcc1.a, libgcc2.a): Don't use set -e.
From-SVN: r5234
Jim Wilson [Tue, 31 Aug 1993 20:38:04 +0000 (13:38 -0700)]
(xsys-protos.h): Use fixtmp.c not tmp.c, and delete
it afterwards.
From-SVN: r5233
Jim Wilson [Tue, 31 Aug 1993 20:30:12 +0000 (13:30 -0700)]
(assign_stack_temp): When allocate a slot too large,
split extra off into a slot of its own.
(combine_temp_slots): New function.
(free_temp_slots, pop_temp_slots): Call combine_temp_slots.
From-SVN: r5232
Richard Kenner [Tue, 31 Aug 1993 10:35:25 +0000 (06:35 -0400)]
(zero_extendqisi2...
(zero_extendqisi2, zero_extendqihi2): Change anonymous patterns to use 16-bit
and 32-bit hexadecimal values and masks instead of bit ranges if constant.
(rotlsi3, lshrsi3, move condition codes, scc insns): Likewise.
From-SVN: r5231
Richard Kenner [Tue, 31 Aug 1993 10:25:38 +0000 (06:25 -0400)]
(struct c_function): Remove unneeded enum_next_value.
(push_c_function_context, pop_c_function_context): Don't save it.
From-SVN: r5230
Richard Kenner [Mon, 30 Aug 1993 20:14:26 +0000 (16:14 -0400)]
(convert_arguments): If PROMOTE_PROTOTYPE, promote all integral types
shorter than int, including short enums.
From-SVN: r5229
Richard Kenner [Mon, 30 Aug 1993 20:13:42 +0000 (16:13 -0400)]
(get_parm_info...
(get_parm_info, store_parm_decls): If PROMOTE_PROTOTYPE, promote all
integral types shorter than int, including short enums.
From-SVN: r5228
Richard Kenner [Sun, 29 Aug 1993 22:34:12 +0000 (18:34 -0400)]
(output_toc): Use TARGET_NO_FP_IN_TOC.
From-SVN: r5227
Richard Kenner [Sun, 29 Aug 1993 22:33:46 +0000 (18:33 -0400)]
(TARGET_NO_FP_IN_TOC): New; deleted TARGET_FP_IN_TOC.
(TARGET_SWITCHES): Rearrange to have three TOC choices.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use TARGET_NO_FP_IN_TOC.
From-SVN: r5226
Jim Wilson [Sat, 28 Aug 1993 19:22:32 +0000 (12:22 -0700)]
(SELECT_SECTION): Simplify sdata_section test.
From-SVN: r5225
Jim Wilson [Sat, 28 Aug 1993 19:19:20 +0000 (12:19 -0700)]
(CPP_SPEC): Use include_v not include-v.
(LINK_SPEC): Add missing `-' before `k' option.
(PREFERRED_DEBUGGING_TYPE): Define to DBX_DEBUG.
(SDB_DEBUGGING_INFO): Define.
(MD_EXEC_PREFIX): Define to /usr/local/lib/gcc-.
(LINK_LIBGCC_SPECIAL_1): Define.
(NAME__MAIN, SYMBOL__MAIN): Define.
From-SVN: r5224
Jim Wilson [Sat, 28 Aug 1993 19:04:13 +0000 (12:04 -0700)]
(call+1...
(call+1, call+2, call_value+1, untyped_call+1): Split
into two patterns, one using address_operand and 'p', the other
immediate_operand and 'i'.
From-SVN: r5223
Jim Wilson [Sat, 28 Aug 1993 19:03:39 +0000 (12:03 -0700)]
(EXTRA_CONSTRAINT): Delete 'S'.
From-SVN: r5222
Richard Kenner [Fri, 27 Aug 1993 22:47:38 +0000 (18:47 -0400)]
(nonzero_bits): Fix reversed test for when we need to insert extra bits when sizes differ.
(nonzero_bits): Fix reversed test for when we need to insert extra bits when
sizes differ.
(nonzero_bits, case EQ): Always return STORE_FLAG_VALUE when returning integer
mode; remove now-redundant test.
From-SVN: r5221
Richard Kenner [Fri, 27 Aug 1993 19:43:01 +0000 (15:43 -0400)]
(LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g.
From-SVN: r5220
Jim Wilson [Fri, 27 Aug 1993 17:16:17 +0000 (10:16 -0700)]
(TARGET_MINIMAL_TOC): New macro.
(TARGET_SWITCHES): Add -mminimal-toc and -mno-minimal-toc.
(ELIMINABLE_REGS): Add elimination for r30.
(CAN_ELIMINATE): Add case for r30.
(INITIAL_ELIMINATION_OFFSET): Add case for r30.
(toc_section): When TARET_MINIMAL_TOC, initialize toc_table.
From-SVN: r5219
Jim Wilson [Fri, 27 Aug 1993 17:15:28 +0000 (10:15 -0700)]
(print_operand_address): When TARGET_MINIMAL_TOC, use r30 instead of r2 for TOC references.
(print_operand_address): When TARGET_MINIMAL_TOC, use
r30 instead of r2 for TOC references.
(output_prologue): If TARGET_MINIMAL_TOC, and the constant pool
is needed, then setup r30.
(output_toc): When TARGET_MINIMAL_TOC, use .long instead of .tc.
From-SVN: r5218
Brendan Kehoe [Thu, 26 Aug 1993 22:30:59 +0000 (18:30 -0400)]
Cygnus<->FSF merge.
From-SVN: r5217
Doug Evans [Thu, 26 Aug 1993 21:57:10 +0000 (21:57 +0000)]
Initial revision
From-SVN: r5216
Doug Evans [Thu, 26 Aug 1993 21:57:10 +0000 (21:57 +0000)]
add h8/300h support
From-SVN: r5215
Richard Kenner [Thu, 26 Aug 1993 09:58:46 +0000 (05:58 -0400)]
(apply_args_egister_offset): Don't use ANSI-style definition.
From-SVN: r5214
Jeff Law [Wed, 25 Aug 1993 23:38:10 +0000 (17:38 -0600)]
expmed.c (store_bit_field): Do not use bitfield instructions for STRICT_ALIGNMENT machines if...
* expmed.c (store_bit_field): Do not use bitfield instructions for
STRICT_ALIGNMENT machines if the MEM's alignment isn't as big as
the MEM's mode.
From-SVN: r5213
Richard Kenner [Wed, 25 Aug 1993 23:16:55 +0000 (19:16 -0400)]
format_char_info_print_table, "p"): Allow width.
From-SVN: r5212
Richard Kenner [Tue, 24 Aug 1993 22:36:11 +0000 (18:36 -0400)]
(output_{pro,epi}log): Don't need no-ops after calls to functions to
save and restore FP regs.
From-SVN: r5211
Jeff Law [Tue, 24 Aug 1993 20:40:20 +0000 (14:40 -0600)]
pa.h (STACK_BOUNDARY): Stack pointer is always 512 bit (64 byte) aligned.
* pa.h (STACK_BOUNDARY): Stack pointer is always 512 bit (64 byte)
aligned.
From-SVN: r5210
Jeff Law [Tue, 24 Aug 1993 20:40:02 +0000 (14:40 -0600)]
* pa.c (compute_frame_size): Always align stack to 64 byte boundary.
From-SVN: r5209
Michael Meissner [Tue, 24 Aug 1993 19:43:07 +0000 (19:43 +0000)]
-mlarge-align support; block profiling support
From-SVN: r5208
Jeff Law [Tue, 24 Aug 1993 18:03:33 +0000 (12:03 -0600)]
pa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead of output_asm_label.
* pa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead
of output_asm_label.
From-SVN: r5207
Kresten Krab Thorup [Tue, 24 Aug 1993 10:05:25 +0000 (10:05 +0000)]
Initial revision
From-SVN: r5206
Kresten Krab Thorup [Tue, 24 Aug 1993 10:01:23 +0000 (10:01 +0000)]
(objc_msg_sendv): Use new encoding facilities.
(__objc_update_dispatch_table_for_class):
Don't free dtable... (memory leak to make posing work)
(__objc_update_dispatch_table_for_class):
Free old dispatch table and install a new.
From-SVN: r5205
Kresten Krab Thorup [Tue, 24 Aug 1993 10:00:49 +0000 (10:00 +0000)]
(nil_method): Don't define it, import it from sendmsg.c.
(arglist_t): Data-definition changed.
From-SVN: r5204
Kresten Krab Thorup [Tue, 24 Aug 1993 10:00:19 +0000 (10:00 +0000)]
(CLS_SETNUMBER): Clear old number
From-SVN: r5203