From: Dimitar Dimitrov Date: Wed, 12 Jun 2019 19:44:21 +0000 (+0000) Subject: testsuite: Remove PRU from test cases requiring hosted environment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6dfa4ad4399b2845a796eec3ab52df60d5e99e66;p=gcc.git testsuite: Remove PRU from test cases requiring hosted environment gcc/testsuite/ChangeLog: 2019-06-12 Dimitar Dimitrov * gcc.c-torture/execute/20101011-1.c: Define DO_TEST to 0 for PRU. * gcc.dg/20020312-2.c: No PIC register for PRU. From-SVN: r272208 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b8970c31ff5..5ec91370301 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-06-12 Dimitar Dimitrov + + * gcc.c-torture/execute/20101011-1.c: Define DO_TEST to 0 for PRU. + * gcc.dg/20020312-2.c: No PIC register for PRU. + 2019-06-12 Dimitar Dimitrov * lib/gcc-dg.exp: Filter unsupported features in PRU's TI ABI mode. diff --git a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c index d2beeb52a0e..772648dd684 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c @@ -103,6 +103,9 @@ __aeabi_idiv0 (int return_value) #elif defined (__or1k__) /* On OpenRISC division by zero does not trap. */ # define DO_TEST 0 +#elif defined (__pru__) +/* There isn't even a signal function. */ +# define DO_TEST 0 #else # define DO_TEST 1 #endif diff --git a/gcc/testsuite/gcc.dg/20020312-2.c b/gcc/testsuite/gcc.dg/20020312-2.c index c584d35908e..dae3599563a 100644 --- a/gcc/testsuite/gcc.dg/20020312-2.c +++ b/gcc/testsuite/gcc.dg/20020312-2.c @@ -121,6 +121,8 @@ extern void abort (void); /* No pic register. */ #elif defined (__AMDGCN__) /* No pic register. */ +#elif defined(__PRU__) +/* No pic register. */ #else # error "Modify the test for your target." #endif