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:
parent
60af2db180
commit
cce4471bb4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue