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
Jim Wilson [Mon, 11 Apr 1994 17:29:33 +0000 (10:29 -0700)]
(all.cross, rest.encap): Delete objc-runtime and SYSCALLS.c.X.
(all.cross, rest.encap): Delete objc-runtime and
SYSCALLS.c.X.
(OBJC, OBJECTIVE-C): Add objc-runtime.
(proto): Add SYSCALLS.c.X.
(libgcc2.ready, libobjc.a, sublibobjc.a, SYSCALLS.c.X): Add
dependence on stmp-int-hdrs.
From-SVN: r7029
Jim Wilson [Mon, 11 Apr 1994 17:27:17 +0000 (10:27 -0700)]
(rescan): Don't look for C++ // comment before directive.
Handle \-newline inside a C++ // comment.
(skip_if_group): Likewise.
(handle_directive): Also handle C++ // comment after #. Point
ip->bufp after the comment start before calling
skip_to_end_of_comment.
(validate_else): Handle \-newline inside a C++ // comment.
(skip_to_end_of_comment, macarg1, discard_comments): Likewise.
From-SVN: r7028
Jim Wilson [Mon, 11 Apr 1994 17:22:33 +0000 (10:22 -0700)]
(immed_double_const): Sign-extend constants when they
have the most significant bit set for the target.
From-SVN: r7027
Richard Kenner [Mon, 11 Apr 1994 10:43:58 +0000 (06:43 -0400)]
(expand_call, emit_library_call{,_value}, store_one_arg): Use
convert_modes instead of convert_to_mode.
From-SVN: r7026
Richard Kenner [Mon, 11 Apr 1994 10:20:41 +0000 (06:20 -0400)]
(duplicate_decls, pushdecl, builtin_function): Use DECL_FUNCTION_CODE
instead of DECL_SET_FUNCTION_CODE.
From-SVN: r7025
Richard Kenner [Mon, 11 Apr 1994 10:19:56 +0000 (06:19 -0400)]
(frame_size): Now a union.
(DECL_ALIGN, DECL_FRAME_SIZE, DECL_FUNCTION_CODE): Access proper
field of frame_size union.
(DECL_SET_FUNCTION_CODE): Simplified; retained for compatibility.
From-SVN: r7024
Richard Kenner [Mon, 11 Apr 1994 09:50:10 +0000 (05:50 -0400)]
(update_headers): Do not copy stStatic symbols that result from
internal labels.
From-SVN: r7023
Richard Kenner [Sun, 10 Apr 1994 12:04:35 +0000 (08:04 -0400)]
(expand_shift): No longer reference lshl_optab.
From-SVN: r7022
Richard Kenner [Sun, 10 Apr 1994 12:04:14 +0000 (08:04 -0400)]
No longer reference lsl_optab.
From-SVN: r7021
Richard Kenner [Sun, 10 Apr 1994 12:03:37 +0000 (08:03 -0400)]
No longer handle LSHIFT.
From-SVN: r7020
Richard Kenner [Sun, 10 Apr 1994 12:03:05 +0000 (08:03 -0400)]
(lshl_optab): Deleted.
(expand_binop, init_optabs): No longer reference it.
From-SVN: r7019
Richard Kenner [Sun, 10 Apr 1994 12:00:07 +0000 (08:00 -0400)]
(lshl_optab): Deleted.
From-SVN: r7018
Richard Kenner [Sun, 10 Apr 1994 11:59:43 +0000 (07:59 -0400)]
(LSHIFT): Deleted.
From-SVN: r7017
Richard Kenner [Sun, 10 Apr 1994 11:13:16 +0000 (07:13 -0400)]
Remove references to LSHIFT and lshlsi3.
From-SVN: r7016
Richard Kenner [Sun, 10 Apr 1994 10:57:32 +0000 (06:57 -0400)]
(movdf): Do not consider extended registers when doing define_split.
From-SVN: r7015
Jeff Law [Sun, 10 Apr 1994 08:50:04 +0000 (02:50 -0600)]
pa-ghiux.h (LIB_SPEC): Remove last change until we've got the go ahead from HP to distribute...
* pa-ghiux.h (LIB_SPEC): Remove last change until we've got the
go ahead from HP to distribute /usr/lib/end.o.
* pa-ghpux.h, pa-hiux.h, pa-ghiux.h: Likewise.
From-SVN: r7014
Richard Kenner [Sat, 9 Apr 1994 21:48:23 +0000 (17:48 -0400)]
(rs6000_convert_preincs): New function.
From-SVN: r7013
Richard Kenner [Sat, 9 Apr 1994 21:48:01 +0000 (17:48 -0400)]
(FINAL_PRESCAN_INSN): Define.
From-SVN: r7012
Richard Kenner [Sat, 9 Apr 1994 20:28:47 +0000 (16:28 -0400)]
(mulhi3): Use SImode for MULT RTL.
From-SVN: r7011
Richard Kenner [Sat, 9 Apr 1994 20:05:15 +0000 (16:05 -0400)]
(fold): Avoid exponential work when simplifying conditional
expressions; don't recurse twice if ARG1 is constant.
From-SVN: r7010
Richard Kenner [Sat, 9 Apr 1994 19:06:16 +0000 (15:06 -0400)]
Initial revision
From-SVN: r7009
Richard Kenner [Sat, 9 Apr 1994 19:02:49 +0000 (15:02 -0400)]
Include <mach.h>, not <mach/mach.h> for NeXTStep 2.1.
From-SVN: r7008
Richard Kenner [Sat, 9 Apr 1994 19:01:54 +0000 (15:01 -0400)]
Add ns* as operating systems; default to ns2 for NeXT.
From-SVN: r7007
Richard Kenner [Sat, 9 Apr 1994 14:55:42 +0000 (10:55 -0400)]
(force_to_mode, case ROTATE): Don't assume simplify_binary_operation always returns CONST_INT.
(force_to_mode, case ROTATE): Don't assume simplify_binary_operation always
returns CONST_INT.
(simplify_shift_const, case IOR, PLUS): Likewise.
From-SVN: r7006
Richard Kenner [Sat, 9 Apr 1994 13:47:29 +0000 (09:47 -0400)]
(unitialized_vars_warning, setjmp_args_warning): Reword warning to be
less ambiguous.
From-SVN: r7005
Richard Kenner [Sat, 9 Apr 1994 13:39:42 +0000 (09:39 -0400)]
(convert_arguments): Truncate and reextend for PROMOTE_PROTOTYPES so
we can give error on overflow.
From-SVN: r7004
Richard Kenner [Sat, 9 Apr 1994 13:13:06 +0000 (09:13 -0400)]
(STRUCT_VALUE{,_INCOMING,_REGNUM}): Redefine for calling conventions
of native cc.
From-SVN: r7003
Richard Kenner [Sat, 9 Apr 1994 13:09:59 +0000 (09:09 -0400)]
(reload_conflicts): Rewrite to clean up and fix numerous bugs; move to
later in file.
From-SVN: r7002
Richard Kenner [Sat, 9 Apr 1994 12:25:26 +0000 (08:25 -0400)]
(duplicate_decls): Put new type in same obstack as old ones, or
permanent is old ones in different obstacks.
From-SVN: r7001
Richard Kenner [Fri, 8 Apr 1994 22:35:23 +0000 (18:35 -0400)]
Fix typo in comment of last change.
From-SVN: r7000
Richard Kenner [Fri, 8 Apr 1994 22:18:08 +0000 (18:18 -0400)]
(fold, case GT_EXPR): Simplify X < (1 << Y) into X >> Y == 0.
From-SVN: r6999
Richard Kenner [Fri, 8 Apr 1994 22:08:42 +0000 (18:08 -0400)]
Remove previous Berg change.
From-SVN: r6998
Ian Lance Taylor [Fri, 8 Apr 1994 15:23:06 +0000 (15:23 +0000)]
Add support for -membedded-pic
From-SVN: r6997
Mike Stump [Fri, 8 Apr 1994 06:08:43 +0000 (06:08 +0000)]
31th Cygnus<->FSF merge.
From-SVN: r6996
Jim Wilson [Fri, 8 Apr 1994 02:19:54 +0000 (19:19 -0700)]
(emit_library_call_value): Move is_const set after ifdef.
From-SVN: r6995
Richard Kenner [Thu, 7 Apr 1994 01:33:57 +0000 (21:33 -0400)]
(expand_builtin, case BUILT_IN_NEXT_ARG): Test whether an argunment
has been passed to __builtin_next_arg; warn if not.
From-SVN: r6994
Jim Wilson [Wed, 6 Apr 1994 23:01:45 +0000 (16:01 -0700)]
(discard_comments): Replace comments with a single space.
From-SVN: r6993
Jim Wilson [Wed, 6 Apr 1994 22:52:58 +0000 (15:52 -0700)]
(USER_H): Add $(srcdir)/ before every ginclude use.
From-SVN: r6992
Jim Wilson [Wed, 6 Apr 1994 22:50:58 +0000 (15:50 -0700)]
(emit_library_call_value): New variable is_const.
(emit_library_call_value): New variable is_const. Clear
it for functions that return an aggregate in memory.
From-SVN: r6991
Per Bothner [Wed, 6 Apr 1994 21:25:11 +0000 (14:25 -0700)]
Add -f[no-]vtable-thunks (for C++).
From-SVN: r6990
Jim Wilson [Wed, 6 Apr 1994 19:35:10 +0000 (12:35 -0700)]
(finish_decl): Correct typo in use of tree_int_cst_sgn.
From-SVN: r6989
Richard Kenner [Wed, 6 Apr 1994 12:46:56 +0000 (08:46 -0400)]
Add define_split to simplify "(unsigned) x > 0xffffff".
From-SVN: r6988
Richard Kenner [Wed, 6 Apr 1994 11:51:24 +0000 (07:51 -0400)]
Add ... to set current_function_varargs.
From-SVN: r6987
Richard Kenner [Wed, 6 Apr 1994 11:50:07 +0000 (07:50 -0400)]
(function_cannot_inline_p): Use current_function_varargs.
From-SVN: r6986
Richard Kenner [Wed, 6 Apr 1994 11:49:37 +0000 (07:49 -0400)]
(struct function): New field for current_function_varargs.
From-SVN: r6985
Richard Kenner [Wed, 6 Apr 1994 11:48:06 +0000 (07:48 -0400)]
(expand_builtin): Allow builtin_next_arg for varargs functions as
well.
From-SVN: r6984
Richard Kenner [Wed, 6 Apr 1994 11:47:24 +0000 (07:47 -0400)]
(push_function_context): Use current_function_varargs.
(pop_function_context): Likewise.
(assign_parms): Respect current_function_varargs.
Save args_so_far in any case.
From-SVN: r6983
Richard Kenner [Wed, 6 Apr 1994 11:39:36 +0000 (07:39 -0400)]
(lang_options): Group and alphabetize some options.
From-SVN: r6982
Richard Kenner [Wed, 6 Apr 1994 11:31:44 +0000 (07:31 -0400)]
(warn_missing_declarations): New variable.
(c_decode_option): -Wmissing-declarations.
(start_function): Actually do the checking.
From-SVN: r6981
Richard Kenner [Wed, 6 Apr 1994 11:31:08 +0000 (07:31 -0400)]
(lang_options): Add -Wmissing-declarations.
From-SVN: r6980