This is the mail archive of the
mailing list for the GCC project.
Re: [testsuite/C] check target supports large long double and fix Wconversion tests failures
On 02 Dec 2006 16:05:42 +0100, Gabriel Dos Reis
There is an important point, however: If with -fsigned-char, the
resulting value of the literal is negative, them we have portability
problem. And we better detect that. Note that the test here is about
testing a literal character, not just a random integer.
Consequently, I think Jakub's suggestion still holds.
Would you approve the patch if I make that change?
(BTW, with -fsigned-char, the value of the literal is negative even if
the target's char type is unsigned. I don't know if this is the
expected behaviour or not. But that has nothing to do with this