This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH for c++/70735 (static locals and generic lambdas)


On Tue, May 24, 2016 at 04:28:51PM -0700, Mike Stump wrote:
> On May 24, 2016, at 3:35 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> > On 23/05/2016 21:01, Jason Merrill wrote:
> >> +// PR c++/70735
> >> +// { dg-do run { target c++1y } }
> >> +
> > [...]
> >> @@ -0,0 +1,19 @@
> >> +// PR c++/70735
> >> +// { dg-do run { target c++1y } }
> > I'm changing these c++1y to c++14.
> 
> Thanks.  :-)  
> 
> 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.)

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" }
 
 struct arr {
     constexpr arr() : elem() { }


	Marek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]