On Thu, Oct 29, 2026 at 10:59:00PM +0530, Surya Kumari Jangala wrote:
> testsuite: Skip Wtrampolines-3.c for powerpc64 big endian target [PR125061]
> 
> The test Wtrampolines-3.c checks if trampolines are generated where
> required. However, in PowerPC64 BE ABI, there is no need for trampolines
> as function pointers are fat pointers. Hence, skip this test for
> PowerPC64 big endian target. Note that PowerPC 64-bit in little endian
> mode and PowerPC 32bit do not have fat pointers and hence trampolines
> are generated.
> 
> 2026-10-29  Surya Kumari Jangala  <[email protected]>

This is ok to be committed to the master branch.  Also after a burn-in
period you can backport it to active branches.

> gcc/testsuite/
>       PR target/125061
>       * gcc.dg/Wtrampolines-3.c: Skip powerpc64 big endian.
> ---
>  gcc/testsuite/gcc.dg/Wtrampolines-3.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/gcc/testsuite/gcc.dg/Wtrampolines-3.c 
> b/gcc/testsuite/gcc.dg/Wtrampolines-3.c
> index 43d6bcefcf8..abc8f5ea4d8 100644
> --- a/gcc/testsuite/gcc.dg/Wtrampolines-3.c
> +++ b/gcc/testsuite/gcc.dg/Wtrampolines-3.c
> @@ -2,6 +2,7 @@
>  /* { dg-require-effective-target trampolines } */
>  /* { dg-options "-Wtrampolines" } */
>  /* { dg-skip-if "" { *-*-darwin2* } } */
> +/* { dg-skip-if "trampolines not needed on ppc64" { powerpc64-*-* && lp64} } 
> */
>  
>  
>  // Test that we do generate trampolines where this is required.
> -- 
> 2.52.0
> 

-- 
Michael Meissner, IBM
PO Box 98, Ayer, Massachusetts, USA, 01432
email: [email protected]

Reply via email to