projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60af2db
)
testsuite/100452 - fix g++.dg/vect/slp-pr99971.cc
author
Richard Biener
<rguenther@suse.de>
Mon, 10 May 2021 11:22:03 +0000
(13:22 +0200)
committer
Richard Biener
<rguenther@suse.de>
Mon, 10 May 2021 11:23:33 +0000
(13:23 +0200)
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.
gcc/testsuite/g++.dg/vect/slp-pr99971.cc
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/vect/slp-pr99971.cc
b/gcc/testsuite/g++.dg/vect/slp-pr99971.cc
index
bec6418
..
cf22b33
100644
(file)
--- a/
gcc/testsuite/g++.dg/vect/slp-pr99971.cc
+++ b/
gcc/testsuite/g++.dg/vect/slp-pr99971.cc
@@
-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)
{