This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14217] Assignment to vector references fails
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Feb 2004 22:12:25 -0000
- Subject: [Bug c++/14217] Assignment to vector references fails
- References: <20040219194204.14217.tjw@omnigroup.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-19 22:12 -------
The problem is that GCC is parsering it wrong.
It is making adding the attribute on "float&" instead of on "float".
#define vector __attribute__((vector_size(16)))
typedef vector float vfloat;
void v(vector float &q, vector float r)
{
q = r;
}
void v1(vfloat &q, vfloat r)
{
q = r;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|powerpc-apple-darwin7.2.0 |
GCC host triplet|powerpc-apple-darwin7.2.0 |
GCC target triplet|powerpc-apple-darwin7.2.0 |
Known to fail| |3.2.3 3.3.1 3.4.0 3.5.0
Last reconfirmed|0000-00-00 00:00:00 |2004-02-19 22:12:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14217