From 13a5e90f298a7d85fe48d4fa6924fa8a7bb6fb06 Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Wed, 12 Jun 2019 19:50:45 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2