]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix gimple_copy for OpenMP atomic load/store [PR122281, PR105001]
authorTobias Burnus <tburnus@baylibre.com>
Mon, 3 Nov 2025 11:21:30 +0000 (12:21 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Mon, 3 Nov 2025 11:21:30 +0000 (12:21 +0100)
commite2cbcd1b27c0da92bdcd96664064d3d0c1d44e6f
tree56fa95dc6d7bc482e508f36e220552a14c8c68d4
parentc10bd8ce54ba8f801c68c6ffa5a416d10ef6a1ff
Fix gimple_copy for OpenMP atomic load/store [PR122281, PR105001]

PR libgomp/122281
PR middle-end/105001

gcc/ChangeLog:

* gimple.cc (gimple_copy): Add missing unshare_expr for
GIMPLE_OMP_ATOMIC_LOAD and GIMPLE_OMP_ATOMIC_STORE.
gcc/gimple.cc
libgomp/testsuite/libgomp.c/pr122281.c [new file with mode: 0644]