Commit Graph

2494 Commits

Author SHA1 Message Date
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
Richard Stallman
1c64de1759 (INCLUDE_DEFAULTS): New macro.
From-SVN: r2468
1992-10-15 07:52:15 +00:00
Richard Stallman
5365d6ee18 (main): If COLLECT_GCC is a relative name, use it anyway.
From-SVN: r2467
1992-10-15 06:11:01 +00:00
Richard Stallman
46cca58cf7 (DEBUG_REGISTER_NAMES): New macro definition.
From-SVN: r2466
1992-10-15 05:10:32 +00:00
Richard Stallman
78e3321337 (__gcc_bcmp): Don't depend on signedness of `char'.
From-SVN: r2465
1992-10-15 05:04:48 +00:00
Jim Wilson
22162da3d7 (sched_note_set): Set subreg_p for anything except a paradoxical subreg.
From-SVN: r2464
1992-10-14 15:57:42 -07:00
Jim Wilson
ea9c5b9e08 (find_reloads): Don't let an operand have a numbered
constraint that makes it match itself.

From-SVN: r2463
1992-10-14 15:51:59 -07:00
Richard Kenner
c0e126010f Fix typo in comment at start of file.
From-SVN: r2462
1992-10-14 18:17:05 -04:00
Jeff Law
43369be5d2 Put back changes lost in the last update of pa.h
From-SVN: r2461
1992-10-14 10:16:35 -06:00
Timothy Moore
d2a94ec006 *** empty log message ***
From-SVN: r2460
1992-10-14 14:50:17 +00:00
Timothy Moore
12c83d0b35 Initial revision
From-SVN: r2459
1992-10-14 14:35:44 +00:00
Richard Kenner
eee4bff6c2 (call, call_value): Don't use call_operand, since checking for
recursive calls at this point is not safe.

From-SVN: r2458
1992-10-14 07:19:23 -04:00
Richard Kenner
eb9aa33885 (call, call_value): Don't use call_operand, since checking for
recursive calls at this point is not safe.

(const_16_operand, const_24_operand, gpc_reg_or_immediate_operand):
Fix typo in declaration of MODE.
(and_operand, add_operand): Likwise.

From-SVN: r2457
1992-10-14 07:17:03 -04:00
Richard Stallman
a4f6608ca2 Some comments and whitespace cleaned up. RCS headers removed.
Include gstddef.h and objc-proto.h.
Don't include objcP.h or objc-protoP.h.
Avoid use of u_int, etc. so no need for sys/types.h.
Adjust for change in node_table field data type.

Fix calls to DEBUG_PRINTF; no longer wants stream as arg.

From-SVN: r2456
1992-10-14 09:49:27 +00:00
Richard Stallman
437b93370d (reg_names): Make it static. Use DEBUG_REGISTER_NAMES if that's defined.
(DEBUG_PRINT_REG): Define if not defined.
(print_rtx): Use DEBUG_PRINT_REG for hard regs.

(reg_name): Moved here.
Get rid of RCS headers.  Fix up whitespace and comments.
Make key field and corresponding args `const void *'.
Don't use assert.
Get rid of spurious array-level in node_table field; make it void **.
Declare module_hash_table, class_hash_table.
(hash_int): Divide by sizeof (void *), not by 2**that minus 1.

From-SVN: r2455
1992-10-14 09:32:39 +00:00
Richard Stallman
584322a463 Removed due to issues
From-SVN: r2454
1992-10-14 09:29:26 +00:00
Jeff Law
da8dce4a29 * pa.h (RTX_COST): Fix spacing typo.o
From-SVN: r2453
1992-10-14 01:11:36 -06:00
Richard Stallman
0ae2f0ff0c (sys/stream.h, sys/strsubr.h): Delete spurious `extern'
in various structure definitions.

From-SVN: r2452
1992-10-14 04:37:09 +00:00
Richard Stallman
cf99a7342b (reg_names): Make it static. Use DEBUG_REGISTER_NAMES if that's defined.
(DEBUG_PRINT_REG): Define if not defined.
(print_rtx): Use DEBUG_PRINT_REG for hard regs.

(reg_name): Moved here.

From-SVN: r2451
1992-10-14 04:23:52 +00:00
Richard Stallman
7124e1e508 (jump_optimize): Don't optimize jumps to store-flag insns
when BLKmode values are being compared.

From-SVN: r2450
1992-10-14 04:21:51 +00:00
Richard Stallman
fb3ef382a4 (single_set): fix typo in REG_UNUSED check.
From-SVN: r2449
1992-10-14 04:02:16 +00:00
Chris Smith
0bd2462c23 updates for 2.3
From-SVN: r2448
1992-10-14 01:27:21 +00:00
Richard Stallman
2c16c66660 (output_asm_insn): Advance over the = when processing %=.
From-SVN: r2447
1992-10-14 01:21:59 +00:00
Richard Stallman
2166571b8f (simplify_binary_operation): Insure that folded >> extends
the sign even if the host bootstrap compiler doesn't.

From-SVN: r2446
1992-10-14 01:20:21 +00:00