I actually found a bug that is solved in my implementation of
comptypes. It is a contrived example and it is in C++, but is indeed
a bug.
1 template <class T> class X {
2 };
3
4 template <> class X<__ev64_opaque__> {
5 };
6
7 typedef int v2si __attribute__ ((vector_size (8)));
8
9 template <> class X<v2si> {
10 };
With my patch, this compiles. With rth's proposed resolution
of comptypes for vector types, instead it gives a wrong error
/home/utente/aaa.c:9: error: redefinition of `class X<int __vector__>'
/home/utente/aaa.c:4: error: previous definition of `class X<int
__vector__>'
Paolo