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] FIx PR C/30427 ~ vector float is accepted


On Sun, 12 Aug 2007, Andrew Pinski wrote:

> Hi,
>   The C front-end allows a vector float argument to bit-complement
> currently.  This seems wrong as it does not make sense as a scalar
> real is not accepted for a bit-complement and real does not have a
> nice bit pattern to be able to be bitwise-complemented.  Note this is
> rejected by the C++ front-end already.
> 
> This patch adds a check for a vector float type to make sure this gets rejected.
> 
> OK? Bootstrapped and tested on i386-apple-darwin8.10 with no regressions.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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