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]

other/10799: Constructors of static classes are not called


>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:


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