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

2006-08-15 Thread Manuel López-Ibáñez
On 14/08/06, Manuel López-Ibáñez <[EMAIL PROTECTED]> wrote: 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 ? add also the testcase gcc.dg/dfp/wtr-conversion-1.c to the list.

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

2006-08-14 Thread Manuel López-Ibáñez
On 14/08/06, Janis Johnson <[EMAIL PROTECTED]> 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 previ

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

2006-08-14 Thread Janis Johnson
On Mon, Aug 14, 2006 at 12:45:55PM -0700, Janis Johnson wrote: > On Mon, Aug 14, 2006 at 06:30:26PM +0100, Manuel López-Ibáñez wrote: > > 3) The above question may not have a sensible answer. It may be either > > because decimal float "is a GCC extensions and thus not relevant to > > traditional C

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

2006-08-14 Thread Janis Johnson
On Mon, Aug 14, 2006 at 06:30:26PM +0100, Manuel López-Ibáñez wrote: > Dear all, > > Wtraditional warns for "Conversions by prototypes between > fixed/floating point values and vice versa. The absence > of these prototypes when compiling with traditional C would cause > serious prob

[C frontend] Wtraditional / Wconversion and decimal float

2006-08-14 Thread Manuel López-Ibáñez
Dear all, Wtraditional warns for "Conversions by prototypes between fixed/floating point values and vice versa. The absence of these prototypes when compiling with traditional C would cause serious problems. " In addition, the following program: void ffloat(float x); void h(void