diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-12-15 11:40:06 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-12-15 11:45:26 +0000 |
commit | cf4ed3b41594b6935a337fe0aaf8149eadf88751 (patch) | |
tree | 3d934dff704957a63747ace1eddd8cefa2503c25 /gcc | |
parent | 0feb237657c7c1f057754a8d8132a83adc63250e (diff) | |
download | gcc-cf4ed3b41594b6935a337fe0aaf8149eadf88751.zip gcc-cf4ed3b41594b6935a337fe0aaf8149eadf88751.tar.gz gcc-cf4ed3b41594b6935a337fe0aaf8149eadf88751.tar.bz2 |
libstdc++: Use init_priority attribute for Init object [PR 98108]
This causes the global objects that run the <iostream> 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 init_priority attribute.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions