Re: [committed] libstdc++: Use init_priority attribute for Init object [PR 98108]

2020-12-15 Thread Jonathan Wakely via Gcc-patches
On 15/12/20 11:47 +, Jonathan Wakely wrote: This causes the global objects that run the initialization code to be constructed earlier, which avoids some bugs in user code due to incorrectly relying on static initialization order. libstdc++-v3/ChangeLog: PR libstdc++/98108

[committed] libstdc++: Use init_priority attribute for Init object [PR 98108]

2020-12-15 Thread Jonathan Wakely via Gcc-patches
This causes the global objects that run the initialization code to be constructed earlier, which avoids some bugs in user code due to incorrectly relying on static initialization order. libstdc++-v3/ChangeLog: PR libstdc++/98108 * include/std/iostream (__ioinit): Add