[PATCH v2] PR71482: Add -Wglobal-constructors

2019-06-01 Thread Sean Gillespie
on x86-64 linux, new tests passing. gcc/ChangeLog: 2019-05-28 Sean Gillespie PR c++/71482 * doc/invoke.texi: Add new flag -Wglobal-constructors. gcc/c-family/ChangeLog: 2019-05-28 Sean Gillespie PR c++/71482 * c.opt: Add new flag -Wglobal-constructor

Re: [PATCH] PR71482: Add -Wglobal-constructors

2019-05-31 Thread Sean Gillespie
On Fri, May 31, 2019 at 9:30 AM Martin Sebor wrote: > > On 5/31/19 10:12 AM, Sean Gillespie wrote: > > On Thu, May 30, 2019 at 4:28 PM Martin Sebor wrote: > >> > >> On 5/28/19 3:30 PM, Sean Gillespie wrote: > >>> This adds a new warning, -Wglobal-cons

Re: [PATCH] PR71482: Add -Wglobal-constructors

2019-05-31 Thread Sean Gillespie
On Thu, May 30, 2019 at 4:28 PM Martin Sebor wrote: > > On 5/28/19 3:30 PM, Sean Gillespie wrote: > > This adds a new warning, -Wglobal-constructors, that warns whenever a > > decl requires a global constructor or destructor. This new warning fires > > whenever a thread_

Re: [PATCH] PR71482: Add -Wglobal-constructors

2019-05-30 Thread Sean Gillespie
ed one. I'll go ahead and do it regardless. > > gcc/ChangeLog: > > > > 2019-05-28 Sean Gillespie > > > > * doc/invoke.texi: Add new flag -Wglobal-constructors. > > > > gcc/c-family/ChangeLog: > > > > 2019-05-28 Sean Gillespie &g

[PATCH] PR71482: Add -Wglobal-constructors

2019-05-28 Thread Sean Gillespie
86-64 linux, new tests passing. gcc/ChangeLog: 2019-05-28 Sean Gillespie * doc/invoke.texi: Add new flag -Wglobal-constructors. gcc/c-family/ChangeLog: 2019-05-28 Sean Gillespie * c.opt: Add new flag -Wglobal-constructors. gcc/cp/ChangeLog: 2019-05-28 Sean Gill