https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62196
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to baoshan from comment #0) > x[vmask] = vm6; This program has a bug here. The statement above will assign the 6 elements of vm6 to the elements of x selected by the mask. But the mask only has 3 true elements. You cannot assign 6 elements from vm6 to 3 elements of x.