]> gcc.gnu.org Git - gcc.git/commit
OpenMP: Fix var replacement with 'simd' and linear-step vars [PR106548]
authorTobias Burnus <tobias@codesourcery.com>
Wed, 17 Aug 2022 13:45:56 +0000 (15:45 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 17 Aug 2022 13:45:56 +0000 (15:45 +0200)
commitd9c9424d2c4f7b25acfc00db0076a65882c8a99f
tree30cfc4745cb01959490f0e7a79ca1792cadfb391
parent6b4e49fdfcc9bff5459d5a821dd7e9476c7c1c10
OpenMP: Fix var replacement with 'simd' and linear-step vars [PR106548]

gcc/ChangeLog:

PR middle-end/106548
* omp-low.cc (lower_rec_input_clauses): Use build_outer_var_ref
for 'simd' linear-step values that are variable.

libgomp/ChangeLog:

PR middle-end/106548
* testsuite/libgomp.c/linear-2.c: New test.
gcc/omp-low.cc
libgomp/testsuite/libgomp.c/linear-2.c [new file with mode: 0644]
This page took 0.060552 seconds and 6 git commands to generate.