https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88061
--- Comment #12 from Erez Strauss <erstrauss at gmail dot com> --- https://compiler-explorer.com/z/qPG6x8efK See the same C++ code: - works with clang, - fails with gcc :-( It fails with gcc-trunk ... sections(".init_array") fails to add the needed attribute of the section. The bug should be re-opened.
