r250787 - in /branches/gcc-7-branch/gcc: Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Tue Aug 1 16:44:00 GMT 2017


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



More information about the Gcc-cvs mailing list