[Bug c/30427] New: ~ vector float is accepted

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 10 20:50:00 GMT 2007


Testcase:
#define vector __attribute__((vector_size(16) ))

vector float a;

int f(void)
{
 a =  ~a;
}

-----------
This is rejected with the C++ front-end:
t.c: In function 'int f()':
t.c:7: error: wrong type argument to bit-complement


-- 
           Summary: ~ 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=30427



More information about the Gcc-bugs mailing list