This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/15861] New: mudflap: need to emit static object registration before any c++ static constructor calls


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]