------- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-14 09:13 ------- It's probably still the same issue - in initializers we only fold builtin functions, where the std:: variants are not recognized as such (they are wrapper functions around the builtin). So this gets folded only after inlining those, but then the initializer is already no longer marked as constant, but initialized at runtime (with constants).
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34864