In convert_arguments I think you should be comparing TYPE_MAIN_VARIANT
(valtype) against double_type_node and long_double_type_node, rather than
just valtype.
This is PR c/35649 (so include that number in your ChangeLog entry and
close that bug as fixed).
--
Joseph S. Myers
jos...@codesourcer
On 08/26/2013 09:07 AM, Joern Rennecke wrote:
> 2013-05-14 Joern Rennecke
>
> * c-typeck.c (c_common_type): Prefer double_type_node over
> other REAL_TYPE types with the same precision.
> (convert_arguments): Likewise.
Ok.
r~