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/31499] New: rejects vector int a[] = {1,1,1,1,1};


Testcase:
#define vector __attribute__((__vector_size__(16) ))
vector signed int v1[]={0,1,2,3,4,5,6,7};

The reason why I am saying this is valid code is two fold, one the C/C++
Language extension for CBEA says this is valid code and two the C++ front-end
accepts this.


-- 
           Summary: rejects vector int a[] = {1,1,1,1,1};
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          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=31499


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