https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119029

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
BTW, why is this [15 regression] and P1?  Doesn't GCC 14 have the same thing?
  // For construction of filebuffers for cout, cin, cerr, clog et. al.
  // When the init_priority attribute is usable, we do this initialization
  // in the compiled library instead (src/c++98/globals_io.cc).
#if !(_GLIBCXX_USE_INIT_PRIORITY_ATTRIBUTE \
      && __has_attribute(__init_priority__))
  static ios_base::Init __ioinit;
#elif defined(_GLIBCXX_SYMVER_GNU) && defined(__ELF__)
  __extension__ __asm (".globl _ZSt21ios_base_library_initv");
#endif
in iostream and
#if defined(_GLIBCXX_SYMVER_GNU) && defined(__ELF__)
#pragma GCC diagnostic ignored "-Wattribute-alias"

  void ios_base_library_init (void)
  __attribute__((alias ("_ZNSt8ios_base4InitC1Ev")));
#endif
in ios_init.cc?

Reply via email to