Skip some tests that won't work for target AVR.
gcc/testsuite/ * lib/target-supports.exp (check_effective_target_lra) [avr]: Return 0. * gcc.dg/pr19402-2.c: Skip for avr. * gcc.dg/pr86124.c: Same. * gcc.dg/pr94291.c: Same. * gcc.dg/torture/builtin-complex-1.c: Same. * gcc.dg/torture/fp-int-convert-float32x-timode.c: Same. * gcc.dg/torture/fp-int-convert-float32x.c: Same. * gcc.dg/torture/fp-int-convert-float64-timode.c: Same. * gcc.dg/torture/fp-int-convert-float64.c: Same. * gcc.dg/torture/fp-int-convert-long-double.c: Same. * gcc.dg/torture/fp-int-convert-timode.c: Same. * c-c++-common/torture/builtin-convertvector-1.c: Same. * c-c++-common/torture/complex-sign-add.c: Same. * c-c++-common/torture/complex-sign-mixed-add.c: Same. * c-c++-common/torture/complex-sign-mixed-div.c: Same. * c-c++-common/torture/complex-sign-mixed-mul.c: Same. * c-c++-common/torture/complex-sign-mixed-sub.c: Same. * c-c++-common/torture/complex-sign-mul-minus-one.c: Same. * c-c++-common/torture/complex-sign-mul-one.c: Same. * c-c++-common/torture/complex-sign-mul.c: Same. * c-c++-common/torture/complex-sign-sub.c: Same.
This commit is contained in:
parent
776d94f0b1
commit
a8900fe481
21 changed files with 22 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
extern
|
||||
#ifdef __cplusplus
|
||||
"C"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
addition. */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-std=gnu99" { target c } } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include "complex-sign.h"
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-std=gnu99" { target c } } */
|
||||
/* { dg-skip-if "ptx can elide zero additions" { "nvptx-*-*" } { "-O0" } { "" } } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include "complex-sign.h"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
division. */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-std=gnu99" { target c } } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include "complex-sign.h"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
multiplication. */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-std=gnu99" { target c } } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include "complex-sign.h"
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-std=gnu99" { target c } } */
|
||||
/* { dg-skip-if "ptx can elide zero additions" { "nvptx-*-*" } { "-O0" } { "" } } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include "complex-sign.h"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
multiplication with -1.0 + 0.0i. */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-std=gnu99" { target c } } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include "complex-sign.h"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
multiplication with 1.0 + 0.0i. */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-std=gnu99" { target c } } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include "complex-sign.h"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
multiplication. */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-std=gnu99" { target c } } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include "complex-sign.h"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
subtraction. */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-std=gnu99" { target c } } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include "complex-sign.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-fno-inline -Os" } */
|
||||
/* { dg-skip-if "long double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
void abort(void);
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O -fipa-pta" } */
|
||||
/* { dg-skip-if "acessing data memory with program memory address" { "avr-*-*" } } */
|
||||
|
||||
extern void a (void);
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/* PR rtl-optimization/94291 */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-Og" } */
|
||||
/* { dg-skip-if "accessing data memory with program memory address" { "avr-*-*" } } */
|
||||
|
||||
unsigned a;
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
/* { dg-options "-std=c11 -pedantic-errors" } */
|
||||
/* { dg-require-effective-target inf } */
|
||||
/* { dg-add-options ieee } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
extern void exit (int);
|
||||
extern void abort (void);
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
/* { dg-options "" } */
|
||||
/* { dg-add-options float32x } */
|
||||
/* { dg-require-effective-target float32x_runtime } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#define __STDC_WANT_IEC_60559_TYPES_EXT__
|
||||
#include <float.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
/* { dg-options "" } */
|
||||
/* { dg-add-options float32x } */
|
||||
/* { dg-require-effective-target float32x_runtime } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#define __STDC_WANT_IEC_60559_TYPES_EXT__
|
||||
#include <float.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
/* { dg-options "" } */
|
||||
/* { dg-add-options float64 } */
|
||||
/* { dg-require-effective-target float64_runtime } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#define __STDC_WANT_IEC_60559_TYPES_EXT__
|
||||
#include <float.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
/* { dg-options "" } */
|
||||
/* { dg-add-options float64 } */
|
||||
/* { dg-require-effective-target float64_runtime } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#define __STDC_WANT_IEC_60559_TYPES_EXT__
|
||||
#include <float.h>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "" } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include <float.h>
|
||||
#include "fp-int-convert.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "" } */
|
||||
/* { dg-skip-if "double support is incomplete" { "avr-*-*" } } */
|
||||
|
||||
#include <float.h>
|
||||
#include "fp-int-convert.h"
|
||||
|
|
|
@ -12267,7 +12267,7 @@ proc check_effective_target_o_flag_in_section { } {
|
|||
# return 1 if LRA is supported.
|
||||
|
||||
proc check_effective_target_lra { } {
|
||||
if { [istarget hppa*-*-*] || [istarget cris-*-*] } {
|
||||
if { [istarget hppa*-*-*] || [istarget cris-*-*] || [istarget avr-*-*] } {
|
||||
return 0
|
||||
}
|
||||
return 1
|
||||
|
|
Loading…
Add table
Reference in a new issue