Re: [PATCH] Fix and testcases for pr72747

2016-10-31 Thread Richard Biener
On Fri, Oct 28, 2016 at 4:06 PM, Will Schmidt wrote: > On Fri, 2016-10-28 at 08:31 -0500, Will Schmidt wrote: >> On Fri, 2016-10-28 at 10:38 +0200, Richard Biener wrote: >> > On Thu, Oct 27, 2016 at 5:37 PM, Will Schmidt >> > wrote: >> > > Hi, >> > > >> > > Per PR72747, A statement such as "v =

Re: [PATCH] Fix and testcases for pr72747

2016-10-28 Thread Will Schmidt
On Fri, 2016-10-28 at 08:31 -0500, Will Schmidt wrote: > On Fri, 2016-10-28 at 10:38 +0200, Richard Biener wrote: > > On Thu, Oct 27, 2016 at 5:37 PM, Will Schmidt > > wrote: > > > Hi, > > > > > > Per PR72747, A statement such as "v = vec_splats (1);" correctly > > > initializes a vector. Howeve

Re: [PATCH] Fix and testcases for pr72747

2016-10-28 Thread Will Schmidt
On Fri, 2016-10-28 at 10:38 +0200, Richard Biener wrote: > On Thu, Oct 27, 2016 at 5:37 PM, Will Schmidt > wrote: > > Hi, > > > > Per PR72747, A statement such as "v = vec_splats (1);" correctly > > initializes a vector. However, a statement such as "v[1] = v[0] = > > vec_splats (1);" initialize

Re: [PATCH] Fix and testcases for pr72747

2016-10-28 Thread Richard Biener
On Thu, Oct 27, 2016 at 5:37 PM, Will Schmidt wrote: > Hi, > > Per PR72747, A statement such as "v = vec_splats (1);" correctly > initializes a vector. However, a statement such as "v[1] = v[0] = > vec_splats (1);" initializes both v[1] and v[0] to random garbage. > > It has been determined that

[PATCH] Fix and testcases for pr72747

2016-10-27 Thread Will Schmidt
Hi, Per PR72747, A statement such as "v = vec_splats (1);" correctly initializes a vector. However, a statement such as "v[1] = v[0] = vec_splats (1);" initializes both v[1] and v[0] to random garbage. It has been determined that this is occurring because we did not emit the actual initializatio