re PR bootstrap/78985 (profiledbootstrap failure by -Wuninitialized)
PR bootstrap/78985 * config/s390/s390.c (s390_gimplify_va_arg): Initialize local variable to NULL. (print_operand_address): Initialize a struct to zero. From-SVN: r245195
This commit is contained in:
parent
139d4065e8
commit
e6b07173d2
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2017-02-05 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR bootstrap/78985
|
||||
* config/s390/s390.c (s390_gimplify_va_arg): Initialize local
|
||||
variable to NULL.
|
||||
(print_operand_address): Initialize a struct to zero.
|
||||
|
||||
2017-02-05 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
* doc/extend.texi (x86 specific memory model extensions for
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue