expr.c (const_vector_from_tree): Initialize remaining elements to 0.

2003-06-19  Aldy Hernandez  <aldyh@redhat.com>

	* expr.c (const_vector_from_tree): Initialize remaining elements
	to 0.

From-SVN: r68210
This commit is contained in:
Aldy Hernandez 2003-06-19 17:29:29 +00:00 committed by Aldy Hernandez
parent 98a91a724e
commit 5f6c070d3d
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-06-19 Aldy Hernandez <aldyh@redhat.com>
* expr.c (const_vector_from_tree): Initialize remaining elements
to 0.
2003-06-19 Aldy Hernandez <aldyh@redhat.com> 2003-06-19 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.md ("spe_evfscfsi"): Change operand types. * config/rs6000/spe.md ("spe_evfscfsi"): Change operand types.

View File

@ -10523,6 +10523,10 @@ const_vector_from_tree (exp)
inner); inner);
} }
/* Initialize remaining elements to 0. */
for (; i < units; ++i)
RTVEC_ELT (v, i) = CONST0_RTX (inner);
return gen_rtx_raw_CONST_VECTOR (mode, v); return gen_rtx_raw_CONST_VECTOR (mode, v);
} }