Commit Graph

7096 Commits

Author SHA1 Message Date
Richard Kenner
9b1d8cd6eb Add missing declarations of functions in final.c.
(STDIO_PROTO): Don't define here.

From-SVN: r7109
1994-04-21 15:24:23 -04:00
Richard Kenner
fca0444121 Add prototypes to declarations of functions in real.c.
(immed_real_const_1): Move declaration from rtl.h.

From-SVN: r7108
1994-04-21 15:24:02 -04:00
Richard Kenner
d6b1265798 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
1994-04-21 15:23:35 -04:00
Richard Kenner
88efc60a69 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
1994-04-21 15:23:14 -04:00
Ian Lance Taylor
92544bdfd5 Handle taking address of function when using -membedded-pic
From-SVN: r7105
1994-04-21 18:28:09 +00:00
Doug Evans
c27c5281ce (init_reg_sets_1): Make static.
(init_reg_modes): New function.
(init_regs): Likewise.

From-SVN: r7104
1994-04-20 23:38:22 +00:00
Doug Evans
34d0205f17 (compile_file): Call new function init_regs.
(main): Delete call to init_reg_sets_1.

From-SVN: r7103
1994-04-20 23:36:30 +00:00
Steve Chamberlain
961c478000 ls -la
From-SVN: r7102
1994-04-20 19:17:23 +00:00
Steve Chamberlain
d3ae8277eb *** empty log message ***
From-SVN: r7101
1994-04-20 19:17:23 +00:00
Jason Merrill
6fcc9690b3 (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
1994-04-20 18:12:36 +00:00
Doug Evans
c8fc469754 (lshlsi3): Delete.
From-SVN: r7099
1994-04-20 16:12:33 +00:00
Doug Evans
3e7700f327 (RTX_COSTS): Remove LSHIFT, add LSHIFTRT.
From-SVN: r7098
1994-04-20 16:11:46 +00:00
Doug Evans
3841a7f67d (output_shift, ASHIFTRT case): Do opposite shift as ASHIFT.
Delete LSHIFT case.

From-SVN: r7097
1994-04-20 16:11:04 +00:00
Doug Evans
dfa11e055c (i960_expr_alignment): Remove LSHIFT.
From-SVN: r7096
1994-04-20 16:03:30 +00:00
Doug Evans
9d84172d84 (safe_insn_src_p): Remove LSHIFT.
(single_insn_src_p): Likewise.

From-SVN: r7095
1994-04-20 16:02:55 +00:00
Doug Evans
c0e4a0072d (lshrhi3_eight): Fix name.
(lshrhi3): Use it.

From-SVN: r7094
1994-04-20 16:01:38 +00:00
Doug Evans
b4ce11b45f (RTX_COSTS): Remove LSHIFT.
From-SVN: r7093
1994-04-20 16:01:13 +00:00
Richard Kenner
9083509785 (check_newline): Avoid unreachable statement when HANDLE_SYSV_PRAGMA
defined.

From-SVN: r7092
1994-04-20 06:40:07 -04:00
Steve Chamberlain
a0fbc3a981 *** empty log message ***
From-SVN: r7091
1994-04-20 05:55:28 +00:00
Doug Evans
dcfb710401 (attach_deaths): Create partial register dead notes using
register's intrinsic mode.

From-SVN: r7090
1994-04-20 03:40:01 +00:00
Doug Evans
36b878d12c (move_deaths): Record death information of remaining
registers in their intrinsic mode.

From-SVN: r7089
1994-04-20 03:38:46 +00:00
Doug Evans
74eb5c5227 (emit_reload_insns): Record additional spill registers in their intrinsic mode.
From-SVN: r7088
1994-04-20 03:37:45 +00:00
Doug Evans
ca4aac003d (choose_hard_reg_mode): Define here.
(reg_raw_mode): Define.
(init_reg_sets_1): Initialize reg_raw_mode.

From-SVN: r7087
1994-04-20 03:36:49 +00:00
Doug Evans
d0c6176a4d (choose_hard_reg_mode): Delete from here.
From-SVN: r7086
1994-04-20 03:36:09 +00:00
Doug Evans
bf76bb5a49 #include regs.h.
#include regs.h.
(use_regs): Use reg_raw_mode.

From-SVN: r7085
1994-04-20 03:34:57 +00:00
Doug Evans
a021f58a5d (choose_hard_reg_mode): Declare.
From-SVN: r7084
1994-04-20 03:33:53 +00:00
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