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: Require wchar.
	* gcc.dg/fold-copysign-1.c [avr]: Add -mdouble=64.
This commit is contained in:
Georg-Johann Lay 2024-12-03 11:50:54 +01:00
parent b6a43fe2c5
commit 5aa4ab4d62
4 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,5 @@
if [istarget "avr-*-*"] {
# Floating-point support is incomplete.
return 1
}
return 0

View file

@ -0,0 +1,5 @@
if [istarget "avr-*-*"] {
# Floating-point support is incomplete.
return 1
}
return 0

View file

@ -1,6 +1,7 @@
/* Testing the correct usage of attribute counted_by. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-require-effective-target wchar } */
#include <wchar.h>

View file

@ -1,6 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-cddce1" } */
/* { dg-additional-options "-msse -mfpmath=sse" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-additional-options "-mdouble=64" { target { avr-*-* } } } */
double foo (double x)
{