This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14217] Assignment to vector references fails


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]