The following reply was made to PR c++/10112; it has been noted by GNATS. From: "Giovanni Bajo" To: "Gabriel Dos Reis" Cc: "Wolfgang Bangerth" , , , , Subject: Re: c++/10112: static data member is not correctly initialized Date: Tue, 18 Mar 2003 03:01:11 +0100 ----- Original Message ----- From: "Gabriel Dos Reis" To: "Giovanni Bajo" Cc: "Wolfgang Bangerth" ; ; ; ; Sent: Tuesday, March 18, 2003 2:46 AM Subject: Re: c++/10112: static data member is not correctly initialized >From which parts of the standard did read that? I was reading §3.6.2p1 <> in this way. Anyway, the bug is about the order of initialization between two static data members. Since instantiation of class templates does not affect initialization of static data members (as per quoted paragraph), even if you instantiate the class templates before inizializing the data members, you should respect the order of inizialization of the data members. It seems to me that GCC is initializing the static data members because the templates are instantiated, but this violates §14.7.1p8. Giovanni Bajo