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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-01-06
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
           Keywords|                            |wrong-code
         Resolution|INVALID                     |---
             Status|RESOLVED                    |ASSIGNED
     Ever confirmed|0                           |1

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #6)

Hmm, I don't see the ABI problem: wrappers are comdat/weak and prepared to
handle the absence of an init function, so TUs that either use or don't use
wrappers should be ABI-compatible, though of course you would need both to be
recompiled to get the currently specified behavior.

For performance, the one degradation I see is preventing the PR101786
optimization with extern constinit.

https://github.com/cplusplus/CWG/issues/210

Reply via email to