This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix ICEs in simplify_immed_subreg on OImode/XImode subregs (PR target/63910)


On Tue, Nov 18, 2014 at 04:34:12PM -0800, Mike Stump wrote:
> On Nov 18, 2014, at 3:42 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> > No, I'm not touching tmp array at all in that case, only look at vp
> > individual bytes.  Either they are all 0, or all 0xff, or I return NULL.
> 
> Oh, sorry, I misread where the break; in your code was going.  I might have been misled by:
> 
> > -	    gcc_assert (GET_MODE_PRECISION (outer_submode)
> > -			<= MAX_BITSIZE_MODE_ANY_INT);
> 
> in your patch.  You donât need that anymore, do you?  If not, can you remove this part.

I thought the assert is unnecessary given the condition just a few lines
above it.  But can keep it, perhaps gcc_checking_assert would be enough, and
hopefully compiler optimizes it away completely.

> 
> The rest looks like normal rtl/vector code, I donât see anything wrong with it.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]