re PR objc++/23640 (obj-c++ does not call __objc_exec_class for the classes)
authorAndrew Pinski <pinskia@physics.uc.edu>
Wed, 31 Aug 2005 13:46:06 +0000 (13:46 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Wed, 31 Aug 2005 13:46:06 +0000 (06:46 -0700)
commit793244425118c9eda89e63ef666e2bd67a1692d7
treea2b11b5bf0e81f044ac467f6c07aa374c52d7b3d
parentee5426a488f8b28099c6f462aef34b157182d2ac
re PR objc++/23640 (obj-c++ does not call __objc_exec_class for the classes)

2005-08-31  Andrew Pinski  <pinskia@physics.uc.edu>

        PR obj-c++/23640
        * decl2.c (cp_finish_file): If this is obj-c++ and we need a static
        init, call generate_ctor_or_dtor_function.

2005-08-31  Andrew Pinski  <pinskia@physics.uc.edu>

        PR obj-c++/23640
        * obj-c++.dg/gnu-runtime-3.mm: New test.

From-SVN: r103673
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/gnu-runtime-3.mm [new file with mode: 0644]