Richard Kenner [Thu, 21 Apr 1994 21:23:49 +0000 (17:23 -0400)]
(default_compilers): If -E and the file is (e.g.) x.s, don't run the
assembler; similarly for .i, .ii, .adb, etc.
From-SVN: r7129
Jim Wilson [Thu, 21 Apr 1994 19:56:11 +0000 (12:56 -0700)]
(mem_aligned_8): Don't assume addresses with
MEM_IN_STRUCT_P set are 8 byte aligned.
From-SVN: r7128
Jim Wilson [Thu, 21 Apr 1994 19:54:38 +0000 (12:54 -0700)]
(CPP_SPEC): Define _LANGUAGE_C for Objective C also.
From-SVN: r7127
Richard Kenner [Thu, 21 Apr 1994 19:54:06 +0000 (15:54 -0400)]
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7126
Richard Kenner [Thu, 21 Apr 1994 19:51:45 +0000 (15:51 -0400)]
Finish installation of last change.
From-SVN: r7125
Jim Wilson [Thu, 21 Apr 1994 19:51:01 +0000 (12:51 -0700)]
(find_splittable_givs): Share dest_reg for multiple address givs within a single instruction.
(find_splittable_givs): Share dest_reg for multiple
address givs within a single instruction.
(copy_loop_body): Only update psuedo-reg for shared giv once.
From-SVN: r7124
Jim Wilson [Thu, 21 Apr 1994 19:49:26 +0000 (12:49 -0700)]
(sparc_type_code): Don't put more than 30 bits of info
into the variable qualifiers.
From-SVN: r7123
Jim Wilson [Thu, 21 Apr 1994 19:46:31 +0000 (12:46 -0700)]
(store_expr): Don't check the TYPE_MODE of an ERROR_MARK.
From-SVN: r7122
Richard Kenner [Thu, 21 Apr 1994 19:33:56 +0000 (15:33 -0400)]
Add prototypes for static functions.
(expand_fixups): New function.
(fixup_gotos): Now static.
Don't call bc_fixup_gotos with wrong type (but now probably wrong value).
(bc_*): Now static.
(expand_exit_loop_if_false): Call bc_expand_goto_internal with proper null
pointer.
(expand_decl_init): Call bc_expand_decl_init if writing bytecode.
From-SVN: r7121
Richard Kenner [Thu, 21 Apr 1994 19:33:15 +0000 (15:33 -0400)]
Make most functions static and add prototypes for all static functions.
(GET_REAL, PUT_REAL): Cast parameter to proper pointer type in some
cases; use unsigned array.
From-SVN: r7120
Richard Kenner [Thu, 21 Apr 1994 19:32:38 +0000 (15:32 -0400)]
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7119
Richard Kenner [Thu, 21 Apr 1994 19:31:56 +0000 (15:31 -0400)]
Add prototypes for static functions.
From-SVN: r7118
Richard Kenner [Thu, 21 Apr 1994 19:31:30 +0000 (15:31 -0400)]
Add prototypes for static functions.
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7117
Richard Kenner [Thu, 21 Apr 1994 19:30:29 +0000 (15:30 -0400)]
Add prototypes for static functions.
(bc_expand_function_end, expand_function_end): Call new expand_fixups
instead of old fixup_gotos.
From-SVN: r7116
Richard Kenner [Thu, 21 Apr 1994 19:29:50 +0000 (15:29 -0400)]
Include stdio.h and ctype.h early.
Add prototypes for static functions.
From-SVN: r7115
Richard Kenner [Thu, 21 Apr 1994 19:28:59 +0000 (15:28 -0400)]
(bc_expand_expr): Call expand_decl and expand_decl_init, not the bc_
versions.
From-SVN: r7114
Richard Kenner [Thu, 21 Apr 1994 19:27:24 +0000 (15:27 -0400)]
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7113
Richard Kenner [Thu, 21 Apr 1994 19:25:36 +0000 (15:25 -0400)]
(main): Don't write overly-long line.
From-SVN: r7112
Richard Kenner [Thu, 21 Apr 1994 19:25:12 +0000 (15:25 -0400)]
(STDIO_PROTO): Don't define here.
From-SVN: r7111
Richard Kenner [Thu, 21 Apr 1994 19:24:48 +0000 (15:24 -0400)]
(PROTO, STDIO_PROTO): Likewise.
From-SVN: r7110
Richard Kenner [Thu, 21 Apr 1994 19:24:23 +0000 (15:24 -0400)]
Add missing declarations of functions in final.c.
(STDIO_PROTO): Don't define here.
From-SVN: r7109
Richard Kenner [Thu, 21 Apr 1994 19:24:02 +0000 (15:24 -0400)]
Add prototypes to declarations of functions in real.c.
(immed_real_const_1): Move declaration from rtl.h.
From-SVN: r7108
Richard Kenner [Thu, 21 Apr 1994 19:23:35 +0000 (15:23 -0400)]
If RTX_CODE undefined, make an incomplete struct for rtx.
Add some missing declarations of functions in stmt.c.
(STDIO_PROTO): Define here if not already defined.
From-SVN: r7107
Richard Kenner [Thu, 21 Apr 1994 19:23:14 +0000 (15:23 -0400)]
If TREE_CODE undefined, make an incomplete union for tree.
(STDIO_PROTO): Define here if not already defined.
(read_rtx): Use STDIO_PROTO.
(output_constant_def, immed_real_const): Use "union tree_node *".
(immed_real_const_1): Move declaration to real.h.
(rtx_to_tree_code): Supply prototype.
From-SVN: r7106
Ian Lance Taylor [Thu, 21 Apr 1994 18:28:09 +0000 (18:28 +0000)]
Handle taking address of function when using -membedded-pic
From-SVN: r7105
Doug Evans [Wed, 20 Apr 1994 23:38:22 +0000 (23:38 +0000)]
(init_reg_sets_1): Make static.
(init_reg_modes): New function.
(init_regs): Likewise.
From-SVN: r7104
Doug Evans [Wed, 20 Apr 1994 23:36:30 +0000 (23:36 +0000)]
(compile_file): Call new function init_regs.
(main): Delete call to init_reg_sets_1.
From-SVN: r7103
Steve Chamberlain [Wed, 20 Apr 1994 19:17:23 +0000 (19:17 +0000)]
ls -la
From-SVN: r7102
Steve Chamberlain [Wed, 20 Apr 1994 19:17:23 +0000 (19:17 +0000)]
*** empty log message ***
From-SVN: r7101
Jason Merrill [Wed, 20 Apr 1994 18:12:36 +0000 (18:12 +0000)]
(expand_expr): Don't force ignore when expanding the subexpression of a WITH_CLEANUP_EXPR.
(expand_expr): Don't force ignore when expanding the
subexpression of a WITH_CLEANUP_EXPR. Don't check ignore when
deciding whether or not to expand the cleanup for a TARGET_EXPR.
From-SVN: r7100
Doug Evans [Wed, 20 Apr 1994 16:12:33 +0000 (16:12 +0000)]
(lshlsi3): Delete.
From-SVN: r7099
Doug Evans [Wed, 20 Apr 1994 16:11:46 +0000 (16:11 +0000)]
(RTX_COSTS): Remove LSHIFT, add LSHIFTRT.
From-SVN: r7098
Doug Evans [Wed, 20 Apr 1994 16:11:04 +0000 (16:11 +0000)]
(output_shift, ASHIFTRT case): Do opposite shift as ASHIFT.
Delete LSHIFT case.
From-SVN: r7097
Doug Evans [Wed, 20 Apr 1994 16:03:30 +0000 (16:03 +0000)]
(i960_expr_alignment): Remove LSHIFT.
From-SVN: r7096
Doug Evans [Wed, 20 Apr 1994 16:02:55 +0000 (16:02 +0000)]
(safe_insn_src_p): Remove LSHIFT.
(single_insn_src_p): Likewise.
From-SVN: r7095
Doug Evans [Wed, 20 Apr 1994 16:01:38 +0000 (16:01 +0000)]
(lshrhi3_eight): Fix name.
(lshrhi3): Use it.
From-SVN: r7094
Doug Evans [Wed, 20 Apr 1994 16:01:13 +0000 (16:01 +0000)]
(RTX_COSTS): Remove LSHIFT.
From-SVN: r7093
Richard Kenner [Wed, 20 Apr 1994 10:40:07 +0000 (06:40 -0400)]
(check_newline): Avoid unreachable statement when HANDLE_SYSV_PRAGMA
defined.
From-SVN: r7092
Steve Chamberlain [Wed, 20 Apr 1994 05:55:28 +0000 (05:55 +0000)]
*** empty log message ***
From-SVN: r7091
Doug Evans [Wed, 20 Apr 1994 03:40:01 +0000 (03:40 +0000)]
(attach_deaths): Create partial register dead notes using
register's intrinsic mode.
From-SVN: r7090
Doug Evans [Wed, 20 Apr 1994 03:38:46 +0000 (03:38 +0000)]
(move_deaths): Record death information of remaining
registers in their intrinsic mode.
From-SVN: r7089
Doug Evans [Wed, 20 Apr 1994 03:37:45 +0000 (03:37 +0000)]
(emit_reload_insns): Record additional spill registers in their intrinsic mode.
From-SVN: r7088
Doug Evans [Wed, 20 Apr 1994 03:36:49 +0000 (03:36 +0000)]
(choose_hard_reg_mode): Define here.
(reg_raw_mode): Define.
(init_reg_sets_1): Initialize reg_raw_mode.
From-SVN: r7087
Doug Evans [Wed, 20 Apr 1994 03:36:09 +0000 (03:36 +0000)]
(choose_hard_reg_mode): Delete from here.
From-SVN: r7086
Doug Evans [Wed, 20 Apr 1994 03:34:57 +0000 (03:34 +0000)]
#include regs.h.
#include regs.h.
(use_regs): Use reg_raw_mode.
From-SVN: r7085
Doug Evans [Wed, 20 Apr 1994 03:33:53 +0000 (03:33 +0000)]
(choose_hard_reg_mode): Declare.
From-SVN: r7084
Doug Evans [Wed, 20 Apr 1994 03:33:09 +0000 (03:33 +0000)]
(reg_raw_mode): Declare.
From-SVN: r7083
Doug Evans [Wed, 20 Apr 1994 03:32:22 +0000 (03:32 +0000)]
(expr.o): Depend on regs.h.
From-SVN: r7082
Mike Stump [Wed, 20 Apr 1994 01:39:59 +0000 (01:39 +0000)]
Add -fhandle-signatures for C++ frontend.
From-SVN: r7081
Richard Kenner [Tue, 19 Apr 1994 23:00:10 +0000 (19:00 -0400)]
(do_error): Don't terminate.
From-SVN: r7080
Richard Kenner [Tue, 19 Apr 1994 21:57:14 +0000 (17:57 -0400)]
Add new options -print-file-name= and -print-prog-name=.
From-SVN: r7079
Richard Kenner [Tue, 19 Apr 1994 21:48:23 +0000 (17:48 -0400)]
(struct switchstr): New field LIVE_COND.
(process_command): Initialize it.
(check_live_switch): New function.
(handle_braces): Call it.
From-SVN: r7078
Richard Kenner [Mon, 18 Apr 1994 23:22:14 +0000 (19:22 -0400)]
(RTX_COSTS): Remove LSHIFT.
From-SVN: r7077
Richard Kenner [Mon, 18 Apr 1994 21:56:01 +0000 (17:56 -0400)]
(duplicate_decls): Always warn when const declaration follows
non-const one for variables.
From-SVN: r7076
Richard Kenner [Mon, 18 Apr 1994 20:38:16 +0000 (16:38 -0400)]
(prepare_call_address): Extend prototype.
From-SVN: r7075
Richard Kenner [Mon, 18 Apr 1994 20:37:34 +0000 (16:37 -0400)]
(expand_builtin_apply): Pass new arg to prepare_call_address.
From-SVN: r7074
Richard Kenner [Mon, 18 Apr 1994 20:37:01 +0000 (16:37 -0400)]
(prepare_call_address): New arg REG_PARM_SEEN.
All callers changed.
(expand_call): Pre-load args if small reg classes and reg parms.
From-SVN: r7073
Richard Kenner [Mon, 18 Apr 1994 19:41:06 +0000 (15:41 -0400)]
(const_binop): If arg is NaN, just return it
(const_binop): If arg is NaN, just return it
(fold_convert): Handle NaN in real->int and real->real cases.
From-SVN: r7072
Richard Kenner [Mon, 18 Apr 1994 19:25:32 +0000 (15:25 -0400)]
(yylex): If FP value is NaN, use value of zero.
From-SVN: r7071
Richard Kenner [Mon, 18 Apr 1994 18:53:01 +0000 (14:53 -0400)]
(expand_value_return, expand_decl): Use promote_mode.
From-SVN: r7070
Richard Kenner [Mon, 18 Apr 1994 18:52:26 +0000 (14:52 -0400)]
(expand_expr, case VAR_DECL, SAVE_EXPR): Use promote_mode.
From-SVN: r7069
Richard Kenner [Mon, 18 Apr 1994 18:51:48 +0000 (14:51 -0400)]
(assign_parms, promoted_input_arg, expand_function_start): Use promote_mode.
From-SVN: r7068
Richard Kenner [Mon, 18 Apr 1994 18:50:53 +0000 (14:50 -0400)]
(expand_call): Use promote_mode.
From-SVN: r7067
Richard Kenner [Mon, 18 Apr 1994 18:50:18 +0000 (14:50 -0400)]
(promote_mode): New function.
From-SVN: r7066
Richard Kenner [Mon, 18 Apr 1994 18:49:55 +0000 (14:49 -0400)]
(PROMOTE_MODE): Don't supply default here.
(promote_mode): Add declaration.
From-SVN: r7065
Jason Merrill [Mon, 18 Apr 1994 18:37:25 +0000 (18:37 +0000)]
(LIB2FUNCS): Change _op_vec_delete to _op_vec_del.
From-SVN: r7064
Jeff Law [Mon, 18 Apr 1994 15:19:57 +0000 (09:19 -0600)]
reorg.c (redirect_with_delay_list_safe_p): New function, similar to redirect_with_delay_slots_safe_p.
* reorg.c (redirect_with_delay_list_safe_p): New function,
similar to redirect_with_delay_slots_safe_p.
(fill_slots_from_thread): Do not redirect a jump if doing
so would invalidate the delay list for the jump.
From-SVN: r7063
Doug Evans [Mon, 18 Apr 1994 07:09:17 +0000 (07:09 +0000)]
scan-types.sh: Fix program's name in error message.
* scan-types.sh: Fix program's name in error message.
Rename dummy.c to avoid collisions in parallel makes.
From-SVN: r7062
Richard Kenner [Sun, 17 Apr 1994 22:28:52 +0000 (18:28 -0400)]
(processor_target_table): Change "all" to "common".
Add "power" and "powerpc" generic processors. Explicitly turn off new
mnemonics for all members of the POWER architecture family.
From-SVN: r7061
Richard Kenner [Sun, 17 Apr 1994 22:28:28 +0000 (18:28 -0400)]
(PROCESSOR_COMMON, PROCESSOR_POWER, PROCESSOR_POWERPC): New macros.
From-SVN: r7060
Richard Kenner [Sun, 17 Apr 1994 14:04:11 +0000 (10:04 -0400)]
(DECL_PRINT_NAME): Deleted.
(struct tree_decl): Field print_name deleted.
From-SVN: r7059
Richard Kenner [Sun, 17 Apr 1994 10:59:54 +0000 (06:59 -0400)]
(vax_rtx_cost): Remove LSHIFT case.
From-SVN: r7058
Richard Kenner [Sun, 17 Apr 1994 10:59:30 +0000 (06:59 -0400)]
(RTX_COSTS): Remove LSHIFT case.
From-SVN: r7057
Jeff Law [Sun, 17 Apr 1994 05:14:50 +0000 (23:14 -0600)]
function.c (locate_and_pad_parm): For ARGS_GROW_DOWNWARD...
* function.c (locate_and_pad_parm): For ARGS_GROW_DOWNWARD,
Round sizetree for both upward and downward padding, nuke
the (now unnecessary) call to pad_below for arg_size_ptr.
From-SVN: r7056
Richard Kenner [Sun, 17 Apr 1994 01:05:27 +0000 (21:05 -0400)]
(one_cmplsi2): Always use nor instruction;
remove extraneous minus sign from condition register set constraint.
From-SVN: r7055
Richard Kenner [Sun, 17 Apr 1994 01:02:36 +0000 (21:02 -0400)]
Add missing blank lines.
From-SVN: r7054
Richard Kenner [Sat, 16 Apr 1994 23:19:06 +0000 (19:19 -0400)]
Add comment (and copyright notice).
From-SVN: r7053
Richard Kenner [Sat, 16 Apr 1994 23:17:54 +0000 (19:17 -0400)]
(FUNCTION_ARG_PADDING, FUNCTION_PROLOGUE): Deleted.
(FUNCTION_EPILOGUE, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Deleted.
(SGS_SWITCH_TABLES, ASM_OUTPUT_CASE_END): Deleted.
(ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Deleted.
(SGS_NO_LI, ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): Defined.
From-SVN: r7052
Richard Kenner [Sat, 16 Apr 1994 23:17:21 +0000 (19:17 -0400)]
(print_operand): 'x' and 'y' mode letters only if SUPPORT_SUN_FPA.
(print_operand_address): If (new) ASM_OUTPUT_CASE_FETCH defined, use it to
emit the address for the insn before a tablejump.
From-SVN: r7051
Richard Kenner [Sat, 16 Apr 1994 21:04:03 +0000 (17:04 -0400)]
(yylex): Turn off overflow flag when fixing up large traditional hex
constants.
From-SVN: r7050
Richard Kenner [Sat, 16 Apr 1994 20:51:12 +0000 (16:51 -0400)]
(OBJC_O): Add encoding.o.
From-SVN: r7049
Richard Kenner [Sat, 16 Apr 1994 20:38:20 +0000 (16:38 -0400)]
(finish_decl): If asmspec_tree, clear DECL_BUILT_IN for function and
DECL_RTL always.
From-SVN: r7048
Mike Stump [Fri, 15 Apr 1994 01:44:15 +0000 (01:44 +0000)]
32nd Cygnus<->FSF merge
From-SVN: r7047
Per Bothner [Wed, 13 Apr 1994 20:10:21 +0000 (13:10 -0700)]
Don't warn about unused static const variables.
From-SVN: r7046
Jason Merrill [Wed, 13 Apr 1994 19:27:49 +0000 (19:27 +0000)]
varasm.c (contains_pointers_p): When examining a RECORD_TYPE, only look at the FIELD_DECLs.
* varasm.c (contains_pointers_p): When examining a RECORD_TYPE,
only look at the FIELD_DECLs.
From-SVN: r7045
Michael Meissner [Wed, 13 Apr 1994 01:39:51 +0000 (01:39 +0000)]
Hack to get cp-errfn.c to compile without stdio.h
From-SVN: r7044
Jason Merrill [Wed, 13 Apr 1994 01:18:43 +0000 (01:18 +0000)]
libgcc2.c (__builtin_vec_{delete,new}): New functions per the latest C++ working paper.
* libgcc2.c (__builtin_vec_{delete,new}): New functions per the
latest C++ working paper.
(__default_new_handler): No longer static.
(__set_new_handler): Lose.
From-SVN: r7043
Jason Merrill [Wed, 13 Apr 1994 01:18:34 +0000 (01:18 +0000)]
* Makefile.in (LIB2FUNCS): Add _op_vec_{delete,new}.
From-SVN: r7042
Jason Merrill [Tue, 12 Apr 1994 23:42:36 +0000 (23:42 +0000)]
cccp.c: Don't implicitly wrap LOCAL_INCLUDE_DIR.
* cccp.c: Don't implicitly wrap LOCAL_INCLUDE_DIR.
(struct default_include): Add cxx_aware field.
(include_defaults_array): Ditto.
(main): Use cxx_aware field.
From-SVN: r7041
Richard Stallman [Tue, 12 Apr 1994 20:13:58 +0000 (20:13 +0000)]
(next): Fix typo in m68k-next-ns3 alternative.
From-SVN: r7040
Michael Meissner [Tue, 12 Apr 1994 11:40:34 +0000 (11:40 +0000)]
Remove LSHIFT case, since there is no LSHIFT tree code.
From-SVN: r7039
Richard Kenner [Mon, 11 Apr 1994 22:25:08 +0000 (18:25 -0400)]
(reload): When accumulating needs, use nested structures to simplify
and speed up the code.
From-SVN: r7038
Richard Kenner [Mon, 11 Apr 1994 22:20:53 +0000 (18:20 -0400)]
(compare define_split): Fix bugs in last addition.
From-SVN: r7037
Per Bothner [Mon, 11 Apr 1994 21:26:48 +0000 (14:26 -0700)]
Fix line number counting.
From-SVN: r7036
Jim Wilson [Mon, 11 Apr 1994 17:48:47 +0000 (10:48 -0700)]
(try_merge_delay_insns): Account for resources set/used by a filled insn before...
(try_merge_delay_insns): Account for resources set/used
by a filled insn before trying to simplify insns in delay slots.
From-SVN: r7035
Jim Wilson [Mon, 11 Apr 1994 17:45:48 +0000 (10:45 -0700)]
(OLDCC): Change -XNh1500 to -XNh2000.
From-SVN: r7034
Jim Wilson [Mon, 11 Apr 1994 17:42:41 +0000 (10:42 -0700)]
(finish_decl): Don't preserve initializer if it is error_mark_node.
From-SVN: r7033
Jim Wilson [Mon, 11 Apr 1994 17:38:25 +0000 (10:38 -0700)]
(try_merge_delay_insns): Move next_trial update
immediately after the try_split call.
From-SVN: r7032
Jim Wilson [Mon, 11 Apr 1994 17:36:16 +0000 (10:36 -0700)]
(mips_select_rtx_section, mips_select_section): New functions.
(mips_select_rtx_section, mips_select_section): New
functions. Prefer rdata when TARGET_EMBEDDED_DATA, and prefer
sdata otherwise.
From-SVN: r7031
Jim Wilson [Mon, 11 Apr 1994 17:35:46 +0000 (10:35 -0700)]
(MASK_EMBEDDED_DATA, TARGET_EMBEDDED_DATA): New macros.
(TARGET_SWITCHED): Add new option -membedded-data.
(SELECT_RTX_SECTION, SELECT_SECTION): Call function in mips.c.
From-SVN: r7030