On Tue, Nov 24, 2020 at 5:19 AM Thomas Schwinge <tho...@codesourcery.com> wrote: > > Hi! > > On 2020-11-21T10:50:10-0500, David Edelsohn <dje....@gmail.com> wrote: > > I see > > > > "during GIMPLE pass: omplower" > > > > message for kernels-decompose-ice-2.c. kernels-decompose-ice-1.c > > explicitly prunes that output, but kernels-decompose-ice-2.c does not. > > Is there a reason that the second testcase does not prune that output > > or can we add it? > > So, the expectation (as verified by my x86_64-pc-linux-gnu and > powerpc64le-unknown-linux-gnu testing) is that > 'c-c++-common/goacc/kernels-decompose-ice-1.c' (currently) runs into an > ICE "during GIMPLE pass: omplower", and > 'c-c++-common/goacc/kernels-decompose-ice-2.c' (currently) runs into an > ICE "during GIMPLE pass: omp_oacc_kernels_decompose". > > Now, you're reporting that for the latter testcase you're instead also > seeing an ICE "during GIMPLE pass: omplower". Can you please show the > full ICE report/backtrace, so that we verify that it's not yet another > separate issue? Maybe the AIX system configuration (ABI?) > mandates/causes some slight difference in how front ends set attributes > such as 'TREE_ADDRESSABLE' on DECLs, which 'omp_oacc_kernels_decompose' > (currently) is sensitive to (hence the ICEs). If you confirm that for > 'c-c++-common/goacc/kernels-decompose-ice-2.c' you're seeing the same > ICE "during GIMPLE pass: omplower" as seen for > 'c-c++-common/goacc/kernels-decompose-ice-1.c', then it shall be fine to > simply add 'dg-prune-output "during GIMPLE pass: omplower"' to > 'c-c++-common/goacc/kernels-decompose-ice-2.c', too. (Please do it once > you've verified/tested that, or I can do it later.)
The error messages reported on AIX are: Executing on host: /tmp/GCC/gcc/xgcc -B/tmp/GCC/gcc/ /nasfarm/edelsohn/src/src/gcc/testsuite/c-c++-common/goacc/kernels-decompose-ice-2.c -fdiagnostics-plain-output -fopenacc -fopenacc-kernels=decompose -S -o kernels-decompose-ice-2.s (timeout = 300) spawn -ignore SIGHUP /tmp/GCC/gcc/xgcc -B/tmp/GCC/gcc/ /nasfarm/edelsohn/src/src/gcc/testsuite/c-c++-common/goacc/kernels-decompose-ice-2.c -fdiagnostics-plain-output -fopenacc -fopenacc-kernels=decompose -S -o kernels-decompose-ice-2.s during GIMPLE pass: omplower /nasfarm/edelsohn/src/src/gcc/testsuite/c-c++-common/goacc/kernels-decompose-ice-2.c: In function 'main': /nasfarm/edelsohn/src/src/gcc/testsuite/c-c++-common/goacc/kernels-decompose-ice-2.c:13:9: internal compiler error: in lower_omp_target, at omp-low.c:12216 ranges offset out of range Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. compiler exited with status 1 Thanks, David