Am 03.12.24 um 15:36 schrieb Jeff Law:

On 12/3/24 3:57 AM, Georg-Johann Lay wrote:
This patch skips some tests that don't work on avr.

Ok for trunk?

Johann

--

AVR: Skip some test cases that don't work for it.

gcc/testsuite/
     * gcc.c-torture/execute/ieee/cdivchkd.x: New file.
     * gcc.c-torture/execute/ieee/cdivchkf.x: New file.
     * gcc.dg/flex-array-counted-by.c: Skip on avr.
     * gcc.dg/fold-copysign-1.c [avr]: Add -mdouble=64.
Do you think there's more of these likely to pop up?  If so, then I'd recommend some kind of a test in target-supports.exp and isolate the avr-isms there.  If this is about it, then it's OK.

jeff

Yes, there are likely to be more.

Though there's not one single reason for why some tests are failing
on avr.  For example, one of the above tests failed because wchar_t
support is incomplete, an other one failed because ilogb is missing,
etc.

So I don't see what exactly such a dg-require test should test for.

But flex-array-counted-by.c would better do dg-require wchar which
is already there.

Johann

Reply via email to