This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR middle-end/17055: Casting integer zero to a vector
- From: James E Wilson <wilson at specifixinc dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 08 Sep 2004 15:10:17 -0700
- Subject: Re: [PATCH] PR middle-end/17055: Casting integer zero to a vector
- References: <Pine.LNX.4.44.0409081150310.19509-100000@www.eyesopen.com>
On Wed, 2004-09-08 at 11:14, Roger Sayle wrote:
> Jim (and/or other vector folks) are you happy with this solution?
Yes, this is fine with me. I think making the fold work is the right
solution. My only concern would be that changes to fold might
accidentally change the C extensions we support, if the C front end
changes are not rigorous enough. That would be a C front end bug
though.
I tried writing a simple testcase to check if there was a problem, and
managed to find two more vector bugs. These look like simple front end
problems, though, so I will probably write patches for them myself.
Otherwise, the front end seems to be handling scalar to vector
conversions as intended.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com