Summary: | [4.1 regression] static const member in template class leads to multiple definitions at linktime | ||
---|---|---|---|
Product: | gcc | Reporter: | Randolph Chung <tausq> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bangerth, dave, debian-gcc, fang, gcc-bugs, lidaobing, mark, matz, peter.soetens, pinskia, pintaric, rguenth, tausq, tbm |
Priority: | P3 | ||
Version: | 4.1.2 | ||
Target Milestone: | --- | ||
Host: | hppa-unknown-linux | Target: | hppa-unknown-linux |
Build: | hppa-unknown-linux | Known to work: | 3.4.6 4.0.4 |
Known to fail: | 4.1.2 | Last reconfirmed: | |
Attachments: | testcase |
Description
Randolph Chung
2006-08-06 10:05:50 UTC
Created attachment 12026 [details]
testcase
This has been fixed already, both in GCC's SVN and in Debian's gcc-4.1 package. The reason you see it on HPPA is that recent version of gcc-4.1 in Debian don't build. This bug was fixed in -9 but hppa still has -8. Can you investigate why recent gcc-4.1 in Debian doesn't compile on HPPA? gcc-4.1 (4.1.1-9) unstable; urgency=low * Update to SVN 20060715. - Fix PR c++/28016, do not emit uninstantiated static data members. Closes: #373895, #376871. *** This bug has been marked as a duplicate of 28016 *** |