tbp <tbp...@gmail.com> writes: > On Tue, Sep 14, 2010 at 7:14 PM, Ian Lance Taylor <i...@google.com> wrote: >> What is it that you want? > I'd like to have a warning for when a value of type float is > implicitly promoted to double, for performance reasons (on x86).
Let me put it a different way: what is it that you want, expressed in terms of C/C++ code? What should the compiler be warning about? > -Wunsuffixed-float-constants, unavailable in C++. It seems that this could be added to C++ easily enough. Ian