Once we tried to run it in GDB (that one Pegasos2 of course, with real Altivec in) , GDB bring this warning:
../../gdb/gdbtypes.c:939: internal-error: create_range_type: Assertion 'index_type->length () > 0` failed.
A problem internal to GDB has been detected.
futher debugging may prove unrelable.
Unable to dump core
There very simple test case:
Compile it like:
ppc-amigaos-gcc -maltivec -gstabs test_vector.c -o test_vector
Once we tried to run it in GDB (that one Pegasos2 of course, with real Altivec in) , GDB bring this warning: