public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6091] libstdc++: Remove init_priority attribute for Init object [PR 98108]
@ 2020-12-15 18:42 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2020-12-15 18:42 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:433703843b3fa76bcbba4f1fd782c7ef319b64a8

commit r11-6091-g433703843b3fa76bcbba4f1fd782c7ef319b64a8
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Dec 15 18:40:28 2020 +0000

    libstdc++: Remove init_priority attribute for Init object [PR 98108]
    
    This reverts commit cf4ed3b41594b6935a337fe0aaf8149eadf88751.
    
    libstdc++-v3/ChangeLog:
    
        PR libstdc++/98108
        * include/std/iostream (__ioinit): Remove init_priority attribute.

Diff:
---
 libstdc++-v3/include/std/iostream | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/libstdc++-v3/include/std/iostream b/libstdc++-v3/include/std/iostream
index 6b2f964f688..f988342b90a 100644
--- a/libstdc++-v3/include/std/iostream
+++ b/libstdc++-v3/include/std/iostream
@@ -70,16 +70,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 #endif
   //@}
 
-#if __has_attribute(__init_priority__)
-# define _GLIBCXX_INIT_PRIO(N) __attribute__((__init_priority__(N)))
-#else
-# define _GLIBCXX_INIT_PRIO(N)
-#endif
-
   // For construction of filebuffers for cout, cin, cerr, clog et. al.
-  static ios_base::Init __ioinit _GLIBCXX_INIT_PRIO(90);
-
-#undef _GLIBCXX_INIT_PRIO
+  static ios_base::Init __ioinit;
 
 _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-15 18:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 18:42 [gcc r11-6091] libstdc++: Remove init_priority attribute for Init object [PR 98108] Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).