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] PR middle-end/17055: Casting integer zero to a vector


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



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