This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14826] [AIX] Static Template members having different values in different instantiations of a template with the same arguments
- From: "gcc at pmade dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2004 19:51:09 -0000
- Subject: [Bug target/14826] [AIX] Static Template members having different values in different instantiations of a template with the same arguments
- References: <20040402205341.14826.gcaglar@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gcc at pmade dot org 2004-05-05 19:51 -------
I have attached a shell script that you can use instead of g++ to correctly
build my test case. Changes need to be made to each assembly file generated by
GCC. The assembly from b.cxx and c.cxx needs to be changed so that the static
symbol is placed into the table of contents with [RW]. The assembly from
main.cxx needs to be changed so that the static symbol is marked as .globl
instead of .weak.
As I understand from David, this is not an easy fix in GCC, and getting IBM to
fix it would not be any easier.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14826