PR c++/87137] GCC-8 Fix
commitbc78ad77236f2db948401705f1a357fdbeb6c704
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Sep 2018 10:04:58 +0000 (5 10:04 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Sep 2018 10:04:58 +0000 (5 10:04 +0000)
tree1564152cd9bc6dc7b9152e736ab8f3ce0ec15693
parent79ec669d28640ac65eff51af71943d0ee5078d7a
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264119 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/pr87137.C [new file with mode: 0644]