From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13926 invoked by alias); 6 Apr 2007 22:05:13 -0000 Received: (qmail 13872 invoked by uid 48); 6 Apr 2007 22:05:04 -0000 Date: Fri, 06 Apr 2007 22:05:00 -0000 Subject: [Bug c/31499] New: rejects vector int a[] = {1,1,1,1,1}; X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg00469.txt.bz2 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