Both the C and C++ front-end accept this:
#define vector __attribute__((vector_size(16) ))

vector float a;
vector float b;

int f(void)
{
 a =  a | b;
}

-------------------
xor and bitwise and is effected too.


-- 
           Summary: vector float | vector float is accepted
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30428

Reply via email to