decl2.c (generate_ctor_or_dtor_function): Avoid expanding a global static constructor...
authorRoger Sayle <roger@eyesopen.com>
Wed, 11 Jun 2003 22:29:41 +0000 (22:29 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Wed, 11 Jun 2003 22:29:41 +0000 (22:29 +0000)
commit35b4a5768f170959dbe9258b6ea5abf7b6d7c144
tree35e1c41a4ecab8f1106a32bf68cea6827d9368ae
parent7fb26bb00173af1f41d3df4b5a7a43be9e3f12db
decl2.c (generate_ctor_or_dtor_function): Avoid expanding a global static constructor/destructor if it will be empty, i.e.

* decl2.c (generate_ctor_or_dtor_function): Avoid expanding a
global static constructor/destructor if it will be empty, i.e.
either doesn't call any ctors/dtors or only calls pure or const
ctors/dtors.

From-SVN: r67800
gcc/cp/ChangeLog
gcc/cp/decl2.c