Commit Graph

7109 Commits

Author SHA1 Message Date
Jim Wilson
c1da1f33b7 (store_expr): Don't check the TYPE_MODE of an ERROR_MARK.
From-SVN: r7122
1994-04-21 12:46:31 -07:00
Richard Kenner
704f4dca8c 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
1994-04-21 15:33:56 -04:00
Richard Kenner
a035305579 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
1994-04-21 15:33:15 -04:00
Richard Kenner
30d889161d Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7119
1994-04-21 15:32:38 -04:00
Richard Kenner
82c68a7824 Add prototypes for static functions.
From-SVN: r7118
1994-04-21 15:31:56 -04:00
Richard Kenner
81fbaa4179 Add prototypes for static functions.
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.

From-SVN: r7117
1994-04-21 15:31:30 -04:00
Richard Kenner
e15679f8d6 Add prototypes for static functions.
(bc_expand_function_end, expand_function_end): Call new expand_fixups
instead of old fixup_gotos.

From-SVN: r7116
1994-04-21 15:30:29 -04:00
Richard Kenner
318e45ce5a Include stdio.h and ctype.h early.
Add prototypes for static functions.

From-SVN: r7115
1994-04-21 15:29:50 -04:00
Richard Kenner
9bac07c3dd (bc_expand_expr): Call expand_decl and expand_decl_init, not the bc_
versions.

From-SVN: r7114
1994-04-21 15:28:59 -04:00
Richard Kenner
560c94a2b9 Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7113
1994-04-21 15:27:24 -04:00
Richard Kenner
ca5ddfbcb5 (main): Don't write overly-long line.
From-SVN: r7112
1994-04-21 15:25:36 -04:00
Richard Kenner
439067df80 (STDIO_PROTO): Don't define here.
From-SVN: r7111
1994-04-21 15:25:12 -04:00
Richard Kenner
fc47a4c015 (PROTO, STDIO_PROTO): Likewise.
From-SVN: r7110
1994-04-21 15:24:48 -04:00
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