[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-11-19 05:22 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2007-11-20 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-11-20 18:00 --- Testing a fix. -- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unass

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2007-11-22 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-11-22 14:06 --- Subject: Bug 34094 Author: jakub Date: Thu Nov 22 14:06:06 2007 New Revision: 130351 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130351 Log: PR c++/34094 * decl2.c (cp_write_global_declarati

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2007-12-11 08:48 --- Unassigning myself. -- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2007-12-12 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34094

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2007-12-18 Thread crowl at google dot com
--- Comment #12 from crowl at google dot com 2007-12-18 23:46 --- I think the last fix is incomplete: namespace { struct simple { static const int size = 4; }; template< typename T > struct generic { static const int size = 4; }; } struct instantiate { simple

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2007-12-18 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2007-12-18 23:52 --- (In reply to comment #12) > Note that the simple class is correct, but the template instance is not. Well it was reverted :). See PR 34238 for the reasons why. -- pinskia at gcc dot gnu dot org changed:

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2008-02-01 Thread jsm28 at gcc dot gnu dot org
--- Comment #14 from jsm28 at gcc dot gnu dot org 2008-02-01 16:55 --- 4.2.3 is being released now, changing milestones of open bugs to 4.2.4. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2008-02-10 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2008-02-10 Thread jason at gcc dot gnu dot org
--- Comment #15 from jason at gcc dot gnu dot org 2008-02-10 18:12 --- Subject: Bug 34094 Author: jason Date: Sun Feb 10 18:12:01 2008 New Revision: 132218 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132218 Log: PR c++/34094 * decl2.c (cp_write_global_declarat

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2008-02-11 Thread jason at gcc dot gnu dot org
--- Comment #17 from jason at gcc dot gnu dot org 2008-02-12 06:41 --- Fixed for 4.3.0 and 4.2.4. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2008-02-11 Thread jason at gcc dot gnu dot org
--- Comment #16 from jason at gcc dot gnu dot org 2008-02-12 06:38 --- Subject: Bug 34094 Author: jason Date: Tue Feb 12 06:37:34 2008 New Revision: 132254 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132254 Log: PR c++/34094 * decl2.c (cp_write_global_declarat

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2008-02-22 Thread pinskia at gcc dot gnu dot org
--- Comment #18 from pinskia at gcc dot gnu dot org 2008-02-22 17:50 --- g++.dg/other/anon5.C fails on i386-darwin: /var/tmp//ccpes1Oj.s:20:non-relocatable subtraction expression, "__ZN12_GLOBAL__N_11c1tE" minus "L001$pb"^M /var/tmp//ccpes1Oj.s:20:symbol: "__ZN12_GLOBAL__N_11c1t

[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

2008-02-22 Thread jason at gcc dot gnu dot org
--- Comment #19 from jason at gcc dot gnu dot org 2008-02-22 18:03 --- Seems Darwin doesn't track the source position of undefined symbol references. Feel free to improve the testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34094