This is the mail archive of the 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]

[PING] [testsuite/C] check target supports large long double and fix Wconversion tests failures

Gabriel has approved the changes to the C testcases subject to some
minor modifications. However, the changes in lib/target-supports.exp
need to be approved by a testsuite maintainer. Thanks.


On 02/12/06, Manuel LÃpez-IbÃÃez <> wrote:
:ADDPATCH testsuite / C :

Some testcases recently committed fail for targets where char is
unsigned and/or sizeof (long double) == sizeof (double).

The following patch adds a { target large_long_double } check to
detect that the target supports large long doubles. It uses this
modifier to fix the failures in the testcases.

This was bootstrapped and regression tested for revision 119259:
* on i686-pc-linux-gnu with --enable-languages=all --enable-decimal-float
* on powerpc-eabisim (powerpc-simulator)   with --enable-languages=c,c++

02-12-2006 Manuel Lopez-Ibanez <>

    * lib/target-supports.exp (check_effective_target_large_long_double): New.
    * gcc.dg/Wconversion-real.c : Use it.
    * gcc.dg/Wconversion-integer.c : Fix for targets where char is unsigned.

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