This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C frontend] Wtraditional / Wconversion and decimal float


On 14/08/06, Janis Johnson <janis187@us.ibm.com> wrote:
It makes sense to have warnings about calls where default argument
promotions would have made a difference, but not for the calls in
gcc.dg/dfp/Wconversion-2.c.


But there are no default promotions for decimal float, as you say in your previous mail, so the default promotion could never make a difference whenever the value passed as argument or the expected type is a decimal float type. Am I right here?

Does this mean that I should remove the corresponding code from
gcc/c-typeck.c:convert_arguments() and also remove
gcc.dg/dfp/Wconversion-2.c ?

Sorry for insist, I would not like to misunderstand your answer.

Cheers,

Manuel.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]