https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70796
Bug ID: 70796 Summary: [DR 1030] Initialization order with braced-init-lists still broken Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rs2740 at gmail dot com Target Milestone: --- The following modified test case (replacing postfix ++ with prefix and adjusting the expected values accordingly) from PR61382 still aborts on Wandbox (http://melpon.org/wandbox/permlink/IQojTl16DtIxCd2M) and also gives a bogus -Wsequence-point warning: struct A { int i,j; A(int i,int j):i(i),j(j){} }; int main() { int i = 0; A a{++i, ++i}; if (a.i != 1 || a.j != 2) __builtin_abort(); }