PR c++/87137] GCC-8 Fix
authorNathan Sidwell <nathan@acm.org>
Wed, 5 Sep 2018 10:04:58 +0000 (10:04 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 5 Sep 2018 10:04:58 +0000 (10:04 +0000)
commitc0bb504785e223ce1b1f93a9bb7b114d49ea6d57
tree1564152cd9bc6dc7b9152e736ab8f3ce0ec15693
parent86e95f35c522136ee6ec8b648b2fd415360774bc
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.

From-SVN: r264119
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/pr87137.C [new file with mode: 0644]