testsuite: Mark that PRU uses all function pointer bits

gcc/testsuite/ChangeLog:

2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>

	* g++.old-deja/g++.abi/ptrmem.C: Add PRU to list.

From-SVN: r272211
This commit is contained in:
Dimitar Dimitrov 2019-06-12 19:50:45 +00:00 committed by Dimitar Dimitrov
parent 047b36a317
commit 13a5e90f29
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
* g++.old-deja/g++.abi/ptrmem.C: Add PRU to list.
2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
* gcc.dg/tree-ssa/20040204-1.c: XFAIL on pru.

View File

@ -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