https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88061
--- Comment #14 from Patrick Palka <ppalka at gcc dot gnu.org> --- (In reply to Patrick Palka from comment #13) > (In reply to Erez Strauss from comment #12) > > 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. Actually I think it's just another instance of PR116184?
