[Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for CSWTCH symbol

2018-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84592 Tom de Vries changed: What|Removed |Added Keywords||patch --- Comment #10 from Tom de Vries

[Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for CSWTCH symbol

2018-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84592 --- Comment #9 from Tom de Vries --- (In reply to Tom de Vries from comment #6) > Looks like a duplicate of PR71536 Actually, this is not fixed by the patch, so likely another issue.

[Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for CSWTCH symbol

2018-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84592 --- Comment #8 from Tom de Vries --- (In reply to Tom de Vries from comment #7) > Created attachment 43571 [details] > Tentative patch > > Works on nvptx for the examples from comment 0, comment 3 and comment 5. Tested libgomp on x86_64 with

[Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for CSWTCH symbol

2018-03-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84592 --- Comment #7 from Tom de Vries --- Created attachment 43571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43571=edit Tentative patch Works on nvptx for the examples from comment 0, comment 3 and comment 5.

[Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for CSWTCH symbol

2018-03-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84592 --- Comment #6 from Tom de Vries --- Looks like a duplicate of PR71536

[Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for CSWTCH symbol

2018-02-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84592 --- Comment #5 from Martin Liška --- So it's equivalent to: $ cat ~/Programming/testcases/pr84592-3.c #include int main (void) { int n[1]; n[0] = 4; #pragma omp target { static const int test[] = {1,2,3,4}; n[1] += test[n[0]];