platform/upstream/gcc.git
31 years agoInitial revision
Richard Kenner [Wed, 21 Oct 1992 11:32:36 +0000 (07:32 -0400)]
Initial revision

From-SVN: r2539

31 years ago(integer_overflow): Do nothing unless pedantic.
Richard Stallman [Wed, 21 Oct 1992 06:54:16 +0000 (06:54 +0000)]
(integer_overflow): Do nothing unless pedantic.

From-SVN: r2538

31 years agoChange global-alloc.c to global.c.
Jim Wilson [Tue, 20 Oct 1992 21:15:03 +0000 (14:15 -0700)]
Change global-alloc.c to global.c.

From-SVN: r2537

31 years agoChange global-alloc.c to global.c
Jim Wilson [Tue, 20 Oct 1992 21:13:38 +0000 (14:13 -0700)]
Change global-alloc.c to global.c

From-SVN: r2536

31 years agoentered into RCS
Roland McGrath [Tue, 20 Oct 1992 21:12:16 +0000 (21:12 +0000)]
entered into RCS

From-SVN: r2535

31 years ago(call, call_value): Use 'd' not 'r' constraint for scratch.
Jim Wilson [Tue, 20 Oct 1992 21:10:46 +0000 (14:10 -0700)]
(call, call_value): Use 'd' not 'r' constraint for scratch.

From-SVN: r2534

31 years ago(WORD_SWITCH_TAKES_ARG): Add -Ttext and -Tbss.
Jim Wilson [Tue, 20 Oct 1992 21:01:45 +0000 (14:01 -0700)]
(WORD_SWITCH_TAKES_ARG): Add -Ttext and -Tbss.

From-SVN: r2533

31 years ago(WORD_SWITCH_TAKES_ARG): Add -Ttext and -Tbss.
Jim Wilson [Tue, 20 Oct 1992 20:58:39 +0000 (13:58 -0700)]
(WORD_SWITCH_TAKES_ARG): Add -Ttext and -Tbss.

From-SVN: r2532

31 years ago(WORD_SWITCH_TAKES_ARG): Add -Tbss.
Jim Wilson [Tue, 20 Oct 1992 20:56:32 +0000 (13:56 -0700)]
(WORD_SWITCH_TAKES_ARG): Add -Tbss.

From-SVN: r2531

31 years ago(WORD_SWITCH_TAKES_ARG): Delete, now unnecessary.
Jim Wilson [Tue, 20 Oct 1992 20:55:29 +0000 (13:55 -0700)]
(WORD_SWITCH_TAKES_ARG): Delete, now unnecessary.

From-SVN: r2530

31 years ago(WORD_SWITCH_TAKES_ARG): Handle -Ttext and -Tbss in addition to -Tdata.
Jim Wilson [Tue, 20 Oct 1992 20:54:08 +0000 (13:54 -0700)]
(WORD_SWITCH_TAKES_ARG): Handle -Ttext and -Tbss in addition to -Tdata.

From-SVN: r2529

31 years ago(dwarfout_file_scope_decl): Generate DIEs for
Tom Wood [Tue, 20 Oct 1992 20:49:26 +0000 (20:49 +0000)]
(dwarfout_file_scope_decl): Generate DIEs for
built-in non-fundamental types.

From-SVN: r2528

31 years ago(copy_rtx_and_substitute): Don't assume force_operand on an address returns a REG...
Richard Kenner [Tue, 20 Oct 1992 10:50:14 +0000 (06:50 -0400)]
(copy_rtx_and_substitute): Don't assume force_operand on an address returns a REG; it might be a SUBREG.

(copy_rtx_and_substitute): Don't assume force_operand on an address
returns a REG; it might be a SUBREG.  Use force_reg.

From-SVN: r2527

31 years ago(force_operand): Clarify comment to say what it can return.
Richard Kenner [Tue, 20 Oct 1992 10:49:30 +0000 (06:49 -0400)]
(force_operand): Clarify comment to say what it can return.

From-SVN: r2526

31 years ago(store_field): If trying to sign-extend a constant, use value_mode as
Richard Stallman [Tue, 20 Oct 1992 10:47:23 +0000 (10:47 +0000)]
(store_field): If trying to sign-extend a constant, use value_mode as
the mode.

From-SVN: r2525

31 years ago(make_node, copy_node): Don't assume node length is multiple of int.
Richard Stallman [Tue, 20 Oct 1992 08:57:43 +0000 (08:57 +0000)]
(make_node, copy_node): Don't assume node length is multiple of int.

From-SVN: r2524

31 years ago(write_tree): For type SPLIT, check subroutine return
Richard Stallman [Tue, 20 Oct 1992 07:51:30 +0000 (07:51 +0000)]
(write_tree): For type SPLIT, check subroutine return
values for non-zero value not positive value.

From-SVN: r2523

31 years ago(print_table, scan_table): Add support for XPG4's %S and %C formats for printing...
Richard Stallman [Tue, 20 Oct 1992 07:37:27 +0000 (07:37 +0000)]
(print_table, scan_table): Add support for XPG4's %S and %C formats for printing/reading wide characters.

(print_table, scan_table): Add support for XPG4's %S and %C formats
for printing/reading wide characters.  %lc and %ls too.

From-SVN: r2522

31 years agoAdd #undef getopt after getopt.h.
Richard Stallman [Tue, 20 Oct 1992 07:13:36 +0000 (07:13 +0000)]
Add #undef getopt after getopt.h.

From-SVN: r2521

31 years ago(output_epilogue): Restore sp's value if no frame pointer.
Torbjorn Granlund [Mon, 19 Oct 1992 22:26:11 +0000 (22:26 +0000)]
(output_epilogue): Restore sp's value if no frame pointer.

From-SVN: r2520

31 years ago(WORD_SWITCH_TAKES_ARG): Delete sparc related cruft.
Torbjorn Granlund [Mon, 19 Oct 1992 21:57:38 +0000 (21:57 +0000)]
(WORD_SWITCH_TAKES_ARG): Delete sparc related cruft.

From-SVN: r2519

31 years ago(SECONDARY_INPUT_RELOAD_CLASS): Require a temporary for a
Tom Wood [Mon, 19 Oct 1992 21:00:14 +0000 (21:00 +0000)]
(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

31 years ago(emit_move_sequence): Add scratch register.
Tom Wood [Mon, 19 Oct 1992 20:59:51 +0000 (20:59 +0000)]
(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

31 years ago(reload_insi): New pattern.
Tom Wood [Mon, 19 Oct 1992 20:59:31 +0000 (20:59 +0000)]
(reload_insi): New pattern.

(addsi3 pattern for large constants): Delete.  Causes reload trouble.

From-SVN: r2516

31 years ago(libobjc.a): Don't mkdir objc if dir exists.
Richard Stallman [Mon, 19 Oct 1992 20:47:23 +0000 (20:47 +0000)]
(libobjc.a): Don't mkdir objc if dir exists.

From-SVN: r2515

31 years agoRISC-OS System V patches for index/rindex.
Michael Meissner [Mon, 19 Oct 1992 14:58:53 +0000 (14:58 +0000)]
RISC-OS System V patches for index/rindex.

From-SVN: r2514

31 years ago(mostlyclean): Delete libobjc.a.
Richard Stallman [Mon, 19 Oct 1992 07:37:36 +0000 (07:37 +0000)]
(mostlyclean): Delete libobjc.a.

(libobjc.a): Create the objc subdir.

From-SVN: r2513

31 years ago*** empty log message ***
Arne H. Juul [Mon, 19 Oct 1992 00:50:52 +0000 (00:50 +0000)]
*** empty log message ***

From-SVN: r2512

31 years ago(canon_reg): Don't call validate_change if INSN is zero.
Richard Stallman [Sun, 18 Oct 1992 19:56:07 +0000 (19:56 +0000)]
(canon_reg): Don't call validate_change if INSN is zero.

From-SVN: r2511

31 years ago(store_field): Typo in last change.
Richard Stallman [Sun, 18 Oct 1992 19:13:01 +0000 (19:13 +0000)]
(store_field): Typo in last change.

From-SVN: r2510

31 years ago(PRINT_OPERAND): For `h', always use OPERAND_HIGH_ADJ_PART
Richard Stallman [Sun, 18 Oct 1992 08:37:44 +0000 (08:37 +0000)]
(PRINT_OPERAND): For `h', always use OPERAND_HIGH_ADJ_PART
even for integer constant addresses.

From-SVN: r2509

31 years ago(output_addr_const): Always use FILE, not asm_out_file.
Richard Stallman [Sun, 18 Oct 1992 08:16:49 +0000 (08:16 +0000)]
(output_addr_const): Always use FILE, not asm_out_file.

From-SVN: r2508

31 years ago(process_init_constructor): When initializing a union,
Richard Stallman [Sun, 18 Oct 1992 08:12:53 +0000 (08:12 +0000)]
(process_init_constructor): When initializing a union,

handle the case of an empty init list.

From-SVN: r2507

31 years ago(collect_expansion): Don't add whitespace at end if inside a string and not traditional.
Richard Stallman [Sun, 18 Oct 1992 07:15:41 +0000 (07:15 +0000)]
(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

31 years ago(all.build): New rule for making gcc with a cross-compiler.
Richard Stallman [Sun, 18 Oct 1992 05:30:48 +0000 (05:30 +0000)]
(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

31 years ago(store_field): If signed bitfield and want value, sign extend.
Richard Stallman [Sun, 18 Oct 1992 05:09:47 +0000 (05:09 +0000)]
(store_field): If signed bitfield and want value, sign extend.

From-SVN: r2504

31 years ago(find_reloads_address): Redo last change: copy the mem
Richard Stallman [Sun, 18 Oct 1992 00:49:34 +0000 (00:49 +0000)]
(find_reloads_address): Redo last change: copy the mem
in the same way it's usually done.

From-SVN: r2503

31 years ago(SIZE_TYPE): Fix typo in #ifndef.
Richard Stallman [Sat, 17 Oct 1992 23:27:53 +0000 (23:27 +0000)]
(SIZE_TYPE): Fix typo in #ifndef.

From-SVN: r2502

31 years ago(string.h): Remove #defines for other compiler's builtin functions.
Richard Stallman [Sat, 17 Oct 1992 21:21:32 +0000 (21:21 +0000)]
(string.h): Remove #defines for other compiler's builtin functions.

From-SVN: r2501

31 years ago(va_list) [__SVR4_2__]: Don't set or test _VA_LIST.
Richard Stallman [Sat, 17 Oct 1992 07:39:31 +0000 (07:39 +0000)]
(va_list) [__SVR4_2__]: Don't set or test _VA_LIST.

From-SVN: r2500

31 years ago(get_inner_reference): If flag_volatile, treat every INDIRECT_REF as volatile.
Richard Stallman [Sat, 17 Oct 1992 07:23:29 +0000 (07:23 +0000)]
(get_inner_reference): If flag_volatile, treat every INDIRECT_REF as volatile.

From-SVN: r2499

31 years ago(cplusplus_comments): New var.
Richard Stallman [Sat, 17 Oct 1992 07:22:43 +0000 (07:22 +0000)]
(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

31 years agoDo nothing if _ANSI_STDDEF_H already defined.
Richard Stallman [Sat, 17 Oct 1992 04:41:39 +0000 (04:41 +0000)]
Do nothing if _ANSI_STDDEF_H already defined.

From-SVN: r2497

31 years ago(gen_lowpart_common): Fix typo in last change.
Richard Stallman [Sat, 17 Oct 1992 04:33:09 +0000 (04:33 +0000)]
(gen_lowpart_common): Fix typo in last change.

From-SVN: r2496

31 years agoCorrect previous patch.
Richard Stallman [Sat, 17 Oct 1992 03:44:53 +0000 (03:44 +0000)]
Correct previous patch.

From-SVN: r2495

31 years ago(start_class): For an INTERFACE_TYPE, push to permanent obstack.
Richard Stallman [Sat, 17 Oct 1992 01:37:08 +0000 (01:37 +0000)]
(start_class): For an INTERFACE_TYPE, push to permanent obstack.

(build_message_expr): Use TYPE_MAIN_VARIANT when comparing types.

From-SVN: r2494

31 years ago(libobjc.a): Don't use $(MAKEFLAGS).
Richard Stallman [Sat, 17 Oct 1992 00:17:56 +0000 (00:17 +0000)]
(libobjc.a): Don't use $(MAKEFLAGS).

Add braces around shell variable references.

From-SVN: r2493

31 years agoProtect all defines with ifndef.
Michael Meissner [Fri, 16 Oct 1992 18:22:19 +0000 (18:22 +0000)]
Protect all defines with ifndef.

From-SVN: r2492

31 years ago(libobjc.a): Compute srcdir1 without changing directories.
Tom Wood [Fri, 16 Oct 1992 14:46:08 +0000 (14:46 +0000)]
(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

31 years ago(find_fixup_replacement): Renamed from find_replacement.
Richard Stallman [Fri, 16 Oct 1992 14:38:26 +0000 (14:38 +0000)]
(find_fixup_replacement): Renamed from find_replacement.

From-SVN: r2490

31 years ago(output_addressed_constants): Handle NON_LVALUE_EXPR.
Richard Stallman [Fri, 16 Oct 1992 08:35:42 +0000 (08:35 +0000)]
(output_addressed_constants): Handle NON_LVALUE_EXPR.

From-SVN: r2489

31 years agopa.c (call_operand_address): Only allow registers if TARGET_LONG_CALLS.
Jeff Law [Fri, 16 Oct 1992 06:24:19 +0000 (00:24 -0600)]
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

31 years ago* pa.h (TARGET_SWITCHES): New switch "-mlong-calls".
Jeff Law [Fri, 16 Oct 1992 06:24:08 +0000 (00:24 -0600)]
* pa.h (TARGET_SWITCHES): New switch "-mlong-calls".

From-SVN: r2487

31 years agopa.md (call define_expands): If TARGET_LONG_CALLS, then force the address of the...
Jeff Law [Fri, 16 Oct 1992 06:23:57 +0000 (00:23 -0600)]
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

31 years ago(libobjc.a): Get directories right, using shell vars thisdir1, srcdir1.
Richard Stallman [Fri, 16 Oct 1992 04:23:33 +0000 (04:23 +0000)]
(libobjc.a): Get directories right, using shell vars thisdir1, srcdir1.

Put quotes around $(GCC_CFLAGS).  Use $(MAKE).

From-SVN: r2485

31 years ago(distribute_bit_expr): Test for BIT_{AND,IOR}_EXPR.
Richard Stallman [Fri, 16 Oct 1992 02:49:07 +0000 (02:49 +0000)]
(distribute_bit_expr): Test for BIT_{AND,IOR}_EXPR.

From-SVN: r2484

31 years agoAdd support for a new 64 bit CPU type. Elxsi.
Mike Stump [Thu, 15 Oct 1992 21:06:27 +0000 (21:06 +0000)]
Add support for a new 64 bit CPU type.  Elxsi.

From-SVN: r2483

31 years agoentered into RCS
Mike Stump [Thu, 15 Oct 1992 20:59:46 +0000 (20:59 +0000)]
entered into RCS

From-SVN: r2482

31 years ago(cse_insn): Add missing call to apply_change_group.
Richard Kenner [Thu, 15 Oct 1992 20:55:08 +0000 (16:55 -0400)]
(cse_insn): Add missing call to apply_change_group.

From-SVN: r2481

31 years agoDo not pass -G 0 when building libgcc.a.
Michael Meissner [Thu, 15 Oct 1992 19:08:11 +0000 (19:08 +0000)]
Do not pass -G 0 when building libgcc.a.

From-SVN: r2480

31 years agoAllow spaces in tag names.
Michael Meissner [Thu, 15 Oct 1992 18:29:53 +0000 (18:29 +0000)]
Allow spaces in tag names.

From-SVN: r2479

31 years ago(INITIAL_FRAME_POINTER_OFFSET): Pass extra null parameter
Timothy Moore [Thu, 15 Oct 1992 15:57:37 +0000 (15:57 +0000)]
(INITIAL_FRAME_POINTER_OFFSET): Pass extra null parameter
        to compute_frame_size..

From-SVN: r2478

31 years agopa.c (compute_frame_size): Take an fregs_live parameter instead of setting the static...
Timothy Moore [Thu, 15 Oct 1992 15:57:18 +0000 (15:57 +0000)]
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

31 years ago(fold): Add missing test in case when we distribute a NOP_EXPR into a
Richard Kenner [Thu, 15 Oct 1992 12:39:59 +0000 (08:39 -0400)]
(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

31 years ago(CPP_SPEC): Add -D__m88110__ when -m88110 is in effect,
Tom Wood [Thu, 15 Oct 1992 12:09:23 +0000 (12:09 +0000)]
(CPP_SPEC): Add -D__m88110__ when -m88110 is in effect,

similarly for -m88100.

From-SVN: r2475

31 years ago(CPP_PREDEFINES): Drop -Dmc88100.
Tom Wood [Thu, 15 Oct 1992 12:08:51 +0000 (12:08 +0000)]
(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

31 years ago(simple_operand_p): Don't regard global or static variables as simple.
Tom Wood [Thu, 15 Oct 1992 11:39:38 +0000 (11:39 +0000)]
(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

31 years ago[L_ctors] (__CTOR_LIST__, __DTOR_LIST__):
Richard Stallman [Thu, 15 Oct 1992 08:25:16 +0000 (08:25 +0000)]
[L_ctors] (__CTOR_LIST__, __DTOR_LIST__):

Initialize these default definitions if __NeXT__.

From-SVN: r2472

31 years agoInitial revision
Richard Stallman [Thu, 15 Oct 1992 08:15:14 +0000 (08:15 +0000)]
Initial revision

From-SVN: r2471

31 years ago[__NeXT__]: Define _VA_LIST_ if _ANSI_STDARG_H_ was
Richard Stallman [Thu, 15 Oct 1992 08:08:16 +0000 (08:08 +0000)]
[__NeXT__]: Define _VA_LIST_ if _ANSI_STDARG_H_ was
defined; then define _ANSI_STDARG_H_.

From-SVN: r2470

31 years ago(_ANSI_STDDEF_H): Define, along with _STDDEF_H.
Richard Stallman [Thu, 15 Oct 1992 08:05:45 +0000 (08:05 +0000)]
(_ANSI_STDDEF_H): Define, along with _STDDEF_H.

From-SVN: r2469

31 years ago(INCLUDE_DEFAULTS): New macro.
Richard Stallman [Thu, 15 Oct 1992 07:52:15 +0000 (07:52 +0000)]
(INCLUDE_DEFAULTS): New macro.

From-SVN: r2468

31 years ago(main): If COLLECT_GCC is a relative name, use it anyway.
Richard Stallman [Thu, 15 Oct 1992 06:11:01 +0000 (06:11 +0000)]
(main): If COLLECT_GCC is a relative name, use it anyway.

From-SVN: r2467

31 years ago(DEBUG_REGISTER_NAMES): New macro definition.
Richard Stallman [Thu, 15 Oct 1992 05:10:32 +0000 (05:10 +0000)]
(DEBUG_REGISTER_NAMES): New macro definition.

From-SVN: r2466

31 years ago(__gcc_bcmp): Don't depend on signedness of `char'.
Richard Stallman [Thu, 15 Oct 1992 05:04:48 +0000 (05:04 +0000)]
(__gcc_bcmp): Don't depend on signedness of `char'.

From-SVN: r2465

31 years ago(sched_note_set): Set subreg_p for anything except a paradoxical subreg.
Jim Wilson [Wed, 14 Oct 1992 22:57:42 +0000 (15:57 -0700)]
(sched_note_set): Set subreg_p for anything except a paradoxical subreg.

From-SVN: r2464

31 years ago(find_reloads): Don't let an operand have a numbered
Jim Wilson [Wed, 14 Oct 1992 22:51:59 +0000 (15:51 -0700)]
(find_reloads): Don't let an operand have a numbered
constraint that makes it match itself.

From-SVN: r2463

31 years agoFix typo in comment at start of file.
Richard Kenner [Wed, 14 Oct 1992 22:17:05 +0000 (18:17 -0400)]
Fix typo in comment at start of file.

From-SVN: r2462

31 years agoPut back changes lost in the last update of pa.h
Jeff Law [Wed, 14 Oct 1992 16:16:35 +0000 (10:16 -0600)]
Put back changes lost in the last update of pa.h

From-SVN: r2461

31 years ago*** empty log message ***
Timothy Moore [Wed, 14 Oct 1992 14:50:17 +0000 (14:50 +0000)]
*** empty log message ***

From-SVN: r2460

31 years agoInitial revision
Timothy Moore [Wed, 14 Oct 1992 14:35:44 +0000 (14:35 +0000)]
Initial revision

From-SVN: r2459

31 years ago(call, call_value): Don't use call_operand, since checking for
Richard Kenner [Wed, 14 Oct 1992 11:19:23 +0000 (07:19 -0400)]
(call, call_value): Don't use call_operand, since checking for
recursive calls at this point is not safe.

From-SVN: r2458

31 years ago(call, call_value): Don't use call_operand, since checking for
Richard Kenner [Wed, 14 Oct 1992 11:17:03 +0000 (07:17 -0400)]
(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

31 years agoSome comments and whitespace cleaned up. RCS headers removed.
Richard Stallman [Wed, 14 Oct 1992 09:49:27 +0000 (09:49 +0000)]
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

31 years ago(reg_names): Make it static. Use DEBUG_REGISTER_NAMES if that's defined.
Richard Stallman [Wed, 14 Oct 1992 09:32:39 +0000 (09:32 +0000)]
(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

31 years agoRemoved due to issues
Richard Stallman [Wed, 14 Oct 1992 09:29:26 +0000 (09:29 +0000)]
Removed due to issues

From-SVN: r2454

31 years ago* pa.h (RTX_COST): Fix spacing typo.o
Jeff Law [Wed, 14 Oct 1992 07:11:36 +0000 (01:11 -0600)]
* pa.h (RTX_COST): Fix spacing typo.o

From-SVN: r2453

31 years ago(sys/stream.h, sys/strsubr.h): Delete spurious `extern'
Richard Stallman [Wed, 14 Oct 1992 04:37:09 +0000 (04:37 +0000)]
(sys/stream.h, sys/strsubr.h): Delete spurious `extern'
in various structure definitions.

From-SVN: r2452

31 years ago(reg_names): Make it static. Use DEBUG_REGISTER_NAMES if that's defined.
Richard Stallman [Wed, 14 Oct 1992 04:23:52 +0000 (04:23 +0000)]
(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

31 years ago(jump_optimize): Don't optimize jumps to store-flag insns
Richard Stallman [Wed, 14 Oct 1992 04:21:51 +0000 (04:21 +0000)]
(jump_optimize): Don't optimize jumps to store-flag insns
when BLKmode values are being compared.

From-SVN: r2450

31 years ago(single_set): fix typo in REG_UNUSED check.
Richard Stallman [Wed, 14 Oct 1992 04:02:16 +0000 (04:02 +0000)]
(single_set): fix typo in REG_UNUSED check.

From-SVN: r2449

31 years agoupdates for 2.3
Chris Smith [Wed, 14 Oct 1992 01:27:21 +0000 (01:27 +0000)]
updates for 2.3

From-SVN: r2448

31 years ago(output_asm_insn): Advance over the = when processing %=.
Richard Stallman [Wed, 14 Oct 1992 01:21:59 +0000 (01:21 +0000)]
(output_asm_insn): Advance over the = when processing %=.

From-SVN: r2447

31 years ago(simplify_binary_operation): Insure that folded >> extends
Richard Stallman [Wed, 14 Oct 1992 01:20:21 +0000 (01:20 +0000)]
(simplify_binary_operation): Insure that folded >> extends
the sign even if the host bootstrap compiler doesn't.

From-SVN: r2446

31 years agoUse GEN_INT when appropriate.
Richard Kenner [Tue, 13 Oct 1992 23:08:44 +0000 (19:08 -0400)]
Use GEN_INT when appropriate.

(define_attr type): New types for SQRT.
(call patterns): Use SCRATCH for LR0.
Use new predicate call_operand so that some integers can be
used as addresses; fix CALLI so it doesn't accept constant.
(EXBYTE, EXTHW, INBYTE, INHW): Use ZERO_EXTEND instead of AND
when combine will make it.
Use PSImode for BP value and don't reference BP explicitly.
Clean up define_expands for these operations.
(rotlsi3): Use PSImode pseudo for FC.
(sign_extend): Sign extension insns clobber BP.
({load,store}_multiple): Use PSImode pseudo for CR.
(MTSR): Add pattern for TRUNCATE from SImode to PSImode.
(sqrtsf2, sqrtdf2, movpsi): New patterns.
(load/store bytes/halfword): Clean up to accept temporaries as
input and use PSImode when required.
(movhi, movqi): Allocate temporaries here.
(reload_inqi, reload_outqi, reload_inhi, reload_outhi): New patterns.
(movdf, movdi, movti): Use SCRATCH for BP register.
(reload_{in,out}{df,di,ti}): New patterns.

From-SVN: r2445

31 years ago(PROMOTE_MODE, ADJUST_COST): New macros.
Richard Kenner [Tue, 13 Oct 1992 23:07:51 +0000 (19:07 -0400)]
(PROMOTE_MODE, ADJUST_COST): New macros.

(CALL_USED_REGISTERS): LR0 is call-used.
(HARD_REGNO_MODE_OK): Handle MODE_PARTIAL_INT and the special
registers that can only hold those modes.
(MODES_TIEABLE_P): Clean up and handle MODE_PARTIAL_INT modes.
(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
classes LR0_REGS, FC_REGS, and CR_REGS.
(REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
(PREDICATE_CODES): Update for new and deleted predicates.

From-SVN: r2444

31 years agoNow includes reload.h.
Richard Kenner [Tue, 13 Oct 1992 23:07:05 +0000 (19:07 -0400)]
Now includes reload.h.

(spec_reg_operand): Validate mode and know that some regs support
MODE_PARTIAL_INT and some MODE_INT.
(call_operand, reload_memory_operand, a29k_get_reloaded_address)
 New functions.
(in_operand): Allow constants with MODE_PARTIAL_INT.
(out_operand): Allow special registers with any mode.
Any MEM a word or wider is valid.
(extend_operator): Deleted.
(secondary_reload_class): A pseudo is the same as memory; we need
BP_REGS for multi-word memory or for bytes and halfword if -mndw.
(print_operand): Delete %X; add %m.
(print_operand, case 'F'): Check for SYMBOL_REF.

From-SVN: r2443

31 years ago(stdio.h): Fix va_list when preceeded by a *.
Richard Stallman [Tue, 13 Oct 1992 20:53:10 +0000 (20:53 +0000)]
(stdio.h): Fix va_list when preceeded by a *.

From-SVN: r2442

31 years agospc-sol2.h (STARTFILE_SPEC): Add crtbegin.o.
Brendan Kehoe [Tue, 13 Oct 1992 18:56:57 +0000 (14:56 -0400)]
spc-sol2.h (STARTFILE_SPEC): Add crtbegin.o.

        * spc-sol2.h (STARTFILE_SPEC): Add crtbegin.o.
        (LIB_SPEC): Add crtend.o for running ctors/dtors.
        * t-sol2 (EXTRA_PARTS): Add crtbegin.o and crtend.o for C++.
        (FIXINCLUDES): Deleted.
        * configure (sparc-*-solaris2*): Set fixincludes here.

From-SVN: r2441

31 years ago(loop_optimize): Verify that max_uid_for_loop is still larger than the uid of any...
Tom Wood [Tue, 13 Oct 1992 18:45:45 +0000 (18:45 +0000)]
(loop_optimize): Verify that max_uid_for_loop is still larger than the uid of any insn.

(loop_optimize): Verify that max_uid_for_loop is still
larger than the uid of any insn.  Increase the number of exit
blocks from 4 to 32 per loop.
(find_and_verify_loops): Stop trying to relocate exit blocks when
allocating a new label would exceed max_uid_for_loop.

From-SVN: r2440