[Bug modula2/108183] wrong code generated in the modula2 scaffold mechanism

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 31 12:54:20 GMT 2022


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

--- Comment #16 from Iain Sandoe <iains at gcc dot gnu.org> ---
Created attachment 54170
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54170&action=edit
Patch registration constructors

This modifies the registration CTORs that are currently defined in C++ to be
defined as 'extern "C"' and registered to be run at program load time.

This is as described in comments #14 and 15.


More information about the Gcc-bugs mailing list