This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/10799: Constructors of static classes are not called
- From: marwijn dot hessel at ict dot nl
- To: gcc-gnats at gcc dot gnu dot org
- Date: 15 May 2003 11:17:48 -0000
- Subject: other/10799: Constructors of static classes are not called
- Reply-to: marwijn dot hessel at ict dot nl
>Number: 10799
>Category: other
>Synopsis: Constructors of static classes are not called
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 15 11:26:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: M.W. Hessel
>Release: GCC v3.2.3 powerpc-eabi cross compiler
>Organization:
>Environment:
GCC v3.2.3 powerpc-eabi cross compiler
>Description:
Before function 'main' is call, all constructors of static classes should be called.
Somehow, this is not the case with all GCC v3.x versions.
>How-To-Repeat:
>Fix:
When GCC is migrated to v3.x, 'gcc-2.x\gcc\config\rs6000\eabi-ctors.c' was removed.
Restoring this file will solve the problem.
>Release-Note:
>Audit-Trail:
>Unformatted: