On Tue, Jun 23, 2026 at 07:58:37PM +0200, Paul-Antoine Arras wrote:
> > LGTM. However, can you also add a -fdump-tree-… test to check for
> > GOMP_atomic_{start,end}?
>
> Added atomic-builtins-1.c in the updated patch.
That fails on i686-linux, I've committed following patch as obvious:
2026-06-25 Jakub Jelinek <[email protected]>
* c-c++-common/gomp/atomic-builtins-1.c: Add int128 effective target.
--- gcc/testsuite/c-c++-common/gomp/atomic-builtins-1.c.jj 2026-06-25
00:10:29.263325256 +0200
+++ gcc/testsuite/c-c++-common/gomp/atomic-builtins-1.c 2026-06-25
10:02:17.788619191 +0200
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target int128 } } */
/* { dg-additional-options "-fdump-tree-ompexp" } */
/* Check that an GIMPLE_OMP_ATOMIC statement expands to GOMP_atomic_start/end
Jakub