On Thu, Mar 05, 2020 at 02:40:16PM -0500, Marek Polacek wrote: > Bootstrapped/regtested on x86_64-linux, ok for trunk? I verified the > fix on the attached testcase using a --target=armv7hl-linux-gnueabi cross, > but haven't actually run the testsuite.
FYI, also successfully bootstrapped/regtested on armv7hl-linux-gnueabi (--enable-checking=release though). > PR c++/94050 - ABI issue with alignas on armv7hl. > * class.c (layout_class_type): Don't replace a class's > CLASSTYPE_AS_BASE if it is CLASSTYPE_USER_ALIGN. > > * g++.dg/abi/align3.C: New test. Jakub