Message ID | 20160525104031.GA17920@redhat.com |
---|---|
State | New |
Headers | show |
On May 25, 2016, at 3:40 AM, Marek Polacek <polacek@redhat.com> wrote: > On Tue, May 24, 2016 at 04:28:51PM -0700, Mike Stump wrote: >> I think: >> >> g++.dg/pr65295.C >> >> can be updated to use c++14 as well. It is the last one that needs updating. > > Thus the following. (It'd be wrong to change cplusplus_1y.C it seems.) I think it is wrong to change cplusplus_1y.C. But I do think it would be good to duplicate that test and check 14 as well. I'll pre-appose that, someone wants to do the edit and check it and check it in. > 2016-05-25 Marek Polacek <polacek@redhat.com> > > * g++.dg/pr65295.C: Use target c++14. > > diff --git gcc/testsuite/g++.dg/pr65295.C gcc/testsuite/g++.dg/pr65295.C > index c189ee1..2fa4b05 100644 > --- gcc/testsuite/g++.dg/pr65295.C > +++ gcc/testsuite/g++.dg/pr65295.C > @@ -1,5 +1,5 @@ > // { dg-do compile } > -// { dg-options "-std=c++1y" } > +// { dg-options "-std=c++14" } Ok.
diff --git gcc/testsuite/g++.dg/pr65295.C gcc/testsuite/g++.dg/pr65295.C index c189ee1..2fa4b05 100644 --- gcc/testsuite/g++.dg/pr65295.C +++ gcc/testsuite/g++.dg/pr65295.C @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-std=c++1y" } +// { dg-options "-std=c++14" } struct arr { constexpr arr() : elem() { }