------- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-22 23:23 ------- Subject: Bug 31499
Author: pinskia Date: Wed Apr 22 23:22:53 2009 New Revision: 146628 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146628 Log: 2009-04-22 Andrew Pinski <andrew_pin...@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. 2009-04-22 Andrew Pinski <andrew_pin...@playstation.sony.com> PR C/31499 * gcc.dg/vector-init-1.c: New testcase. * gcc.dg/vector-init-2.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/vector-init-1.c trunk/gcc/testsuite/gcc.dg/vector-init-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-typeck.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31499