This is the mail archive of the 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: ICE in trunk due to MEM with address in vector mode

> -----Original Message-----
> From: Richard Sandiford []
> Sent: 24 January 2014 16:34
> To: Paulo Matos
> Cc:
> Subject: Re: ICE in trunk due to MEM with address in vector mode
> Paulo Matos <> writes:
> >> If we do support vector addresses than I think the right fix is to
> >> check VECTOR_MODE_P there.
> >
> > Well, isn't it the case that a mem with vector mode is always mode
> > dependent, in which case adding VECTOR_MODE_P to mode-dependent target
> > hook would be enough making the patch not so useful?
> Yeah, adding it to the target hook would work too.  I'd just prefer it
> to be in generic code because I think it's a target-independent rule.
> I can see that for an out-of-tree port it would be easier to put it in
> the target hook though.

I agree. If indeed VECTOR_MODE_P is officially supported then the patch would be best.
I will submit the patch to gcc-patches and wait for the reaction then.

Thanks for your help,

Paulo Matos

> Thanks,
> Richard

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