This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r250787 - in /branches/gcc-7-branch/gcc: Change...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 01 Aug 2017 16:44:18 -0000
- Subject: r250787 - in /branches/gcc-7-branch/gcc: Change...
Author: jakub
Date: Tue Aug 1 16:44:17 2017
New Revision: 250787
URL: https://gcc.gnu.org/viewcvs?rev=250787&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr81622.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/rs6000/rs6000-c.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog