diff options
author | Mark Mitchell <mark@codesourcery.com> | 2010-09-06 17:48:53 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2010-09-06 17:48:53 +0000 |
commit | c5ee1358b94d1dc84376932d65d407d928289d30 (patch) | |
tree | 8d764bed307ee0730b51e4687fd0373d0bbc7c5d /gcc/fortran/dump-parse-tree.c | |
parent | c28350ab29cf774843ebdefc3f62cd6b203e4489 (diff) | |
download | gcc-c5ee1358b94d1dc84376932d65d407d928289d30.zip gcc-c5ee1358b94d1dc84376932d65d407d928289d30.tar.gz gcc-c5ee1358b94d1dc84376932d65d407d928289d30.tar.bz2 |
c-common.h (do_warn_double_promotion): Declare.
* 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
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
0 files changed, 0 insertions, 0 deletions