On Fri, Dec 05, 2025 at 01:32:28PM -0800, Andrew Pinski wrote:
> When I wrote this testcase I forgot to check if the target
> supports __int128. This adds the simple check.

There is not just that.

dg-compile is not a valid directive.
I've added some cleanups too.

Tested on x86_64-linux and i686-linux, committed as obvious.

2025-12-06  Jakub Jelinek  <[email protected]>

        PR middle-end/99782
        * gcc.dg/torture/pr99782-1.c: Fix typo, dg-compile -> dg-do compile.
        Use int128 effective target directly on that directive.  Move PR
        comment first.

--- gcc/testsuite/gcc.dg/torture/pr99782-1.c.jj 2025-12-06 01:06:37.762639829 
+0100
+++ gcc/testsuite/gcc.dg/torture/pr99782-1.c    2025-12-06 01:07:23.357884822 
+0100
@@ -1,7 +1,6 @@
-/* { dg-compile } */
-/* { dg-require-effective-target int128 } */
-/* { dg-additional-options "-mapxf" { target { { i?86-*-* x86_64-*-* } && { ! 
ia32 } } } } */
 /* PR middle-end/99782 */
+/* { dg-do compile { target int128 } } */
+/* { dg-additional-options "-mapxf" { target { { i?86-*-* x86_64-*-* } && { ! 
ia32 } } } } */
 
 int hb;
 

        Jakub

Reply via email to