Message ID | b77c9aa7-4b8d-e32c-cdcc-5d1fabee5fc3@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
On Feb 7, 2017, at 10:00 AM, Kelvin Nilsen <kdnilsen@linux.vnet.ibm.com> wrote: > > While these assumptions are valid with some optimization choices on some > architectures, these assumptions do not hold universally. > Is this ok for trunk? Ok. I'm working on the assumption that this doesn't fail too often. If it did, then I'd rather it be made portable, or list only system where it is known to work, or just be removed. I'd welcome someone trying their hand at making the test case portable...
Index: gcc/testsuite/g++.dg/cpp1y/vla-initlist1.C =================================================================== --- gcc/testsuite/g++.dg/cpp1y/vla-initlist1.C (revision 245156) +++ gcc/testsuite/g++.dg/cpp1y/vla-initlist1.C (working copy) @@ -1,4 +1,5 @@ // { dg-do run { target c++11 } } +// { dg-skip-if "power overwrites two slots of array i" { "power*-*-*" } } // { dg-options "-Wno-vla" } #include <initializer_list>