[Bug c++/71482] Add -Wglobal-constructors warning option

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat May 4 07:35:44 GMT 2024


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=2474,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=56009

--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #6)
> Another reason this warning might be wanted: name mangling and demangling of
> global constructors has been buggy for awhile now; see bug 54254

Some more bugs about global constructors/destructors that might lead one to
want this warning: bug 2474 and bug 56009


More information about the Gcc-bugs mailing list