------- Comment #1 from pcarlini at suse dot de 2007-09-27 10:10 ------- Indeed, in general you have to add:
const int A::anInt; At high optimization levels the the static int is "inlined" but this is just implementation defined behavior... -- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33569