OSDN Git Service

* rs6000.c (rs6000_handle_altivec_attribute_tree): Report errors
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Dec 2004 18:43:57 +0000 (18:43 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Dec 2004 18:43:57 +0000 (18:43 +0000)
commita74c8d05f15407fb3bef9c3ca49401c4a8868763
treee32f12da38d33977fc29fafc448d5db2d6c15cf6
parent9a5acb98306935f2b49307f149dcdbbd9d29b16d
* rs6000.c (rs6000_handle_altivec_attribute_tree): Report errors
for vector types with invalid component types.
testsuite:
* gcc.dg/altivec-types-1.c: New test.
* gcc.dg/altivec-types-2.c: New test.
* gcc.dg/altivec-types-3.c: New test.
* gcc.dg/altivec-types-4.c: New test.
* g++.dg/ext/altivec-types-1.C: New test.
* g++.dg/ext/altivec-types-2.C: New test.
* g++.dg/ext/altivec-types-3.C: New test.
* g++.dg/ext/altivec-types-4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92154 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/altivec-types-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/altivec-types-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/altivec-types-3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/altivec-types-4.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/altivec-types-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/altivec-types-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/altivec-types-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/altivec-types-4.c [new file with mode: 0644]