diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-08-01 18:34:31 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-08-01 18:34:31 +0200 |
commit | 636730cadd8be7f6280ea673cf44573bd49c37b0 (patch) | |
tree | 3b5d3a64f03d1e23f0dfdc3e695117572dcceee9 /gcc/fortran/class.c | |
parent | 8e1863eca8c8914cc5e05369dacdc5266cdca179 (diff) | |
download | gcc-636730cadd8be7f6280ea673cf44573bd49c37b0.zip gcc-636730cadd8be7f6280ea673cf44573bd49c37b0.tar.gz gcc-636730cadd8be7f6280ea673cf44573bd49c37b0.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/class.c')
0 files changed, 0 insertions, 0 deletions