Richard Stallman [Tue, 11 May 1993 04:37:41 +0000 (04:37 +0000)]
(complete_array_type): Call change_main_variant.
(complete_array_type): Make maxindex -1 for empty constructor.
From-SVN: r4417
Jim Wilson [Tue, 11 May 1993 00:31:13 +0000 (17:31 -0700)]
(copy_loop_body): Copy REG_NOTES during main loop
instead of afterwards.
From-SVN: r4416
Richard Kenner [Mon, 10 May 1993 21:36:24 +0000 (17:36 -0400)]
(output_epilog): Fix minor error in instructions used to restore stack
pointer.
From-SVN: r4415
John Hassey [Mon, 10 May 1993 21:32:33 +0000 (21:32 +0000)]
fixed previous change to TRAMPOLINE_TEMPLATE
From-SVN: r4414
Michael Meissner [Mon, 10 May 1993 19:58:26 +0000 (19:58 +0000)]
Do not divide by sizes by 0.
From-SVN: r4413
John Hassey [Mon, 10 May 1993 19:19:06 +0000 (19:19 +0000)]
(TRAMPOLINE_TEMPLATE): Fixed invalid bsr insn.
From-SVN: r4412
Richard Stallman [Mon, 10 May 1993 16:02:37 +0000 (16:02 +0000)]
Don't include string.h.
(strcat, strcpy, strcmp, strncpy, strncmp): Decls deleted.
(dupnstr): Don't use return value of strncpy.
(dupstr): Function deleted; callers changed to use savestring.
From-SVN: r4411
Steve Chamberlain [Mon, 10 May 1993 15:59:02 +0000 (15:59 +0000)]
(movstrsi): Take alignment into account.
From-SVN: r4410
Steve Chamberlain [Mon, 10 May 1993 15:57:26 +0000 (15:57 +0000)]
(shift_value_ok): Can't shift by negative values.
From-SVN: r4409
Michael Meissner [Mon, 10 May 1993 15:51:47 +0000 (15:51 +0000)]
Use __alignof__ instead of __alignof.
From-SVN: r4408
Richard Stallman [Mon, 10 May 1993 06:03:43 +0000 (06:03 +0000)]
Include gstdarg.h, not stdarg.h.
From-SVN: r4407
Richard Stallman [Mon, 10 May 1993 05:01:08 +0000 (05:01 +0000)]
(find_equiv_reg): Set goal_mem_addr_varies
for all but true constant addresses.
From-SVN: r4406
Richard Stallman [Mon, 10 May 1993 03:39:38 +0000 (03:39 +0000)]
(SIZE_TYPE): Deleted.
From-SVN: r4405
Richard Stallman [Mon, 10 May 1993 03:18:03 +0000 (03:18 +0000)]
Comment fixes.
From-SVN: r4404
Richard Stallman [Sun, 9 May 1993 22:17:27 +0000 (22:17 +0000)]
(mtherr): Don't put newlines in error message string.
From-SVN: r4403
Richard Stallman [Sun, 9 May 1993 22:13:58 +0000 (22:13 +0000)]
(REAL_VALUES_LESS): True if return value of ereal_cmp is -1.
From-SVN: r4402
Richard Stallman [Sun, 9 May 1993 22:13:02 +0000 (22:13 +0000)]
(NAN): Define for support of Not-a-Number bit patterns.
(make_nan): New function outputs a NaN in requested machine mode.
(eisnan, eiisnan, enan, einan, eiisinf, eiinfin): New functions.
(earith, etrunci, etruncui, ereal_negate, ereal_ldexp,
real_value_truncate, esub, eadd, emul, ediv, eremain):
Return NaN arg back to caller.
(eroundi, eroundui, ereal_to_int): NaN to integer returns -1
and a warning.
(target_isnan): Check for NaN.
(eneg): No-op if NaN.
(eisneg, eisinf): False if NaN.
(emovi, emovo): Handle NaN conversions.
(esub, eadd): Infinity minus infinity = NaN and INVALID warning.
(ediv): 0/0, inf/inf = NaN and INVALID warning.
(emul): 0 * inf = NaN and INVALID warning.
(e24toe, e53toe, e64toe): Generate e-type NaN for NaN input.
(etoe24, etoe53, etoe64): Output NaN in appropriate machine mode.
(ecmp): Unordered compare returns -2.
(etoasc): NaN produces ASCII string "NaN".
(asctoe): Unrecognizable input produces e-type NaN.
(eremain): x REM y = NaN if y = 0 or x = infinity.
From-SVN: r4401
Richard Stallman [Sun, 9 May 1993 21:55:04 +0000 (21:55 +0000)]
When finding SIZE_TYPE, cd to ${LIB} to run cc.
From-SVN: r4400
Richard Stallman [Sun, 9 May 1993 16:41:47 +0000 (16:41 +0000)]
(call_internal1, call_value_internal1): Use call_insn_operand.
(call, call_value): Copy fn address to safe reg if necessary.
From-SVN: r4399
Richard Stallman [Sun, 9 May 1993 16:41:22 +0000 (16:41 +0000)]
(call_insn_operand): New function.
From-SVN: r4398
Richard Stallman [Sun, 9 May 1993 14:51:29 +0000 (14:51 +0000)]
(mulhisi3, umulhisi3 matchers): Restrict range of constants allowed.
From-SVN: r4397
Kresten Krab Thorup [Sun, 9 May 1993 13:08:15 +0000 (13:08 +0000)]
Conditionally include gstddef or stddef
From-SVN: r4396
Richard Stallman [Sun, 9 May 1993 05:08:34 +0000 (05:08 +0000)]
Fix unterminated comment.
From-SVN: r4395
Richard Stallman [Sun, 9 May 1993 04:57:26 +0000 (04:57 +0000)]
(call matchers): Use call_insn_operand.
(call expanders): If address uses a virtual reg or arg pointer reg,
copy it.
From-SVN: r4394
Richard Stallman [Sun, 9 May 1993 04:56:08 +0000 (04:56 +0000)]
(call_insn_operand): New function.
From-SVN: r4393
Richard Stallman [Sun, 9 May 1993 04:52:03 +0000 (04:52 +0000)]
(string_section): Delete comma before close-brace.
From-SVN: r4392
Doug Evans [Sun, 9 May 1993 03:17:50 +0000 (03:17 +0000)]
Initial revision
From-SVN: r4391
Richard Stallman [Sat, 8 May 1993 22:52:03 +0000 (22:52 +0000)]
(ASM_GENERATE_INTERNAL_LABEL)
(ASM_OUTPUT_INTERNAL_LABEL): Don't include a `.' in the label name.
From-SVN: r4390
Richard Stallman [Sat, 8 May 1993 21:34:06 +0000 (21:34 +0000)]
(mulsidi3, umulsidi3): Delete the conditions added last time.
(their matchers): Use const_int_operand as predicate, and `n' as constraint.
Fix the extra conditions.
From-SVN: r4389
Richard Stallman [Sat, 8 May 1993 21:21:03 +0000 (21:21 +0000)]
(print_operand): For CONST_DOUBLE, treat VOIDmode like DImode.
From-SVN: r4388
Richard Stallman [Sat, 8 May 1993 21:08:20 +0000 (21:08 +0000)]
(HARD_REGNO_MODE_OK): Properly check for floating-point registers.
Register 16 is AP and not floating.
From-SVN: r4387
Richard Stallman [Sat, 8 May 1993 21:07:15 +0000 (21:07 +0000)]
(VALUE_REGNO, HARD_REGNO_MODE_OK): Add missing #undef.
(HARD_REGNO_MODE_OK): Properly check for floating-point registers.
Register 16 is AP and not floating.
From-SVN: r4386
Richard Stallman [Sat, 8 May 1993 19:32:22 +0000 (19:32 +0000)]
(init_expmed): Supply missing arg to rtx_cost.
From-SVN: r4385
Richard Stallman [Sat, 8 May 1993 15:35:57 +0000 (15:35 +0000)]
(umulsidi3, mulsidi3): Don't generate an immediate
operand that the matcher won't accept.
(umulsidi3 expand + two matchers): Rewrite.
Old patterns misused subreg and matched wrong immediate values.
(mulsidi3 patterns): Likewise.
From-SVN: r4384
Richard Stallman [Sat, 8 May 1993 14:52:24 +0000 (14:52 +0000)]
(LINK_LIBGCC_SPECIAL_1): Define this instead of LINK_LIBGCC_SPECIAL.
From-SVN: r4383
Richard Stallman [Fri, 7 May 1993 22:05:09 +0000 (22:05 +0000)]
(push_reload): Don't use IN as the reload reg in in-out
reload if it is set elsewhere in the insn.
From-SVN: r4382
Richard Stallman [Fri, 7 May 1993 21:41:24 +0000 (21:41 +0000)]
(float.h-nat): Use tmp-float.h as intermediate file.
From-SVN: r4381
Michael Meissner [Fri, 7 May 1993 21:37:16 +0000 (21:37 +0000)]
New t- file for --with-gnu-as
From-SVN: r4380
Jeff Law [Fri, 7 May 1993 17:49:57 +0000 (11:49 -0600)]
pa.h (reg_class): Add new NON_SHIFT_REGS class.
* pa.h (reg_class): Add new NON_SHIFT_REGS class.
(REG_CLASS_NAMES): Name new class "NON_SHIFT_REGS".
(REG_CLASS_CONTENTS): Initialize NON_SHIFT_REGS.
From-SVN: r4379
Jeff Law [Fri, 7 May 1993 17:15:01 +0000 (11:15 -0600)]
loop.c (strength_reduce): Handle case where loop_end is the end of the current function.
* loop.c (strength_reduce): Handle case where loop_end is the
end of the current function.
From-SVN: r4378
Chris Smith [Fri, 7 May 1993 11:54:24 +0000 (11:54 +0000)]
*** empty log message ***
From-SVN: r4377
Torbjorn Granlund [Fri, 7 May 1993 02:57:20 +0000 (02:57 +0000)]
(ASM_OUTPUT_ASCII): Cast PTR to unsigned char *.
From-SVN: r4376
Richard Kenner [Thu, 6 May 1993 23:21:03 +0000 (19:21 -0400)]
(eliminate_regs, case {PRE,POST}_{INC,DEC}): Account for PUSH_ROUNDING.
From-SVN: r4375
Richard Stallman [Thu, 6 May 1993 23:10:46 +0000 (23:10 +0000)]
Use gstddef.h, with doublequotes.
From-SVN: r4374
Richard Kenner [Thu, 6 May 1993 22:18:06 +0000 (18:18 -0400)]
(find_equiv_reg): Don't look inside a CONST_DOUBLE; use
operand_subword instead.
From-SVN: r4373
Ian Lance Taylor [Thu, 6 May 1993 19:59:56 +0000 (19:59 +0000)]
More fixes for IRIX 4.0.1
From-SVN: r4372
Richard Stallman [Thu, 6 May 1993 18:58:51 +0000 (18:58 +0000)]
(extendsidi2): Use cdq or cltd, not cwtl.
From-SVN: r4371
Richard Stallman [Thu, 6 May 1993 18:17:46 +0000 (18:17 +0000)]
(forget_old_reloads_1): Accept and ignore 2nd arg.
(reload_as_needed): Pass that second arg.
From-SVN: r4370
Jim Wilson [Thu, 6 May 1993 18:07:34 +0000 (11:07 -0700)]
Include "clipper/clipper.h" instead of "clipper.h".
From-SVN: r4369
Jim Wilson [Thu, 6 May 1993 18:05:39 +0000 (11:05 -0700)]
> (os): Add -clix*.
From-SVN: r4368
Jim Wilson [Thu, 6 May 1993 18:02:26 +0000 (11:02 -0700)]
(pointer_diff): Error if op1 is pointer to incomplete type.
From-SVN: r4367
Jim Wilson [Thu, 6 May 1993 17:57:52 +0000 (10:57 -0700)]
(sys/varargs.h): Replace.
From-SVN: r4366
Richard Stallman [Thu, 6 May 1993 17:41:52 +0000 (17:41 +0000)]
For Objc, expect just 20 conflicts.
From-SVN: r4365
Richard Stallman [Thu, 6 May 1993 17:39:52 +0000 (17:39 +0000)]
(OBJC_GEN_METHOD_LABEL): Do use CAT_NAME.
From-SVN: r4364
Richard Stallman [Thu, 6 May 1993 17:30:45 +0000 (17:30 +0000)]
(extendsidi2): Use cdq, not cwtl.
From-SVN: r4363
Richard Kenner [Thu, 6 May 1993 17:10:04 +0000 (13:10 -0400)]
Update copyright notice.
From-SVN: r4362
Richard Kenner [Thu, 6 May 1993 17:02:49 +0000 (13:02 -0400)]
(record_constant): Properly make the header of a struct
constant_descriptor.
From-SVN: r4361
Richard Kenner [Thu, 6 May 1993 16:58:33 +0000 (12:58 -0400)]
(walk_fixup_memory_subreg): Add new arg UNCRITICAL.
(fixup_var_refs_insn): Call with UNCRITICAL of 1 when processing
REG_NOTES.
From-SVN: r4360
Richard Kenner [Thu, 6 May 1993 16:54:41 +0000 (12:54 -0400)]
(expand_inline_function): Don't call convert_to_mode unless we need to...
(expand_inline_function): Don't call convert_to_mode unless we need
to; some converstions of VOIDmode objects can mess them up.
From-SVN: r4359
Richard Stallman [Thu, 6 May 1993 16:02:40 +0000 (16:02 +0000)]
(convert_for_assignment): Don't use convert_and_check
when handling arithmetic types here.
From-SVN: r4358
Richard Stallman [Thu, 6 May 1993 15:59:25 +0000 (15:59 +0000)]
(check_methods_accessible): Handle interface types.
From-SVN: r4357
Richard Stallman [Thu, 6 May 1993 15:58:59 +0000 (15:58 +0000)]
(truthvalue_conversion): Turn off Apr 29 change.
From-SVN: r4356
Richard Stallman [Thu, 6 May 1993 13:26:26 +0000 (13:26 +0000)]
(TEXI2DVI): New variable.
(cpp.dvi, gcc.dvi): Use it.
From-SVN: r4355
Richard Kenner [Thu, 6 May 1993 09:47:46 +0000 (05:47 -0400)]
(store_split_bit_field): Properly handle VALUE when it is a
CONST_DOUBLE.
From-SVN: r4354
Richard Kenner [Thu, 6 May 1993 09:45:47 +0000 (05:45 -0400)]
(decode_field_reference): Don't do anything for non-integral fields.
From-SVN: r4353
Richard Kenner [Thu, 6 May 1993 09:44:05 +0000 (05:44 -0400)]
(simplify_binary_operation, simplify_relational_operation): Check for
MODE_CC modes, not just CCmode.
From-SVN: r4352
Kresten Krab Thorup [Thu, 6 May 1993 09:23:58 +0000 (09:23 +0000)]
calloc -> __objc_xcalloc, bzero instances
From-SVN: r4351
Doug Evans [Thu, 6 May 1993 05:47:50 +0000 (05:47 +0000)]
(HANDLE_SYSV_PRAGMA): Defined.
From-SVN: r4350
Richard Stallman [Thu, 6 May 1993 02:42:55 +0000 (02:42 +0000)]
(__objc_send_initialize, class_add_method_list):
Allow multiple +initialize methods per class.
From-SVN: r4349
Richard Stallman [Thu, 6 May 1993 01:47:12 +0000 (01:47 +0000)]
Fix comment typos. emit_block_move decl was hidden.
From-SVN: r4348
Richard Stallman [Thu, 6 May 1993 01:44:28 +0000 (01:44 +0000)]
(LINK_LIBGCC_SPECIAL): Put inside #if 0.
From-SVN: r4347
Richard Stallman [Thu, 6 May 1993 01:40:29 +0000 (01:40 +0000)]
(main): Improve error message in previous change.
From-SVN: r4346
Jeff Law [Wed, 5 May 1993 23:34:48 +0000 (17:34 -0600)]
combine.c (combinable_i3pat): Do not make REG_DEAD notes for the stack pointer, frame pointer or arg pointer.
* combine.c (combinable_i3pat): Do not make REG_DEAD notes for
the stack pointer, frame pointer or arg pointer.
From-SVN: r4345
Richard Kenner [Wed, 5 May 1993 22:16:52 +0000 (18:16 -0400)]
(optimize_bit_field_compare): Add missing arg to const_binop.
From-SVN: r4344
Richard Stallman [Wed, 5 May 1993 21:57:58 +0000 (21:57 +0000)]
(LINK_LIBGCC_SPECIAL): Defined.
From-SVN: r4343
Richard Kenner [Wed, 5 May 1993 21:41:42 +0000 (17:41 -0400)]
(record_asm_reg_life): Don't abort for asm that doesn't match its
constraints.
From-SVN: r4342
Richard Kenner [Wed, 5 May 1993 21:32:10 +0000 (17:32 -0400)]
(num_sign_bit_copies, case SUBREG): Properly compute the number of
sign bit copies of SUBREGs of promoted objects.
From-SVN: r4341
Richard Stallman [Wed, 5 May 1993 20:13:33 +0000 (20:13 +0000)]
(main): If C++ for Dwarf requested, warn and turn it off.
From-SVN: r4340
Richard Kenner [Wed, 5 May 1993 18:37:24 +0000 (14:37 -0400)]
(convert_move): Make copy of operands for REG_EQUAL note to avoid sharing RTL if called later than RTL generation...
(convert_move): Make copy of operands for REG_EQUAL note to avoid
sharing RTL if called later than RTL generation, though probably not
called after RTL generation.
From-SVN: r4339
Richard Kenner [Wed, 5 May 1993 18:36:04 +0000 (14:36 -0400)]
(add_equal_note...
(add_equal_note, expand_binop, expand_unop): Make copy of operands for
REG_EQUAL note to avoid sharing RTL if called later than RTL
generation.
(emit_libcall_block, expand_fix): Likewise.
From-SVN: r4338
Ian Lance Taylor [Wed, 5 May 1993 18:12:35 +0000 (18:12 +0000)]
Patches for IRIX 4.0.1
From-SVN: r4337
Kresten Krab Thorup [Wed, 5 May 1993 15:52:00 +0000 (15:52 +0000)]
undid freed+error patch
From-SVN: r4336
Richard Stallman [Wed, 5 May 1993 15:36:05 +0000 (15:36 +0000)]
(flag_defer_pop): Initialize to 0.
(main): Set it to 1 if optimizing.
From-SVN: r4335
Kresten Krab Thorup [Wed, 5 May 1993 13:54:10 +0000 (13:54 +0000)]
(OBJC_O): FREED.o added
(OBJC_O): FREED.o added
(OBJC_H): error.h added
From-SVN: r4334
Kresten Krab Thorup [Wed, 5 May 1993 13:52:15 +0000 (13:52 +0000)]
(__objc_add_handler, __objc_remove_handler,
__objc_raise_error): New functions.
(__ex_last_handler): New variable
From-SVN: r4333
Kresten Krab Thorup [Wed, 5 May 1993 13:51:43 +0000 (13:51 +0000)]
(-shouldNotImplement:): New method
(-shouldNotImplement:): New method
(-free): assign [FREED class] to isa when freeing
From-SVN: r4332
Kresten Krab Thorup [Wed, 5 May 1993 13:51:15 +0000 (13:51 +0000)]
(-shouldNotImplement:): New method
From-SVN: r4331
Kresten Krab Thorup [Wed, 5 May 1993 08:19:48 +0000 (08:19 +0000)]
Initial revision
From-SVN: r4330
Kresten Krab Thorup [Wed, 5 May 1993 08:13:15 +0000 (08:13 +0000)]
Headerfiles reorganized
From-SVN: r4329
Richard Stallman [Wed, 5 May 1993 03:18:13 +0000 (03:18 +0000)]
(build_array_type): The main variant of an array type
should always be an array whose element type is the main variant.
From-SVN: r4328
Jim Wilson [Tue, 4 May 1993 23:54:16 +0000 (16:54 -0700)]
(distribute_notes, REG_DEAD case): Handle hard
registers which partially overlap the destination of the insn.
From-SVN: r4327
Jeff Law [Tue, 4 May 1993 22:10:47 +0000 (16:10 -0600)]
ci -u pa.h
ci -u pa.h
* pa.h (CASE_DROPS_THROUGH): Define.
From-SVN: r4326
Jeff Law [Tue, 4 May 1993 22:10:16 +0000 (16:10 -0600)]
* pa.md (casesi0): Remove incorrect fix from Apr 23.
From-SVN: r4325
John Hassey [Tue, 4 May 1993 17:26:21 +0000 (17:26 +0000)]
Fixed name of link script.
From-SVN: r4324
Richard Stallman [Tue, 4 May 1993 16:43:42 +0000 (16:43 +0000)]
(macroexpand): Treat `foo ( )' as 0 args if foo wants 0 args.
From-SVN: r4323
Steve Chamberlain [Tue, 4 May 1993 15:22:36 +0000 (15:22 +0000)]
Build all languages.
From-SVN: r4322
Steve Chamberlain [Tue, 4 May 1993 15:21:44 +0000 (15:21 +0000)]
> (arith_reg_operand): New constraint.
> (arith_reg_operand): New constraint. (dump_constants): Force
out a constant table if necessary.
From-SVN: r4321
Steve Chamberlain [Tue, 4 May 1993 15:21:26 +0000 (15:21 +0000)]
(ASM_OUTPUT_CASE_LABEL): Ensure jump table is aligned.
From-SVN: r4320
Steve Chamberlain [Tue, 4 May 1993 15:21:00 +0000 (15:21 +0000)]
(arith patterns): Rework constraints.
From-SVN: r4319
Jim Wilson [Tue, 4 May 1993 00:27:51 +0000 (17:27 -0700)]
(CPP_PREDEFINES): Delete -Dsun and -Dunix.
From-SVN: r4318