float1.C
224 Bytes
-
re PR c++/21089 (C++ front-end does not "inline" the static const double) · 393e756d
PR c++/21089 * call.c (convert_like_real): Use decl_constant_value, not integral_constant_value. * init.c (constant_value_1): New function. (integral_constant_value): Use it. (decl_constant_value): Likewise. * typeck.c (decay_conversion): Use decl_constant_value, not integral_constant_value. PR c++/21089 * g++.dg/init/float1.C: New test. From-SVN: r105256
Mark Mitchell committed