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]

g++ 2.95.2 does not allocate space for static objects in templated classes under HPUX-10.20 and AIX-4.3.2


g++ 2.95.x and the later egcs compilers do not allocate a symbol/space for
builtin typed static objects in templated classes. I have noticed the problem
under HPUX-10.20 and AIX-4.3.2 only. However, static methods and static const
member objects are allocated fine.

I have noticed the problem on gcc-2.95.x and starting at egcs-2.91.66. There was
no problem in earlier egcs compilers or gcc 2.8.x or earlier. I have submitted
at least two bug reports, but have not received a response or noticed that the
problem was fixed.

I have noticed the problem on the following platforms:
        (1) HPUX-10.20 g++-2.95.x and egcs-2.91.66 and above.
        (2) AIX-4.3.2 g++-2.95.x and egcs-2.91.66 and above.
The following platforms are fine:
        (1) Linux all versions that I have tested.
        (2) SunOS 5.6 and gcc.2.8.1.
        (3) HPUX-10.20 gcc-2.8.x and egcs-1.x prior to version 2.91.66.
        (4) AIX-4.3.2 and AIX-4.1.4 gcc-2.8.x and egcs-1.x prior to version
2.91.66.

The attatchment contains the informat requested by http://gcc.gnu.org/bugs.html
from a number of platforms. This archive contains a subdirectory with a
compile.log for each of the platforms. Notice that the Linux and SunOS platforms
compiled successfully. The HPUX and AIX platforms did not. Please evaluate.

-- 
Jose Santiago

Senior Systems Analyst - Scientific Systems
Komatsu Mining Systems - Peoria Operations
2300 N.E. Adams Street
P.O. Box 240
Peoria, IL 61650-0240

Voice:309-672-7325  Fax:309-672-7753
mailto:jose@haulpak.com

test.tgz


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