[Bug c++/14217] Assignment to vector references fails
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 19 22:28:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list