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

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


: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 <manu@gcc.gnu.org>


   * 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.

Attachment: powerpc-wconversion.diff
Description: Text document


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