[Bug c/31499] rejects vector int a[] = {1,1,1,1,1};
uweigand at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 7 22:21:00 GMT 2009
------- Comment #4 from uweigand at gcc dot gnu dot org 2009-12-07 22:20 -------
Subject: Bug 31499
Author: uweigand
Date: Mon Dec 7 22:20:06 2009
New Revision: 155055
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155055
Log:
2008-12-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Backport from mainline:
gcc/
2009-05-19 Andrew Pinski <andrew_pinski@playstation.sony.com>
* c-typeck.c (build_binary_op): Allow % on integal vectors.
* doc/extend.texi (Vector Extension): Document that % is allowed too.
gcc/cp/
2009-05-19 Andrew Pinski <andrew_pinski@playstation.sony.com>
* typeck.c (build_binary_op): Allow % on integal vectors.
gcc/testsuite/
2009-05-19 Andrew Pinski <andrew_pinski@playstation.sony.com>
* gcc.dg/vector-4.c: New testcase.
* gcc.dg/simd-1b.c: % is now allowed for integer vectors.
* g++.dg/ext/vector16.C: New testcase.
2008-12-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Backport from mainline:
gcc/
2009-04-22 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR C/31499
* c-typeck.c (process_init_element): Treat VECTOR_TYPE like ARRAY_TYPE
and RECORD_TYPE/UNION_TYPE. When outputing the actual element and the
value is a VECTOR_CST, the element type is the element type of the
vector.
gcc/testsuite/
2009-04-22 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR C/31499
* gcc.dg/vector-init-1.c: New testcase.
* gcc.dg/vector-init-2.c: New testcase.
2008-12-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Update to gcc-4_4-branch revision 155038.
Added:
branches/cell-4_4-branch/gcc/testsuite/g++.dg/ext/vector16.C
branches/cell-4_4-branch/gcc/testsuite/gcc.dg/vector-4.c
branches/cell-4_4-branch/gcc/testsuite/gcc.dg/vector-init-1.c
branches/cell-4_4-branch/gcc/testsuite/gcc.dg/vector-init-2.c
Modified:
branches/cell-4_4-branch/ (props changed)
branches/cell-4_4-branch/ChangeLog.cell
branches/cell-4_4-branch/gcc/ChangeLog
branches/cell-4_4-branch/gcc/DATESTAMP
branches/cell-4_4-branch/gcc/c-typeck.c
branches/cell-4_4-branch/gcc/config/i386/i386.md
branches/cell-4_4-branch/gcc/cp/typeck.c
branches/cell-4_4-branch/gcc/doc/extend.texi
branches/cell-4_4-branch/gcc/testsuite/gcc.dg/simd-1b.c
branches/cell-4_4-branch/gcc/tree-ssa-dom.c
Propchange: branches/cell-4_4-branch/
('svnmerge-integrated' modified)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31499
More information about the Gcc-bugs
mailing list