diff options
author | Andrew Pinski <andrew_pinski@playstation.sony.com> | 2009-04-22 23:22:53 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2009-04-22 16:22:53 -0700 |
commit | 53650abeb3960ae5e097833fdee977c4074f5f97 (patch) | |
tree | 8a2b08aad5f448475045b459fab1de28915eed36 /gcc/java/class.c | |
parent | 912bb79567a3b7bf3824b4e4a97278233bae337a (diff) | |
download | gcc-53650abeb3960ae5e097833fdee977c4074f5f97.zip gcc-53650abeb3960ae5e097833fdee977c4074f5f97.tar.gz gcc-53650abeb3960ae5e097833fdee977c4074f5f97.tar.bz2 |
re PR c/31499 (rejects vector int a[] = {1,1,1,1,1};)
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.
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.
From-SVN: r146628
Diffstat (limited to 'gcc/java/class.c')
0 files changed, 0 insertions, 0 deletions