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:
parent
b6a43fe2c5
commit
5aa4ab4d62
4 changed files with 12 additions and 0 deletions
5
gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkd.x
Normal file
5
gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkd.x
Normal file
|
@ -0,0 +1,5 @@
|
|||
if [istarget "avr-*-*"] {
|
||||
# Floating-point support is incomplete.
|
||||
return 1
|
||||
}
|
||||
return 0
|
5
gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkf.x
Normal file
5
gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkf.x
Normal file
|
@ -0,0 +1,5 @@
|
|||
if [istarget "avr-*-*"] {
|
||||
# Floating-point support is incomplete.
|
||||
return 1
|
||||
}
|
||||
return 0
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue