call.c
243 KB
-
c-common.h (do_warn_double_promotion): Declare. · c5ee1358
* c-common.h (do_warn_double_promotion): Declare. * c-common.c (do_warn_double_promotion): Define. * c-typeck.c (do_warn_double_promotion): Remove. * doc/invoke.texi (-Wdouble-promotion): Note available for C++ and Objective-C++ too. * typeck.c (cp_build_binary_op): Call do_warn_double_promotion. * call.c (build_conditional_expr): Likewise. (convert_arg_to_ellipsis): Likewise. * g++.dg/warn/Wdouble-promotion.C: New. From-SVN: r163925
Mark Mitchell committed