re PR target/81622 (ICE on invalid altivec code with ppc64{,le})
PR target/81622 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): For __builtin_vec_cmpne verify both arguments are compatible vectors before looking at TYPE_MODE on the element type. For __builtin_vec_ld verify arg1_type is a pointer or array type. For __builtin_vec_st, move computation of aligned to after checking the argument types. Formatting fixes. * gcc.target/powerpc/pr81622.c: New test. From-SVN: r250785
Showing
gcc/testsuite/gcc.target/powerpc/pr81622.c
0 → 100644
Please
register
or
sign in
to comment