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]

[Bug c++/11905] New: Infinite loop at static objects initialisation.


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11905

           Summary: Infinite loop at static objects initialisation.
           Product: gcc
           Version: 2.96 (redhat)
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: benoit dot barbeau at silvaco dot com
                CC: gcc-bugs at gcc dot gnu dot org

Plateform : Red Hat Linux 7.1.
Depending on the order the .o files are linked this exemple leads to an infinite
loop before main begins, or it works fine.

On other plateforms it does not works the same :
Solaris(SC6) or HP-UX(aCC) : the order which doesn't work on Linux (gcc) works
fine, the other one leads to a core dump. This is easier to debug than an
infinite Loop.
Windows(NT with VisualC++6.0 and some "Service Packs") : both orders works fine.


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