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-Tag: upstream/12.2.0~23995 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13a5e90f298a7d85fe48d4fa6924fa8a7bb6fb06;p=platform%2Fupstream%2Fgcc.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 598e5dd..5938ebe 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 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. * gcc.dg/tree-ssa/reassoc-33.c: Ditto. * gcc.dg/tree-ssa/reassoc-34.c: Ditto. diff --git a/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C b/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C index 3417358..bda7960 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