------- Comment #2 from pinskia at gcc dot gnu dot org 2008-01-18 22:04 ------- static const int i = 1;
i is not a constant integal expression in C. It is in C++. With optimization, we "inline" the value. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34832