re PR bootstrap/85838 (-Wmaybe-uninitialized warning in sparc.c (sparc_expand_builtin) breaks SPARC bootstrap)

PR bootstrap/85838
	* config/sparc/sparc.c (sparc_expand_builtin): Always initialize op[0].

From-SVN: r260374
This commit is contained in:
Eric Botcazou 2018-05-18 18:49:20 +00:00 committed by Eric Botcazou
parent 2d76fab440
commit 9706972b6f
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2018-05-18 Eric Botcazou <ebotcazou@adacore.com>
PR bootstrap/85838
* config/sparc/sparc.c (sparc_expand_builtin): Always initialize op[0].
2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm-cpus.in (armv3m, mode32): Delete features.

View File

@ -11592,6 +11592,8 @@ sparc_expand_builtin (tree exp, rtx target,
else
op[0] = target;
}
else
op[0] = NULL_RTX;
FOR_EACH_CALL_EXPR_ARG (arg, iter, exp)
{