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: fix pr23546, exposed by using VIEW_CONVERT_EXPR for vectors


On Wed, Aug 24, 2005 at 04:26:43PM +0200, Paolo Bonzini wrote:
> This is a latent bug exposed by my change to fix pr23517 and use 
> VIEW_CONVERT_EXPR to convert from/to vectors.

Hmm.  This points to another problem -- previously we were resolving
(m64)0LL to the constructor { 0, 0 } in fold_convert.  This is no
longer happening.

We'll need some code added to fold-const.c to handle VIEW_CONVERT_EXPR
for various cases.  All of the code needed for it is already present
in various forms, either attached to NOP_EXPR, or in simplify-rtx.c.

But that said, this patch is ok.


r~


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