This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30428] vector float | vector float is accepted
- From: "tbptbp at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2007 18:45:47 -0000
- Subject: [Bug c/30428] vector float | vector float is accepted
- References: <bug-30428-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from tbptbp at gmail dot com 2007-08-23 18:45 -------
Subject: Re: vector float | vector float is accepted
On 23 Aug 2007 18:31:25 -0000, pinskia at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> ------- Comment #7 from pinskia at gcc dot gnu dot org 2007-08-23 18:31 -------
> (In reply to comment #6)
> > Please fix the extension documentation accordingly.
>
> The documentation already says:
> The operations behave like C++ valarrays. Addition is defined as the addition
> of the corresponding elements of the operands.
"All the basic integer types can be used as base types, both as signed
and as unsigned: char, short, int, long, long long. In addition, float
and double can be used to build floating-point vector types."
"Currently, GCC will allow using the following operators on these
types: +, -, *, /, unary minus, ^, |, &, ~."
Your patch and documentation conflict . Fix either, at your convenience.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30428