This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] FIx PR C/30427 ~ vector float is accepted
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 13 Aug 2007 20:00:06 +0000 (UTC)
- Subject: Re: [PATCH] FIx PR C/30427 ~ vector float is accepted
- References: <de8d50360708121708k37a9eac0jba7b59af69144a3a@mail.gmail.com>
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