diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-02-05 15:51:13 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-02-05 15:51:13 +0000 |
commit | 883b25192b85f43aa889e685678cf99563ea1bdf (patch) | |
tree | 312546b6bbe6620c5aeff5195be479195ff57d97 /gcc/config/s390/s390.c | |
parent | 53aa2f5eafd35864f920623a1b1eb9240be693c4 (diff) | |
download | gcc-883b25192b85f43aa889e685678cf99563ea1bdf.tar.gz |
PR bootstrap/78985
* config/s390/s390.c (s390_gimplify_va_arg): Initialize local
variable to NULL.
(print_operand_address): Initialize a struct to zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245195 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/s390/s390.c')
-rw-r--r-- | gcc/config/s390/s390.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 93377cdf7c8..b7b93accae8 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -7347,6 +7347,7 @@ void print_operand_address (FILE *file, rtx addr) { struct s390_address ad; + memset (&ad, 0, sizeof (s390_address)); if (s390_loadrelative_operand_p (addr, NULL, NULL)) { @@ -12195,7 +12196,7 @@ s390_gimplify_va_arg (tree valist, tree type, gimple_seq *pre_p, tree f_gpr, f_fpr, f_ovf, f_sav; tree gpr, fpr, ovf, sav, reg, t, u; int indirect_p, size, n_reg, sav_ofs, sav_scale, max_reg; - tree lab_false, lab_over; + tree lab_false, lab_over = NULL_TREE; tree addr = create_tmp_var (ptr_type_node, "addr"); bool left_align_p; /* How a value < UNITS_PER_LONG is aligned within a stack slot. */ |