Commit Graph

2667 Commits

Author SHA1 Message Date
Tom Wood c9b26f89d1 (SECONDARY_INPUT_RELOAD_CLASS): Require a temporary for a
pic address with a large constant term.

(FUNCTION_PROFILER_LENGTH, FUNCTION_BLOCK_PROFILER_LENGTH,
	BLOCK_PROFILER_LENGTH, REG_PUSH_LENGTH, REG_POP_LENGTH): Added.
	(ADJUST_INSN_LENGTH): Account for profiling code.

From-SVN: r2518
1992-10-19 21:00:14 +00:00
Tom Wood 5785e34c37 (emit_move_sequence): Add scratch register.
(emit_move_sequence): Add scratch register.  All callers
	changed.
	(legitimize_address): Add scratch register.  All callers changed
	to pass zero instead of gen_reg_rtx result.  Allocate another temp
	register for -fPIC case.  Use scratch register for pic cases with
	a large constant term.

From-SVN: r2517
1992-10-19 20:59:51 +00:00
Tom Wood 1a31d08dae (reload_insi): New pattern.
(addsi3 pattern for large constants): Delete.  Causes reload trouble.

From-SVN: r2516
1992-10-19 20:59:31 +00:00
Richard Stallman f1553cbb35 (libobjc.a): Don't mkdir objc if dir exists.
From-SVN: r2515
1992-10-19 20:47:23 +00:00
Michael Meissner 43365a358e RISC-OS System V patches for index/rindex.
From-SVN: r2514
1992-10-19 14:58:53 +00:00
Richard Stallman 8ba23f20ec (mostlyclean): Delete libobjc.a.
(libobjc.a): Create the objc subdir.

From-SVN: r2513
1992-10-19 07:37:36 +00:00
Arne H. Juul d8880feaa4 *** empty log message ***
From-SVN: r2512
1992-10-19 00:50:52 +00:00
Richard Stallman aee9dc31f9 (canon_reg): Don't call validate_change if INSN is zero.
From-SVN: r2511
1992-10-18 19:56:07 +00:00
Richard Stallman 9074de27ac (store_field): Typo in last change.
From-SVN: r2510
1992-10-18 19:13:01 +00:00
Richard Stallman c575213d96 (PRINT_OPERAND): For `h', always use OPERAND_HIGH_ADJ_PART
even for integer constant addresses.

From-SVN: r2509
1992-10-18 08:37:44 +00:00
Richard Stallman bc9aee2d4d (output_addr_const): Always use FILE, not asm_out_file.
From-SVN: r2508
1992-10-18 08:16:49 +00:00
Richard Stallman c2f4acb703 (process_init_constructor): When initializing a union,
handle the case of an empty init list.

From-SVN: r2507
1992-10-18 08:12:53 +00:00
Richard Stallman e8db4813db (collect_expansion): Don't add whitespace at end if inside a string and not traditional.
(collect_expansion): Don't add whitespace at end
if inside a string and not traditional.
(rescan): At end of string, if inside macro, always keep scanning.

From-SVN: r2506
1992-10-18 07:15:41 +00:00
Richard Stallman 057f494bb8 (all.build): New rule for making gcc with a cross-compiler.
(install.build): New target.
(line 271): Add `####build overrides'.
(gen*.o): Depend on hconfig.h, not config.h.
($(HOST_PREFIX_1)rtl.o, $(HOST_PREFIX_1)print-rtl.o,
 $(HOST_PREFIX_1)rtlanal.o, $(HOST_PREFIX_1)obstack.o,
 $(HOST_PREFIX_1)malloc.o): Add final `h' to the regexp to replace.

(gcc.xtar): Fix typo in last change.
(mostlyclean): Don't use $(MAKEFLAGS) for objc subdir stuff.

From-SVN: r2505
1992-10-18 05:30:48 +00:00
Richard Stallman 5c4d7cfb47 (store_field): If signed bitfield and want value, sign extend.
From-SVN: r2504
1992-10-18 05:09:47 +00:00
Richard Stallman ca3e4a2f2d (find_reloads_address): Redo last change: copy the mem
in the same way it's usually done.

From-SVN: r2503
1992-10-18 00:49:34 +00:00
Richard Stallman 4006fe4f1b (SIZE_TYPE): Fix typo in #ifndef.
From-SVN: r2502
1992-10-17 23:27:53 +00:00
Richard Stallman 5b6a946c33 (string.h): Remove #defines for other compiler's builtin functions.
From-SVN: r2501
1992-10-17 21:21:32 +00:00
Richard Stallman eae92d827e (va_list) [__SVR4_2__]: Don't set or test _VA_LIST.
From-SVN: r2500
1992-10-17 07:39:31 +00:00
Richard Stallman 037080855f (get_inner_reference): If flag_volatile, treat every INDIRECT_REF as volatile.
From-SVN: r2499
1992-10-17 07:23:29 +00:00
Richard Stallman eda5fa7b7e (cplusplus_comments): New var.
(main): Set it according to options.
(rescan, handle_directive, skip_if_group, validate_else):
(skip_to_end_of_comment, macarg1, discard_comments):
Use cplusplus_comments to enable C++ comment syntax.

From-SVN: r2498
1992-10-17 07:22:43 +00:00
Richard Stallman 8328559dec Do nothing if _ANSI_STDDEF_H already defined.
From-SVN: r2497
1992-10-17 04:41:39 +00:00
Richard Stallman f5a2fb25ba (gen_lowpart_common): Fix typo in last change.
From-SVN: r2496
1992-10-17 04:33:09 +00:00
Richard Stallman 3d77b9c27d Correct previous patch.
From-SVN: r2495
1992-10-17 03:44:53 +00:00
Richard Stallman f6ba5fe9cc (start_class): For an INTERFACE_TYPE, push to permanent obstack.
(build_message_expr): Use TYPE_MAIN_VARIANT when comparing types.

From-SVN: r2494
1992-10-17 01:37:08 +00:00
Richard Stallman 5baa9d1f70 (libobjc.a): Don't use $(MAKEFLAGS).
Add braces around shell variable references.

From-SVN: r2493
1992-10-17 00:17:56 +00:00
Michael Meissner ba4dd4d883 Protect all defines with ifndef.
From-SVN: r2492
1992-10-16 18:22:19 +00:00
Tom Wood 265ce9f859 (libobjc.a): Compute srcdir1 without changing directories.
(libobjc.a):  Compute srcdir1 without changing
	directories.  Use srcdir1 to locate objc/Makefile.  Put quotes
	around all potential multi-word values.  Recompute GCC_FOR_TARGET.
	(sublibobjc.a): Use same text as libobjc.a.
	(mostlyclean): Use $(MAKE) and srcdir1 for objc action.

From-SVN: r2491
1992-10-16 14:46:08 +00:00
Richard Stallman 2740a6786b (find_fixup_replacement): Renamed from find_replacement.
From-SVN: r2490
1992-10-16 14:38:26 +00:00
Richard Stallman 37a5211207 (output_addressed_constants): Handle NON_LVALUE_EXPR.
From-SVN: r2489
1992-10-16 08:35:42 +00:00
Jeff Law 726a04b41f pa.c (call_operand_address): Only allow registers if TARGET_LONG_CALLS.
* pa.c (call_operand_address): Only allow registers if
        TARGET_LONG_CALLS.

From-SVN: r2488
1992-10-16 00:24:19 -06:00
Jeff Law 6efdeb47f6 * pa.h (TARGET_SWITCHES): New switch "-mlong-calls".
From-SVN: r2487
1992-10-16 00:24:08 -06:00
Jeff Law 5cf2759eb4 pa.md (call define_expands): If TARGET_LONG_CALLS, then force the address of the function into a register.
* pa.md (call define_expands): If TARGET_LONG_CALLS, then force
        the address of the function into a register.

From-SVN: r2486
1992-10-16 00:23:57 -06:00
Richard Stallman ea727bbf20 (libobjc.a): Get directories right, using shell vars thisdir1, srcdir1.
Put quotes around $(GCC_CFLAGS).  Use $(MAKE).

From-SVN: r2485
1992-10-16 04:23:33 +00:00
Richard Stallman fced8ba341 (distribute_bit_expr): Test for BIT_{AND,IOR}_EXPR.
From-SVN: r2484
1992-10-16 02:49:07 +00:00
Mike Stump fa771c3751 Add support for a new 64 bit CPU type. Elxsi.
From-SVN: r2483
1992-10-15 21:06:27 +00:00
Mike Stump 99281ca45f entered into RCS
From-SVN: r2482
1992-10-15 20:59:46 +00:00
Richard Kenner 6702af89af (cse_insn): Add missing call to apply_change_group.
From-SVN: r2481
1992-10-15 16:55:08 -04:00
Michael Meissner 72cc54448c Do not pass -G 0 when building libgcc.a.
From-SVN: r2480
1992-10-15 19:08:11 +00:00
Michael Meissner c903545b96 Allow spaces in tag names.
From-SVN: r2479
1992-10-15 18:29:53 +00:00
Timothy Moore 907b717923 (INITIAL_FRAME_POINTER_OFFSET): Pass extra null parameter
to compute_frame_size..

From-SVN: r2478
1992-10-15 15:57:37 +00:00
Timothy Moore 8a9c76f3c2 pa.c (compute_frame_size): Take an fregs_live parameter instead of setting the static variable save_fregs.
* pa.c (compute_frame_size): Take an fregs_live parameter instead
        of setting the static variable save_fregs.
        (output_function_prologue): Initialize save_fregs to 0 and pass to
        compute_frame_size.

From-SVN: r2477
1992-10-15 15:57:18 +00:00
Richard Kenner 459a265325 (fold): Add missing test in case when we distribute a NOP_EXPR into a
COND_EXPR and try to pull it back out again.

From-SVN: r2476
1992-10-15 08:39:59 -04:00
Tom Wood 76d4178822 (CPP_SPEC): Add -D__m88110__ when -m88110 is in effect,
similarly for -m88100.

From-SVN: r2475
1992-10-15 12:09:23 +00:00
Tom Wood bf1fec41b9 (CPP_PREDEFINES): Drop -Dmc88100.
(CPP_SPEC): Reproduce the predefine -Dmc88100 when -m88100 is in
	effect.  Otherwise, supply -D__mc881x0__ when -m881x0 is in effect.

From-SVN: r2474
1992-10-15 12:08:51 +00:00
Tom Wood 8227896cf6 (simple_operand_p): Don't regard global or static variables as simple.
(simple_operand_p): Don't regard global or static
	variables as simple.
	(fold_truthop): Only require the RHS to be simple.

From-SVN: r2473
1992-10-15 11:39:38 +00:00
Richard Stallman d15d0264a9 [L_ctors] (__CTOR_LIST__, __DTOR_LIST__):
Initialize these default definitions if __NeXT__.

From-SVN: r2472
1992-10-15 08:25:16 +00:00
Richard Stallman 07a3713d5d Initial revision
From-SVN: r2471
1992-10-15 08:15:14 +00:00
Richard Stallman 7dea1d59ea [__NeXT__]: Define _VA_LIST_ if _ANSI_STDARG_H_ was
defined; then define _ANSI_STDARG_H_.

From-SVN: r2470
1992-10-15 08:08:16 +00:00
Richard Stallman cac47212eb (_ANSI_STDDEF_H): Define, along with _STDDEF_H.
From-SVN: r2469
1992-10-15 08:05:45 +00:00