r250785 - in /trunk/gcc: ChangeLog config/rs600...

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


Author: jakub
Date: Tue Aug  1 16:34:31 2017
New Revision: 250785

URL: https://gcc.gnu.org/viewcvs?rev=250785&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:
    trunk/gcc/testsuite/gcc.target/powerpc/pr81622.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000-c.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list