diff options
author | Mark Mitchell <mark@codesourcery.com> | 2010-09-05 21:50:46 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2010-09-05 21:50:46 +0000 |
commit | 0a0b3574de3a5965eebb920d3da48771710ef94b (patch) | |
tree | cf50ecb46ce69121764e0c94a17d14428dabc011 /gcc/tree-tailcall.c | |
parent | 46d2b70cd7923180ef8869537fd5a2bd9a3de2f1 (diff) | |
download | gcc-0a0b3574de3a5965eebb920d3da48771710ef94b.zip gcc-0a0b3574de3a5965eebb920d3da48771710ef94b.tar.gz gcc-0a0b3574de3a5965eebb920d3da48771710ef94b.tar.bz2 |
c.opt (Wdouble-promotion): New.
* c.opt (Wdouble-promotion): New.
* doc/invoke.texi: Document -Wdouble-promotion.
* c-typeck.c (convert_arguments): Check for implicit conversions
from float to double.
(do_warn_double_promotion): New function.
(build_conditional_expr): Use it.
(build_binary_op): Likewise.
* gcc.dg/Wdouble-promotion.c: New.
From-SVN: r163884
Diffstat (limited to 'gcc/tree-tailcall.c')
0 files changed, 0 insertions, 0 deletions