testsuite/100452 - fix g++.dg/vect/slp-pr99971.cc

This makes sure to align data so targets without unaligned
accesses can vectorize it.

2021-05-10  Richard Biener  <rguenther@suse.de>

	PR testsuite/100452
	* g++.dg/vect/slp-pr99971.cc: Align data.
This commit is contained in:
Richard Biener 2021-05-10 13:22:03 +02:00
parent 60af2db180
commit cce4471bb4

View file

@ -22,7 +22,7 @@ struct A
d -= that.d;
return *this;
}
};
} __attribute__((aligned(__BIGGEST_ALIGNMENT__)));
void test(A& x, A const& y1, A const& y2)
{