------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-18 17:53 ------- It has nothing to do with members of classes either, see the following code: static const double a = 1.0; static const double b = a+1.0;
double c() { return b; } We now longer inline 2.0 into c. -- What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.0/4.1 Regression] C++ |[4.0/4.1 Regression] C++ |front-end does not "inline" |front-end does not "inline" |the static const double |the static const double |members | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21089