Re: PATCH to fix g++.dg/cpp0x/fallthrough2.C

2016-09-29 Thread Jason Merrill
OK. On Thu, Sep 29, 2016 at 9:26 AM, Marek Polacek wrote: > On Thu, Sep 29, 2016 at 03:20:26PM +0200, Jakub Jelinek wrote: >> Shouldn't that be { target c++14_down } instead? > > Didn't know about that. Thus: > > 2016-09-29 Marek Polacek > > * g++.dg/cpp0x/fallthrough2.C: Use the c++1

Re: PATCH to fix g++.dg/cpp0x/fallthrough2.C

2016-09-29 Thread Marek Polacek
On Thu, Sep 29, 2016 at 03:20:26PM +0200, Jakub Jelinek wrote: > Shouldn't that be { target c++14_down } instead? Didn't know about that. Thus: 2016-09-29 Marek Polacek * g++.dg/cpp0x/fallthrough2.C: Use the c++14_down target. diff --git gcc/testsuite/g++.dg/cpp0x/fallthrough2.C gc

Re: PATCH to fix g++.dg/cpp0x/fallthrough2.C

2016-09-29 Thread Jakub Jelinek
On Thu, Sep 29, 2016 at 03:13:57PM +0200, Marek Polacek wrote: > This test failed with make check-c++1z because in C++1z we don't get the > expected message. > > Bootstrapped/regtested on x86_64-linux, applying to trunk. > > 2016-09-29 Marek Polacek > > * g++.dg/cpp0x/fallthrough2.C: On

PATCH to fix g++.dg/cpp0x/fallthrough2.C

2016-09-29 Thread Marek Polacek
This test failed with make check-c++1z because in C++1z we don't get the expected message. Bootstrapped/regtested on x86_64-linux, applying to trunk. 2016-09-29 Marek Polacek * g++.dg/cpp0x/fallthrough2.C: Only expect the warning in C++11 and C++14. diff --git gcc/testsuite/g