OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years agoAdd includes for config.h, stdio.h, and flags.h.
kenner [Wed, 23 Apr 1997 13:28:09 +0000 (13:28 +0000)]
Add includes for config.h, stdio.h, and flags.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13958 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agox
merrill [Wed, 23 Apr 1997 00:39:04 +0000 (00:39 +0000)]
x

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13957 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(gen_variable_dir): Add test for DW_AT_declaration to
wilson [Tue, 22 Apr 1997 22:19:47 +0000 (22:19 +0000)]
(gen_variable_dir):  Add test for DW_AT_declaration to
the old_die if statement, and delete assertion for it.
(decl_ultimate_origin): Remove last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13956 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * mn10300.c (expand_prologue): End the current sequence before
law [Tue, 22 Apr 1997 16:29:04 +0000 (16:29 +0000)]
    * mn10300.c (expand_prologue): End the current sequence before
        counting the tst insns in the current function.  Start a new
        one before emitting any prologue instructions.

        * mn10300.h (REGISTER_MOVE_COST): Bump up cost of moves in the
        same class.

        * mn10300.md (untyped_call): New expander.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13955 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoSet TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
wilson [Mon, 21 Apr 1997 21:51:13 +0000 (21:51 +0000)]
Set TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13954 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(fold_rtx, case PLUS): When seeing if negative of constant is around,
kenner [Mon, 21 Apr 1997 20:30:16 +0000 (20:30 +0000)]
(fold_rtx, case PLUS): When seeing if negative of constant is around,
make sure not dealing with largest negative.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13953 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(output_addsi3): New function. From addsi3 pattern.
wilson [Mon, 21 Apr 1997 17:57:09 +0000 (17:57 +0000)]
(output_addsi3): New function.  From addsi3 pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13952 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(movqi+2): Add address registers.
wilson [Mon, 21 Apr 1997 17:56:17 +0000 (17:56 +0000)]
(movqi+2): Add address registers.
(movxf+1): Disable for TARGET_5200.
(movxf+2): New pattern for TARGET_5200.
(addsi3): Add define_expand.  Move code to output_addsi3.
(addsi3_internal): Renamed from addsi3.  Disable for TARGET_5200.
(addsi3_5200): New pattern for TARGET_5200.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13951 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(output_addsi3): Add declaration.
wilson [Mon, 21 Apr 1997 17:55:28 +0000 (17:55 +0000)]
(output_addsi3): Add declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13950 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(operand_equal_p): Constants are not equal if there has been an overflow.
kenner [Mon, 21 Apr 1997 01:27:07 +0000 (01:27 +0000)]
(operand_equal_p): Constants are not equal if there has been an overflow.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13949 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(compile_file): Shorten "branch-probabilities" in output of times.
kenner [Mon, 21 Apr 1997 00:00:04 +0000 (00:00 +0000)]
(compile_file): Shorten "branch-probabilities" in output of times.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13948 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(DWARF2_DEBUGGING_INFO): Define.
kenner [Sun, 20 Apr 1997 22:07:19 +0000 (22:07 +0000)]
(DWARF2_DEBUGGING_INFO): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13947 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDelete junk comment.
kenner [Sun, 20 Apr 1997 21:59:58 +0000 (21:59 +0000)]
Delete junk comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13946 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(MOD[SD]I_LIBCALL): Call ots$rem, not ots$mod.
kenner [Sun, 20 Apr 1997 21:50:20 +0000 (21:50 +0000)]
(MOD[SD]I_LIBCALL): Call ots$rem, not ots$mod.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13945 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(alpha_need_linkage): Call get_identifier.
kenner [Sun, 20 Apr 1997 21:48:27 +0000 (21:48 +0000)]
(alpha_need_linkage): Call get_identifier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13944 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(nonlocal_goto_receiver): New pattern.
kenner [Sun, 20 Apr 1997 21:44:57 +0000 (21:44 +0000)]
(nonlocal_goto_receiver): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13943 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(rs6000_output_load_toc_table): New function.
kenner [Sun, 20 Apr 1997 21:44:06 +0000 (21:44 +0000)]
(rs6000_output_load_toc_table): New function.
(output_prolog): Call it instead of doing it directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13942 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(dwarf2out.o): Includes expr.h.
kenner [Sun, 20 Apr 1997 21:10:38 +0000 (21:10 +0000)]
(dwarf2out.o): Includes expr.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13941 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoMajor cleanup; mostly reformatting.
kenner [Sun, 20 Apr 1997 21:10:19 +0000 (21:10 +0000)]
Major cleanup; mostly reformatting.
Include expr.h.
Undefine inline ifndef __GNUC__; never define to include static.
Add "static" to header of all inlined functions.
Add declarations for all static functions, with prototypes.
(addr_const_to_string): Use HOST_WIDE_INT_PRINT_* macros.
(add_AT_*, new_{die,loc_descr,cfi): Don't check for xmalloc returning zero.
(modified_type_die): Add missing parm on recursive call.
({reg,based}_loc_descriptor): Add missing arg to call to new_loc_descr.
(add_const_value_attribute): Use REAL_VALUE_TYPE for fp calculations.
(output_call_frame_info): Add missing arg to output_cfi call.
(dwarf2out_def_cfa): Local variable OLD_REG must be unsigned long.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13940 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoCast first arg in all calls to bzero to char *.
kenner [Sun, 20 Apr 1997 16:54:50 +0000 (16:54 +0000)]
Cast first arg in all calls to bzero to char *.
(decl_ultimate_origin): Return NULL if equal to decl.
(constant_size): Never return more than 4.
(value_format, case 8): New case.
(dwarf2out_frame_debug): Use HARD_FRAME_POINTER_REGNUM.
(based_loc_descr): Likewise.
(add_bound_info): Delete default case.
Add cases for CONVERT_EXPR and NON_LVALUE_EXPR; treat like NOP_EXPR.
Change NOP_EXPR to to recursive call.
(add_type_attribute): Ignore unnamed subtype of integral or FP.
(gen_subprogram_die): Use reg_loc_descriptor.
(dwarf2out_decl): Ignore nested functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13939 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoUse symbolic codes for exit.
kenner [Sun, 20 Apr 1997 16:39:28 +0000 (16:39 +0000)]
Use symbolic codes for exit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13938 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(profile_function): Only call ASM_OUTPUT_REG_{PUSH,POP} if defined.
kenner [Sun, 20 Apr 1997 16:25:03 +0000 (16:25 +0000)]
(profile_function): Only call ASM_OUTPUT_REG_{PUSH,POP} if defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13937 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago({move,clear}_by_pieces_1, expand_assignment): Ensure we have unshared rtx
kenner [Sun, 20 Apr 1997 16:19:20 +0000 (16:19 +0000)]
({move,clear}_by_pieces_1, expand_assignment): Ensure we have unshared rtx
before changing flags.
(store_{constructor,field}): Likewise.
(expand_expr, case COMPONENT_REF): Likewise.
(store_expr): Check if TEMP and TARGET are same with rtx_equal_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13936 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(change_address, init_emit): Delete forward references.
kenner [Sun, 20 Apr 1997 14:45:33 +0000 (14:45 +0000)]
(change_address, init_emit): Delete forward references.
(rtl_obstack, stack_depth, max_stack_depth): Delete extern decls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13935 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agox
merrill [Sun, 20 Apr 1997 10:25:49 +0000 (10:25 +0000)]
x

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13934 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(instantiate_decls): For DECL_INCOMING_RTL, use max
wilson [Fri, 18 Apr 1997 22:40:55 +0000 (22:40 +0000)]
(instantiate_decls): For DECL_INCOMING_RTL, use max
of type size and mode size in instantiate_decl call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13933 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(sys/lc_core.h): Fix OSF1/4.x namespace pollution.
wilson [Fri, 18 Apr 1997 22:25:17 +0000 (22:25 +0000)]
(sys/lc_core.h): Fix OSF1/4.x namespace pollution.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13932 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoautomatically generated from GPLed version
eggert [Fri, 18 Apr 1997 00:47:55 +0000 (00:47 +0000)]
automatically generated from GPLed version

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13929 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFixes for MIPS OpenBSD systems (from Per Fogelstrom
ian [Thu, 17 Apr 1997 18:00:12 +0000 (18:00 +0000)]
Fixes for MIPS OpenBSD systems (from Per Fogelstrom
<pefo@openbsd.org>)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13910 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agox
merrill [Thu, 17 Apr 1997 11:33:02 +0000 (11:33 +0000)]
x

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13909 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix typo in last change.
law [Tue, 15 Apr 1997 18:51:06 +0000 (18:51 +0000)]
Fix typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13908 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agodefine itrunc, uitrunc, and mcount macros without prepended underscores
edelsohn [Mon, 14 Apr 1997 22:09:53 +0000 (22:09 +0000)]
define itrunc, uitrunc, and mcount macros without prepended underscores

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13907 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoprepend underscores to itrunc and uitrunc
edelsohn [Mon, 14 Apr 1997 22:07:42 +0000 (22:07 +0000)]
prepend underscores to itrunc and uitrunc
define RS6000_MCOUNT macro as symbol with underscores

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13906 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agochange hardcoded .mcount to RS6000_MCOUNT
edelsohn [Mon, 14 Apr 1997 22:06:31 +0000 (22:06 +0000)]
change hardcoded .mcount to RS6000_MCOUNT

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13905 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(xtrct_left, xtrct_right): New patterns.
wilson [Mon, 14 Apr 1997 21:57:14 +0000 (21:57 +0000)]
(xtrct_left, xtrct_right): New patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13904 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * mn10300.c (can_use_return_insn): Include outgoing argument
law [Mon, 14 Apr 1997 20:59:44 +0000 (20:59 +0000)]
    * mn10300.c (can_use_return_insn): Include outgoing argument
        area in size computation.
        (expand_prologue): Likewise.  No longer diddle with sequences.
        Put register saves just before outgoing argument area.
        (expand_epilogue): Similarly.
        (impossible_plus_operand): New function.
        * mn10300.h (FRAME_POINTER_REQUIRED): Never require a frame pointer.
        (ACCUMULATE_OUTGOING_ARGS, OUTGOING_REG_PARM_STACK_SPACE): Define.
        (impossible_plus_operand): Declare.
        * mn10300.md (reload_insi): New expander to handle pathological
        reload cases.
        (addsi3): Fix CC status.

        * mn10300.h (FUNCTION_VALUE): Return addresses in $a0.
        (FUNCTION_VALUE_REGNO_P): Corresponding changes.
        * mn10300.md (call_value_internal): Allow output to be in an
        address register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13903 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * calls.c (emit_library_call): Handle saving of stack slots when
law [Mon, 14 Apr 1997 20:45:20 +0000 (20:45 +0000)]
    * calls.c (emit_library_call): Handle saving of stack slots when
        ACCUMULATE_OUTGOING_ARGS is defined.
        (emit_library_call_value): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13902 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoAdd -mcpu={604e,801,823} support
meissner [Mon, 14 Apr 1997 19:04:40 +0000 (19:04 +0000)]
Add -mcpu={604e,801,823} support

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13901 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(get_last_value_validate): New argument insn.
wilson [Mon, 14 Apr 1997 18:46:37 +0000 (18:46 +0000)]
(get_last_value_validate): New argument insn.
Add check for memory reference clobbered by later store.
(record_value_for_reg, get_last_values): Pass in new argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13900 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoWhen clobbering a reg, check for later words of a multi word reg value
ian [Mon, 14 Apr 1997 01:03:03 +0000 (01:03 +0000)]
When clobbering a reg, check for later words of a multi word reg value

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13899 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * calls.c (expand_call): When copying unaligned values into a register,
dje [Sun, 13 Apr 1997 23:30:18 +0000 (23:30 +0000)]
* calls.c (expand_call): When copying unaligned values into a register,
zero out the register first rather than emitting a clobber.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13898 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* expr.c (move_block_from_reg): Try using an integral mov operation first.
dje [Sun, 13 Apr 1997 23:29:50 +0000 (23:29 +0000)]
* expr.c (move_block_from_reg): Try using an integral mov operation first.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13897 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoGet the modes right when setting reg_values for a reg to reg copy
ian [Sun, 13 Apr 1997 22:45:30 +0000 (22:45 +0000)]
Get the modes right when setting reg_values for a reg to reg copy

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13896 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * integrate.c (copy_rtx_and_substitute): If FRAME_GROWS_DOWNWARD
dje [Sun, 13 Apr 1997 21:24:37 +0000 (21:24 +0000)]
* integrate.c (copy_rtx_and_substitute): If FRAME_GROWS_DOWNWARD
and regno == VIRTUAL_STACK_VARS_REGNUM, round size of stack slot up
before calling assign_stack_temp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13895 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(ASM_SPEC): Define.
kenner [Sun, 13 Apr 1997 19:34:53 +0000 (19:34 +0000)]
(ASM_SPEC): Define.
(STRUCT_VALUE_REGNUM, STATIC_CHAIN_REGNUM, INITIALIZE_TRAMPOLINE):
Remove definitions, undoing the change of Mar 20 1996.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13894 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(fake_f_rep): Add missing element name in cast.
kenner [Sun, 13 Apr 1997 19:29:35 +0000 (19:29 +0000)]
(fake_f_rep): Add missing element name in cast.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13893 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(layout_record, PCC_BITFIELD_TYPE_MATTERS): Fix sign bug in last change.
kenner [Sun, 13 Apr 1997 19:20:03 +0000 (19:20 +0000)]
(layout_record, PCC_BITFIELD_TYPE_MATTERS): Fix sign bug in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13892 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(output_move_qimode): Optimize pushing one byte if the source operand
kenner [Sun, 13 Apr 1997 19:15:21 +0000 (19:15 +0000)]
(output_move_qimode): Optimize pushing one byte if the source operand
does not use the stack pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13891 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(movstricthi): Remove extraneous comparisons.
kenner [Sun, 13 Apr 1997 19:04:36 +0000 (19:04 +0000)]
(movstricthi): Remove extraneous comparisons.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13890 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
kenner [Sun, 13 Apr 1997 19:02:08 +0000 (19:02 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13889 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(canon_reg, cse_insn): Don't examine insn_n_dups if recog_memoized
kenner [Sun, 13 Apr 1997 18:51:22 +0000 (18:51 +0000)]
(canon_reg, cse_insn): Don't examine insn_n_dups if recog_memoized
fails to find a match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13888 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(do_include): Diagnose #import and #include_next if pedantic and if
kenner [Sun, 13 Apr 1997 18:30:13 +0000 (18:30 +0000)]
(do_include): Diagnose #import and #include_next if pedantic and if
not in a system header.
(do_warning): #warning now causes an error if -pedantic-errors is
given; this is needed since #warning isn't ANSI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13887 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoRemove REG_DEAD notes when eliminating a set in the reload CSE pass
ian [Sun, 13 Apr 1997 18:20:27 +0000 (18:20 +0000)]
Remove REG_DEAD notes when eliminating a set in the reload CSE pass

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13886 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(fatal_perror, fatal, collect_wait): Use FATAL_EXIT_CODE.
kenner [Sun, 13 Apr 1997 18:19:48 +0000 (18:19 +0000)]
(fatal_perror, fatal, collect_wait): Use FATAL_EXIT_CODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13885 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(print_usage, open_files): Use FATAL_EXIT_CODE.
kenner [Sun, 13 Apr 1997 18:19:11 +0000 (18:19 +0000)]
(print_usage, open_files): Use FATAL_EXIT_CODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13884 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(L_bb, L_exit): Use 0 rather than NULL for null pointers.
kenner [Sun, 13 Apr 1997 18:12:05 +0000 (18:12 +0000)]
(L_bb, L_exit): Use 0 rather than NULL for null pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13883 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(rotl[shq]i3, rotl[hq]i3+1): Don't directly modify operand.
kenner [Sun, 13 Apr 1997 17:17:56 +0000 (17:17 +0000)]
(rotl[shq]i3, rotl[hq]i3+1): Don't directly modify operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13882 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(tstdi): Add missing parallel around the pattern.
kenner [Sun, 13 Apr 1997 16:53:00 +0000 (16:53 +0000)]
(tstdi): Add missing parallel around the pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13881 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(cpp_lex) New arg skip_evaluation.
kenner [Sun, 13 Apr 1997 16:50:58 +0000 (16:50 +0000)]
(cpp_lex) New arg skip_evaluation.
(cpp_parse_expr): Pass skip_evaluation to cpp_lex.
Abort if cpp_lex returns NAME.
(cpp_lex): Optionally warn about undefined identifiers that evaluate to 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13880 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(cpp_handle_options): Set warn_undef from -Wundef and -Wno-undef.
kenner [Sun, 13 Apr 1997 16:50:30 +0000 (16:50 +0000)]
(cpp_handle_options): Set warn_undef from -Wundef and -Wno-undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13879 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(struct cpp_options): New member warn_undef.
kenner [Sun, 13 Apr 1997 16:50:11 +0000 (16:50 +0000)]
(struct cpp_options): New member warn_undef.
(CPP_WARN_UNDEF): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13878 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agocexp.y (warn_undef): New variable.
kenner [Sun, 13 Apr 1997 16:49:45 +0000 (16:49 +0000)]
cexp.y (warn_undef): New variable.
(exp): Optionally warn about undefined identifiers that evaluate to 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13877 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(warn_undef): New variable.
kenner [Sun, 13 Apr 1997 16:49:07 +0000 (16:49 +0000)]
(warn_undef): New variable.
(main): Set warn_undef from -Wundef and -Wno-undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13876 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(c_decode_option): Ignore -Wundef, -Wno-undef.
kenner [Sun, 13 Apr 1997 16:47:53 +0000 (16:47 +0000)]
(c_decode_option): Ignore -Wundef, -Wno-undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13875 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(lang_options): Add -Wundef, -Wno-undef.
kenner [Sun, 13 Apr 1997 16:47:38 +0000 (16:47 +0000)]
(lang_options): Add -Wundef, -Wno-undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13874 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFormerly cpp.texi.~30~
kenner [Sun, 13 Apr 1997 16:47:14 +0000 (16:47 +0000)]
Formerly cpp.texi.~30~

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13873 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix typo in comment.
kenner [Sun, 13 Apr 1997 15:44:17 +0000 (15:44 +0000)]
Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13872 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
kenner [Sun, 13 Apr 1997 15:43:08 +0000 (15:43 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13871 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(lookup_field): Don't recurse unless FIELD is a RECORD_TYPE or
kenner [Sun, 13 Apr 1997 14:59:54 +0000 (14:59 +0000)]
(lookup_field): Don't recurse unless FIELD is a RECORD_TYPE or
UNION_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13870 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(validate_replace_rtx_1, case MINUS): New case.
kenner [Sun, 13 Apr 1997 13:48:25 +0000 (13:48 +0000)]
(validate_replace_rtx_1, case MINUS): New case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13869 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(*return_addsi): Change condition to exclude both ints.
kenner [Sun, 13 Apr 1997 13:47:25 +0000 (13:47 +0000)]
(*return_addsi): Change condition to exclude both ints.
(*return_adddi): Likewise.
(*return_subsi): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13868 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoClean up copyright notice.
kenner [Sun, 13 Apr 1997 13:47:11 +0000 (13:47 +0000)]
Clean up copyright notice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13867 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(eligible_for_delay_slot): Clean up and make to agree precisely with
kenner [Sun, 13 Apr 1997 13:46:34 +0000 (13:46 +0000)]
(eligible_for_delay_slot): Clean up and make to agree precisely with
patterns in MD file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13866 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(profile_function): Save the static chain register around the call to
kenner [Sun, 13 Apr 1997 12:44:41 +0000 (12:44 +0000)]
(profile_function): Save the static chain register around the call to
the profiler function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13865 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(TARGET_VERSION): Redefine.
kenner [Sun, 13 Apr 1997 12:20:20 +0000 (12:20 +0000)]
(TARGET_VERSION): Redefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13864 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(reload): If function has nonlocal label, mark all caller-saved regs
kenner [Sun, 13 Apr 1997 12:15:28 +0000 (12:15 +0000)]
(reload): If function has nonlocal label, mark all caller-saved regs
as used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13863 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(invariant_p, case REG): Pointers into frame are not invariants if
kenner [Sun, 13 Apr 1997 12:15:13 +0000 (12:15 +0000)]
(invariant_p, case REG): Pointers into frame are not invariants if
function has nonlocal gotos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13862 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDelete some FIXMEs.
dje [Fri, 11 Apr 1997 21:14:47 +0000 (21:14 +0000)]
Delete some FIXMEs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13861 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDelete some FIXMEs.
dje [Fri, 11 Apr 1997 21:08:57 +0000 (21:08 +0000)]
Delete some FIXMEs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13860 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDelete "FIXME".
dje [Fri, 11 Apr 1997 21:03:35 +0000 (21:03 +0000)]
Delete "FIXME".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13859 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(REG_ALLOC_ORDER): Restore to original setting.
dje [Fri, 11 Apr 1997 20:52:56 +0000 (20:52 +0000)]
(REG_ALLOC_ORDER): Restore to original setting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13858 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * m32r/m32r.h (UPPER16_P): Fix calculation.
dje [Fri, 11 Apr 1997 20:48:54 +0000 (20:48 +0000)]
* m32r/m32r.h (UPPER16_P): Fix calculation.
* m32r/m32r.c (two_insn_const_operand): New function.
(m32r_print_operand): Handle 'X'.
* m32r/m32r.md (movsi): Tweak.
(*movsi_insn): Output hex value of constants too.
(movsi define_split): Add.
(andsi3,orsi3,xorsi3): Output hex value of constants too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13857 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoRecognize OpenBSD systems correctly (from Niklas Hallqvist
ian [Fri, 11 Apr 1997 20:40:28 +0000 (20:40 +0000)]
Recognize OpenBSD systems correctly (from Niklas Hallqvist
<niklas@appli.se>)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13849 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(sne): Modified to use negc instead of xor.
wilson [Thu, 10 Apr 1997 22:39:01 +0000 (22:39 +0000)]
(sne): Modified to use negc instead of xor.
(sne+1): New define_split for new sne pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13848 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(output_stack_adjust): Reorganize code for readability.
wilson [Wed, 9 Apr 1997 22:44:46 +0000 (22:44 +0000)]
(output_stack_adjust): Reorganize code for readability.
If size is negative, negate and subtract it instead of adding it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13847 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(output_stack_adjust): When splitting an adjustment into two parts,
amylaar [Wed, 9 Apr 1997 17:50:38 +0000 (17:50 +0000)]
(output_stack_adjust): When splitting an adjustment into two parts,
make sure the stack is aligned at all times.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13846 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * mn10300.h (RETURN_ADDR_RTX): Define.
law [Tue, 8 Apr 1997 18:41:49 +0000 (18:41 +0000)]
    * mn10300.h (RETURN_ADDR_RTX): Define.

        * mn10300.c (count_tst_insns): New function.
        (expand_prologue): Load zero into data and/or address registers
        if any are free and the function has optimizable tst insns.
        (output_tst): If a suitable register is known to have the
        value zero, use it instead of searching for a suitable register.
        * mn10300.h (zero_dreg, zero_areg): Declare.
        (FRAME_POINTER_NEEDED): Frame pointers are not needed if the
        outgoing argument size is zero.
        * mn10300.md (movXX): Optimize loading zero i        register if possible.  Optimize loading a DF/DI mode value
        into an address register from a constant memory address.
        (addsi3): Provide alternative which doesn't require a matching
        inout operand.
        (return): Optimize consecutive return instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13845 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoAdd m32r support.
dje [Mon, 7 Apr 1997 22:31:52 +0000 (22:31 +0000)]
Add m32r support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13844 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(SUBTARGET_CC1_SPEC): Define.
amylaar [Mon, 7 Apr 1997 21:29:09 +0000 (21:29 +0000)]
(SUBTARGET_CC1_SPEC): Define.
(CC1_SPEC): Add subtarget_cc1_spec.
(EXTRA_SPECS): Add subtarget_cc1_spec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13843 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(SUBTARGET_CC1_SPEC): Define.
amylaar [Mon, 7 Apr 1997 21:29:09 +0000 (21:29 +0000)]
(SUBTARGET_CC1_SPEC): Define.
(STARTFILE_SPEC, LINK_SPEC): Support -static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13842 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(SUBTARGET_CC1_SPEC): Define.
amylaar [Mon, 7 Apr 1997 21:29:09 +0000 (21:29 +0000)]
(SUBTARGET_CC1_SPEC): Define.
(LINK_SPEC, STARTFILE_SPEC): Support -static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13841 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(incscc): Use a match_operand with cc_register to match
erich [Sun, 6 Apr 1997 16:24:02 +0000 (16:24 +0000)]
(incscc): Use a match_operand with cc_register to match
the condition code register.
(decscc, *condbranch, *condbranch_reversed, *mov_scc): Likewise.
(*mov_negscc, *mov_notscc, *cond_return): Likewise.
(*cond_return_inverted, *ior_scc, *cond_move): Likewise.
(insv): New expand.
(andsi_notsi_si): Renamed from *andsi_notsi_si.
(andsi_not_shiftsi_si): New insn.
(*minmax_arithsi): Don't match this insn if operand1 is an
eliminable register.
({sin,cos}*): Delete, since the ARM always emulates these its
faster to call a library function.
(movsicc, *movsicc_insn): Make operand0 an s_register_operand,
and operand3 an arm_not_operand.  Use cc_register to match the
condition code register.
(mov[sd]fcc*): Make operand[0,2] s_register_operands, and operand3
the nonmemory_operand.  Use cc_register to match the condition
code register.
(*ifcompare_plus_move): Move before *ifcompare_arith_move.  Just do
a split for the output.
(*ifcompare_move_plus): Similarly, but relative
to *ifcompare_move_arith.
(*if_plus_move, *if_move_plus): New patterns.
(*ifcompare_arith_arith): Simplify the alternatives down to just one,
and split the insn before output.
(*if_arith_arith, *if_arith_move, *if_move_arith): New patterns.
(*ifcompare_move_not, *ifcompare_not_move): Simplify and split the
insn before output.
(*if_move_not, *if_not_move): New patterns.
(*ifcompare_shift_move, *ifcompare_move_shift): Simplify and split the
insn before output.
(*if_shift_move, *if_move_shift): New patterns.
(*ifcompare_shift_shift): Simplify and split the insn before output.
(*if_shift_shift): New pattern.
(*ifcompare_not_arith, *ifcompare_arith_not): Simplify and split the
insn before output.
(*if_not_arith, *if_arith_not): New patterns.
(*ifcompare_neg_move, *ifcompare_move_neg): Simplify and split the
insn before output.
(*if_neg_move, *if_move_neg): New patterns..

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13840 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix adddi3 problem from wilson; make sol-ci.asm assemble with new gas
meissner [Sun, 6 Apr 1997 01:51:07 +0000 (01:51 +0000)]
Fix adddi3 problem from wilson; make sol-ci.asm assemble with new gas

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13839 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(no_conflict_p): Reject sequences with foreign insns.
wilson [Thu, 3 Apr 1997 23:08:40 +0000 (23:08 +0000)]
(no_conflict_p): Reject sequences with foreign insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13838 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * mn10300.c (can_use_return_insn): Add size of fixed stack space
law [Thu, 3 Apr 1997 22:20:18 +0000 (22:20 +0000)]
    * mn10300.c (can_use_return_insn): Add size of fixed stack space
        for function calls into the size of the frame.  */
        (expand_prologue, expand_epilogue): Likewise.
        (initial_offset): Corresponding changes..
        * mn10300.h (OUTGOING_REG_PARM_STACK_SPACE): No longer define.
        (STACK_POINTER_OFFSET): Define.
        * mn10300.md (call, call_value expanders): Don't adjust the stack
        pointer here anymore.

        * mn10300.md (ashlsi3): Remove some alternatives which are no longer
        needed or desired.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13837 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(move_deaths): Handle partial REG_DEAD note for
wilson [Thu, 3 Apr 1997 20:34:07 +0000 (20:34 +0000)]
(move_deaths): Handle partial REG_DEAD note for
multi-reg hard register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13836 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(expand_function_start): Emit queue after expanding
wilson [Thu, 3 Apr 1997 20:26:33 +0000 (20:26 +0000)]
(expand_function_start): Emit queue after expanding
each dynamic parameter type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13835 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(mips_move_2words): Add SIGN_EXTEND support for SYMBOL_REF,
wilson [Thu, 3 Apr 1997 20:18:13 +0000 (20:18 +0000)]
(mips_move_2words): Add SIGN_EXTEND support for SYMBOL_REF,
LABEL_REF, and CONST operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13834 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDelete comment referring to README.DWARF.
wilson [Thu, 3 Apr 1997 20:04:23 +0000 (20:04 +0000)]
Delete comment referring to README.DWARF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13833 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFixes from wilson
meissner [Wed, 2 Apr 1997 22:26:01 +0000 (22:26 +0000)]
Fixes from wilson

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13832 138bc75d-0d04-0410-961f-82ee72b054a4