Re: [PATCH C++] document order of C++ ctors and attribute constructor is unspecified

2017-03-16 Thread Jason Merrill
On Thu, Mar 16, 2017 at 11:22 AM, Martin Sebor wrote: > On 03/15/2017 10:49 PM, Jason Merrill wrote: >> >> On Wed, Mar 15, 2017 at 6:59 PM, Martin Sebor wrote: >>> >>> In bug 52477 - Wrong initialization order? attribute constructor >>> vs static data access, the reporter expects C++ objects wit

Re: [PATCH C++] document order of C++ ctors and attribute constructor is unspecified

2017-03-16 Thread Martin Sebor
On 03/15/2017 10:49 PM, Jason Merrill wrote: On Wed, Mar 15, 2017 at 6:59 PM, Martin Sebor wrote: In bug 52477 - Wrong initialization order? attribute constructor vs static data access, the reporter expects C++ objects with static storage duration to have their ctors called in the same order a

Re: [PATCH C++] document order of C++ ctors and attribute constructor is unspecified

2017-03-15 Thread Jason Merrill
On Wed, Mar 15, 2017 at 6:59 PM, Martin Sebor wrote: > In bug 52477 - Wrong initialization order? attribute constructor > vs static data access, the reporter expects C++ objects with static > storage duration to have their ctors called in the same order as > those of functions declared with attri

[PATCH C++] document order of C++ ctors and attribute constructor is unspecified

2017-03-15 Thread Martin Sebor
In bug 52477 - Wrong initialization order? attribute constructor vs static data access, the reporter expects C++ objects with static storage duration to have their ctors called in the same order as those of functions declared with attribute constructor interleaved with them. In his comment on th