Commit Graph

7070 Commits

Author SHA1 Message Date
Doug Evans
04569dfb3d (reg_raw_mode): Declare.
From-SVN: r7083
1994-04-20 03:33:09 +00:00
Doug Evans
8309a1bc98 (expr.o): Depend on regs.h.
From-SVN: r7082
1994-04-20 03:32:22 +00:00
Mike Stump
e1d9c157c1 Add -fhandle-signatures for C++ frontend.
From-SVN: r7081
1994-04-20 01:39:59 +00:00
Richard Kenner
9b03496193 (do_error): Don't terminate.
From-SVN: r7080
1994-04-19 19:00:10 -04:00
Richard Kenner
6a9e290eec Add new options -print-file-name= and -print-prog-name=.
From-SVN: r7079
1994-04-19 17:57:14 -04:00
Richard Kenner
f5b0eb4e88 (struct switchstr): New field LIVE_COND.
(process_command): Initialize it.
(check_live_switch): New function.
(handle_braces): Call it.

From-SVN: r7078
1994-04-19 17:48:23 -04:00
Richard Kenner
c0c523d85b (RTX_COSTS): Remove LSHIFT.
From-SVN: r7077
1994-04-18 19:22:14 -04:00
Richard Kenner
2af6a433d9 (duplicate_decls): Always warn when const declaration follows
non-const one for variables.

From-SVN: r7076
1994-04-18 17:56:01 -04:00
Richard Kenner
0aaf6c85d2 (prepare_call_address): Extend prototype.
From-SVN: r7075
1994-04-18 16:38:16 -04:00
Richard Kenner
ccfa6cbb7b (expand_builtin_apply): Pass new arg to prepare_call_address.
From-SVN: r7074
1994-04-18 16:37:34 -04:00
Richard Kenner
0136807851 (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
1994-04-18 16:37:01 -04:00
Richard Kenner
5f61007448 (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
1994-04-18 15:41:06 -04:00
Richard Kenner
a47a0ed53b (yylex): If FP value is NaN, use value of zero.
From-SVN: r7071
1994-04-18 15:25:32 -04:00
Richard Kenner
28612f9eb6 (expand_value_return, expand_decl): Use promote_mode.
From-SVN: r7070
1994-04-18 14:53:01 -04:00
Richard Kenner
78911e8b93 (expand_expr, case VAR_DECL, SAVE_EXPR): Use promote_mode.
From-SVN: r7069
1994-04-18 14:52:26 -04:00
Richard Kenner
a5a52dbc09 (assign_parms, promoted_input_arg, expand_function_start): Use promote_mode.
From-SVN: r7068
1994-04-18 14:51:48 -04:00
Richard Kenner
321e0bbad6 (expand_call): Use promote_mode.
From-SVN: r7067
1994-04-18 14:50:53 -04:00
Richard Kenner
9ff6578970 (promote_mode): New function.
From-SVN: r7066
1994-04-18 14:50:18 -04:00
Richard Kenner
9d69b7c803 (PROMOTE_MODE): Don't supply default here.
(promote_mode): Add declaration.

From-SVN: r7065
1994-04-18 14:49:55 -04:00
Jason Merrill
75ea7910de (LIB2FUNCS): Change _op_vec_delete to _op_vec_del.
From-SVN: r7064
1994-04-18 18:37:25 +00:00
Jeff Law
b304ad476c 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
1994-04-18 09:19:57 -06:00
Doug Evans
76f8010e84 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
1994-04-18 07:09:17 +00:00
Richard Kenner
db7f1e43d8 (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
1994-04-17 18:28:52 -04:00
Richard Kenner
8482e358c8 (PROCESSOR_COMMON, PROCESSOR_POWER, PROCESSOR_POWERPC): New macros.
From-SVN: r7060
1994-04-17 18:28:28 -04:00
Richard Kenner
7ce82023d1 (DECL_PRINT_NAME): Deleted.
(struct tree_decl): Field print_name deleted.

From-SVN: r7059
1994-04-17 10:04:11 -04:00
Richard Kenner
90194d096f (vax_rtx_cost): Remove LSHIFT case.
From-SVN: r7058
1994-04-17 06:59:54 -04:00
Richard Kenner
488c7811dd (RTX_COSTS): Remove LSHIFT case.
From-SVN: r7057
1994-04-17 06:59:30 -04:00
Jeff Law
0b21dcf57a 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
1994-04-16 23:14:50 -06:00
Richard Kenner
8de2a1973a (one_cmplsi2): Always use nor instruction;
remove extraneous minus sign from condition register set constraint.

From-SVN: r7055
1994-04-16 21:05:27 -04:00
Richard Kenner
0081a354a8 Add missing blank lines.
From-SVN: r7054
1994-04-16 21:02:36 -04:00
Richard Kenner
0d920bbf1a Add comment (and copyright notice).
From-SVN: r7053
1994-04-16 19:19:06 -04:00
Richard Kenner
7b4bf3453d (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
1994-04-16 19:17:54 -04:00
Richard Kenner
f4a6e73be9 (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
1994-04-16 19:17:21 -04:00
Richard Kenner
ba85b2e482 (yylex): Turn off overflow flag when fixing up large traditional hex
constants.

From-SVN: r7050
1994-04-16 17:04:03 -04:00
Richard Kenner
3d89634a51 (OBJC_O): Add encoding.o.
From-SVN: r7049
1994-04-16 16:51:12 -04:00
Richard Kenner
3c4afaa5f8 (finish_decl): If asmspec_tree, clear DECL_BUILT_IN for function and
DECL_RTL always.

From-SVN: r7048
1994-04-16 16:38:20 -04:00
Mike Stump
a28e3c7f21 32nd Cygnus<->FSF merge
From-SVN: r7047
1994-04-15 01:44:15 +00:00
Per Bothner
7062b88146 Don't warn about unused static const variables.
From-SVN: r7046
1994-04-13 13:10:21 -07:00
Jason Merrill
ce49ea8a38 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
1994-04-13 19:27:49 +00:00
Michael Meissner
a6e98168ca Hack to get cp-errfn.c to compile without stdio.h
From-SVN: r7044
1994-04-13 01:39:51 +00:00
Jason Merrill
6ffe3a3224 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
1994-04-13 01:18:43 +00:00
Jason Merrill
4c657af546 * Makefile.in (LIB2FUNCS): Add _op_vec_{delete,new}.
From-SVN: r7042
1994-04-13 01:18:34 +00:00
Jason Merrill
acf7262cb8 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
1994-04-12 23:42:36 +00:00
Richard Stallman
b1bbf0ed2c (next): Fix typo in m68k-next-ns3 alternative.
From-SVN: r7040
1994-04-12 20:13:58 +00:00
Michael Meissner
291b0f345c Remove LSHIFT case, since there is no LSHIFT tree code.
From-SVN: r7039
1994-04-12 11:40:34 +00:00
Richard Kenner
8b3e912b5e (reload): When accumulating needs, use nested structures to simplify
and speed up the code.

From-SVN: r7038
1994-04-11 18:25:08 -04:00
Richard Kenner
1c2bdc6003 (compare define_split): Fix bugs in last addition.
From-SVN: r7037
1994-04-11 18:20:53 -04:00
Per Bothner
a6e8021ecf Fix line number counting.
From-SVN: r7036
1994-04-11 14:26:48 -07:00
Jim Wilson
058acefd54 (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
1994-04-11 10:48:47 -07:00
Jim Wilson
d7afa8f034 (OLDCC): Change -XNh1500 to -XNh2000.
From-SVN: r7034
1994-04-11 10:45:48 -07:00