[committed] rs6000: Add int128 target check to pr101129.c (PR101531)

Message ID dd2ee754-32ae-e631-36e9-e8f705c839a3@linux.ibm.com
State New
Headers show
Series
  • [committed] rs6000: Add int128 target check to pr101129.c (PR101531)
Related show

Commit Message

Ian Lance Taylor via Gcc-patches July 21, 2021, 6:43 p.m.
Hi,

PR101531 observes that gcc.target/powerpc/pr191129.c fails on 32-bit 
targets.  I overlooked that the OP's test case has an __int128 
dependency.  This patch fixes the obvious oversight. Committed as 
obvious.  I plan to backport to 11, 10, and 9 once the 11.2 release is 
complete.

Thanks!
Bill


rs6000: Add int128 target check to pr101129.c (PR101531)

2021-07-21  Bill Schmidt  <wschmidt@linux.ibm.com>

gcc/testsuite/
	PR target/101531
	* gcc.target/powerpc/pr101129.c: Adjust.

Patch

diff --git a/gcc/testsuite/gcc.target/powerpc/pr101129.c b/gcc/testsuite/gcc.target/powerpc/pr101129.c
index 1abc12480e4..6b8e5a9b597 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr101129.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr101129.c
@@ -1,5 +1,6 @@ 
  /* { dg-do run } */
  /* { dg-require-effective-target p8vector_hw } */
+/* { dg-require-effective-target int128 } */
  /* { dg-options "-mdejagnu-cpu=power8 -O " } */
  
  /* PR101129: The swaps pass was turning a mult-lopart into a mult-hipart.