https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot 
gnu.org
   Last reconfirmed|                            |2021-05-07
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, I'm not sure if it works, but at least the FE accepts it.  Does

diff --git a/gcc/testsuite/g++.dg/vect/slp-pr99971.cc
b/gcc/testsuite/g++.dg/vect/slp-pr99971.cc
index bec6418d4e8..cf22b3331d2 100644
--- 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)
 {

fix it on sparc?  At least on x86 the A arguments in test now then have
user-alignment of 128 ...

Can you test that on sparc?  Feel free to install as well.

Reply via email to