Re: lambda-switch regression

2017-11-15 Thread Martin Sebor
On 11/15/2017 10:38 AM, David Malcolm wrote: On Wed, 2017-11-15 at 12:25 -0500, David Malcolm wrote: On Wed, 2017-11-15 at 12:06 -0500, David Malcolm wrote: On Wed, 2017-11-15 at 08:03 -0500, Nathan Sidwell wrote: g++.dg/lambda/lambda-switch.C Has recently regressed. g++.dg/cpp0x/lambda/lamb

Re: lambda-switch regression

2017-11-15 Thread David Malcolm
On Wed, 2017-11-15 at 12:25 -0500, David Malcolm wrote: > On Wed, 2017-11-15 at 12:06 -0500, David Malcolm wrote: > > On Wed, 2017-11-15 at 08:03 -0500, Nathan Sidwell wrote: > > > g++.dg/lambda/lambda-switch.C Has recently regressed. > > > > g++.dg/cpp0x/lambda/lambda-switch.C > > > > > It app

Re: lambda-switch regression

2017-11-15 Thread Martin Sebor
On 11/15/2017 06:03 AM, Nathan Sidwell wrote: g++.dg/lambda/lambda-switch.C Has recently regressed. It appears the location of a warning message has moved. l = []()// { dg-warning "statement will never be executed" } { case 3:// { dg-error "case" }

Re: lambda-switch regression

2017-11-15 Thread David Malcolm
On Wed, 2017-11-15 at 12:06 -0500, David Malcolm wrote: > On Wed, 2017-11-15 at 08:03 -0500, Nathan Sidwell wrote: > > g++.dg/lambda/lambda-switch.C Has recently regressed. > > g++.dg/cpp0x/lambda/lambda-switch.C > > > It appears the > > location of a warning message has moved. > > > >

Re: lambda-switch regression

2017-11-15 Thread David Malcolm
On Wed, 2017-11-15 at 08:03 -0500, Nathan Sidwell wrote: > g++.dg/lambda/lambda-switch.C Has recently regressed. g++.dg/cpp0x/lambda/lambda-switch.C > It appears the > location of a warning message has moved. > > l = []() // { dg-warning "statement will never > be execute

lambda-switch regression

2017-11-15 Thread Nathan Sidwell
g++.dg/lambda/lambda-switch.C Has recently regressed. It appears the location of a warning message has moved. l = []() // { dg-warning "statement will never be executed" } { case 3: // { dg-error "case" } break;