]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[rs6000] [testsuite] Fix test-frame-related.c [PR123129]
authorSurya Kumari Jangala <jskumari@linux.ibm.com>
Fri, 9 Jan 2026 07:07:53 +0000 (02:07 -0500)
committerSurya Kumari Jangala <jskumari@linux.ibm.com>
Mon, 12 Jan 2026 05:17:43 +0000 (00:17 -0500)
The testcase test-frame-related.c fails in 32-bit mode due to
constraints not matching. Use -mpowerpc64 option to ensure that the
testcase works with -m32.

gcc/testsuite:
PR testsuite/123129
* gcc.dg/rtl/powerpc/test-frame-related.c: Add -mpowerpc64.

gcc/testsuite/gcc.dg/rtl/powerpc/test-frame-related.c

index 95599d02bae3e43e12d9313f027757a7a38f4699..32b393bc8675d078711b5d2e2881c689ea98f4b5 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { powerpc64*-*-linux* } } } */
-/* { dg-options "-O2 -mregnames" } */
+/* { dg-options "-O2 -mregnames -mpowerpc64" } */
 
 int __RTL (startwith ("cprop_hardreg")) test_frame_related ()
 {