summaryrefslogtreecommitdiff
path: root/gcc/caller-save.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-01 23:18:11 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-01 23:18:11 +0000
commit2041cfd9d3cc196019c4e53a67af0e515d4efb58 (patch)
tree663746db4bb4ca4fe0f1db7a069ec51d97f795bb /gcc/caller-save.c
parent9aaa1fcc3cfa4701f27dcbe384a36e9e42d09127 (diff)
downloadgcc-2041cfd9d3cc196019c4e53a67af0e515d4efb58.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18942 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/caller-save.c')
-rw-r--r--gcc/caller-save.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/caller-save.c b/gcc/caller-save.c
index 57dfbb8c91e..c808ecaeeea 100644
--- a/gcc/caller-save.c
+++ b/gcc/caller-save.c
@@ -640,9 +640,9 @@ insert_save_restore (insn, save_p, regno, insn_mode, maxrestore)
enum machine_mode insn_mode;
int maxrestore;
{
- rtx pat;
- enum insn_code code;
- int numregs;
+ rtx pat = NULL_RTX;
+ enum insn_code code = CODE_FOR_nothing;
+ int numregs = 0;
/* A common failure mode if register status is not correct in the RTL
is for this routine to be called with a REGNO we didn't expect to