From: Dimitar Dimitrov Date: Wed, 12 Jun 2019 19:50:45 +0000 (+0000) Subject: testsuite: Mark that PRU uses all function pointer bits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13a5e90f298a7d85fe48d4fa6924fa8a7bb6fb06;p=gcc.git testsuite: Mark that PRU uses all function pointer bits gcc/testsuite/ChangeLog: 2019-06-12 Dimitar Dimitrov * g++.old-deja/g++.abi/ptrmem.C: Add PRU to list. From-SVN: r272211 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 598e5dd2ad6..5938ebea9d8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-06-12 Dimitar Dimitrov + + * g++.old-deja/g++.abi/ptrmem.C: Add PRU to list. + 2019-06-12 Dimitar Dimitrov * gcc.dg/tree-ssa/20040204-1.c: XFAIL on pru. diff --git a/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C b/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C index 341735879c5..bda7960d8a2 100644 --- a/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C +++ b/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C @@ -7,7 +7,7 @@ function. However, some platforms use all bits to encode a function pointer. Such platforms use the lowest bit of the delta, that is shifted left by one bit. */ -#if defined __MN10300__ || defined __SH5__ || defined __arm__ || defined __thumb__ || defined __mips__ || defined __aarch64__ +#if defined __MN10300__ || defined __SH5__ || defined __arm__ || defined __thumb__ || defined __mips__ || defined __aarch64__ || defined __PRU__ #define ADJUST_PTRFN(func, virt) ((void (*)())(func)) #define ADJUST_DELTA(delta, virt) (((delta) << 1) + !!(virt)) #else