This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: recent troubles with float vectors & bitwise ops
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: tbp <tbptbp at gmail dot com>
- Cc: gcc at gnu dot org
- Date: Wed, 22 Aug 2007 03:13:01 -0700
- Subject: Re: recent troubles with float vectors & bitwise ops
- References: <46CBC2E1.1010100@gmail.com>
On 8/21/07, tbp <tbptbp@gmail.com> wrote:
> # /usr/local/gcc-4.3-svn.old6/bin/g++ vecop.cc
> vecop.cc: In function 'T foo() [with T = float __vector__]':
> vecop.cc:13: instantiated from here
> vecop.cc:4: error: invalid operands of types 'float __vector__' and
> 'float __vector__' to binary 'operator|'
> vecop.cc:5: error: invalid operands of types 'float __vector__' and
> 'float __vector__' to binary 'operator&'
> vecop.cc:6: error: invalid operands of types 'float __vector__' and
> 'float __vector__' to binary 'operator^'
>
> Apparently it's still there as of right now, on x86-64 at least. I think
> this is not supposed to happen but i'm not sure, hence the mail.
This is internally, float|float does not make sense so how can vector
float | vector float make sense (likewise for & and ^).
This was PR 30428.
-- Pinski