This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12641] New: Vectors give "initializer element is not constant"
- From: "drow at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Oct 2003 15:17:37 -0000
- Subject: [Bug c/12641] New: Vectors give "initializer element is not constant"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12641
Summary: Vectors give "initializer element is not constant"
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: drow at gcc dot gnu dot org
CC: debian-gcc at lists dot debian dot org,gcc-bugs at gcc
dot gnu dot org
GCC build triplet: powerpc-unknown-linux-gnu
GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
This testcase compiled on 2003-07-22 but not on 2003-10-05:
const __attribute__((vector_size(16))) unsigned int fftwf_altivec_ld_selmsk =
(__attribute__((vector_size(16))) unsigned int){0, 0, 0xFFFFFFFF, 0xFFFFFFFF};
test.c:1: error: initializer element is not constant