[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c/12641] New: Vectors give "initializer element is not constant"



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



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: