diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-04-01 23:18:11 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-04-01 16:18:11 -0700 |
commit | aefdd5abe0eae984fa04ea12851c9ff0f1695033 (patch) | |
tree | 663746db4bb4ca4fe0f1db7a069ec51d97f795bb /gcc/rtl.h | |
parent | 729da3f5a8f4cc906c185e4cbc9bdbac657a1cca (diff) | |
download | gcc-aefdd5abe0eae984fa04ea12851c9ff0f1695033.zip gcc-aefdd5abe0eae984fa04ea12851c9ff0f1695033.tar.gz gcc-aefdd5abe0eae984fa04ea12851c9ff0f1695033.tar.bz2 |
c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
* c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
* caller-save.c (insert_save_restore): Initialize pat, code and
numregs.
* emit-rtl.c (push_to_sequence): Initialize top.
(push_topmost_sequence): Likewise.
* genattrtab.c (simplify_by_exploding): Initialize defval.
* profile.c (branch_prob): Initialize dest.
* rtl.h (note_stores): Remove duplicate prototype.
(GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
Fix some warnings.
* cplus-dem.c (gnu_special): Don't get confused by .<digits>
strings that are not actually lengths.
A change from libiberty that didn't make it into the gcc copy.
From-SVN: r18942
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -856,7 +856,6 @@ extern rtx single_set PROTO((rtx)); extern rtx find_last_value PROTO((rtx, rtx *, rtx)); extern int refers_to_regno_p PROTO((int, int, rtx, rtx *)); extern int reg_overlap_mentioned_p PROTO((rtx, rtx)); -extern void note_stores PROTO((rtx, void (*)())); extern rtx reg_set_last PROTO((rtx, rtx)); extern int rtx_equal_p PROTO((rtx, rtx)); extern int dead_or_set_p PROTO((rtx, rtx)); @@ -951,7 +950,9 @@ extern rtx static_chain_incoming_rtx; extern rtx gen_rtx_CONST_INT PROTO((enum machine_mode, HOST_WIDE_INT)); extern rtx gen_rtx_REG PROTO((enum machine_mode, int)); -#define GEN_INT(N) gen_rtx_CONST_INT (VOIDmode, (N)) +/* We need the cast here to ensure that we get the same result both with + and without prototypes. */ +#define GEN_INT(N) gen_rtx_CONST_INT (VOIDmode, (HOST_WIDE_INT) (N)) /* If HARD_FRAME_POINTER_REGNUM is defined, then a special dummy reg |