Re: [PATCH, rs6000] Fix ICE for vec_ld and vec_st of array when compiled with g++

2016-06-03 Thread Bill Schmidt
You’re right, I don’t need the -O0. I’d like to leave the dg-skip-if in place because I’m worried about older processors not defining altivec, etc. Thanks! Bill > On Jun 3, 2016, at 1:17 PM, Segher Boessenkool > wrote: > > On Fri, Jun 03, 2016 at 11:41:26AM -0500, Bill Schmidt wrote: >> Whe

Re: [PATCH, rs6000] Fix ICE for vec_ld and vec_st of array when compiled with g++

2016-06-03 Thread Segher Boessenkool
On Fri, Jun 03, 2016 at 11:41:26AM -0500, Bill Schmidt wrote: > When changing vec_ld and vec_st to be expanded during parsing, I > missed a subtle case that happens only for C++. If the base address > argument has an array type, this doesn’t get converted to a pointer. > For our purposes, we need

[PATCH, rs6000] Fix ICE for vec_ld and vec_st of array when compiled with g++

2016-06-03 Thread Bill Schmidt
Hi, When changing vec_ld and vec_st to be expanded during parsing, I missed a subtle case that happens only for C++. If the base address argument has an array type, this doesn’t get converted to a pointer. For our purposes, we need the pointer, and it’s safe to make that conversion, so this patch