This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15861] New: mudflap: need to emit static object registration before any c++ static constructor calls
- From: "fche at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2004 20:32:26 -0000
- Subject: [Bug c/15861] New: mudflap: need to emit static object registration before any c++ static constructor calls
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GROFF's ctypes frontend classes evoke a bug, where a static class constructor
(cset_init) makes use of static objects. The static objects (ctype mirror arrays)
were not yet registered with the runtime even as cset_init:: ctor was run. Bad
juju. Consider use of constructor priorities to get mudflap static object
registrations ahead of any c++ crud. Or something.
--
Summary: mudflap: need to emit static object registration before
any c++ static constructor calls
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: fche at redhat dot com
ReportedBy: fche at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15861