https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87137
--- Comment #14 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Wed Sep 5 10:42:59 2018 New Revision: 264123 URL: https://gcc.gnu.org/viewcvs?rev=264123&root=gcc&view=rev Log: [PR c++/87137] GCC-8 Fix https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01966.html PR c++/87137 * stor-layout.c (place_field): Scan forwards to check last bitfield when ms_bitfield_placement is in effect. gcc/testsuite/ * g++.dg/abi/pr87137.C: New. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/abi/pr87137.C Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/stor-layout.c branches/gcc-8-branch/gcc/testsuite/ChangeLog