This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix pr23546, exposed by using VIEW_CONVERT_EXPR for vectors
- From: Richard Henderson <rth at redhat dot com>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Laurent GUERBY <laurent at guerby dot net>
- Date: Wed, 24 Aug 2005 10:23:44 -0700
- Subject: Re: fix pr23546, exposed by using VIEW_CONVERT_EXPR for vectors
- References: <430C83A3.6050100@lu.unisi.ch>
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~