[Bug libgomp/83792] [openacc] Factor out async argument utility functions

2018-05-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83792 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgomp/83792] [openacc] Factor out async argument utility functions

2018-05-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83792 --- Comment #3 from Tom de Vries --- Author: vries Date: Wed May 9 13:52:49 2018 New Revision: 260081 URL: https://gcc.gnu.org/viewcvs?rev=260081=gcc=rev Log: [openacc] Factor out async argument utility functions 2018-05-09 Tom de Vries

[Bug tree-optimization/84958] int loads not eliminated against larger stores

2018-05-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84958 Tom de Vries changed: What|Removed |Added Severity|normal |enhancement

[Bug target/85231] [og7, openacc, nvptx] Too much shared memory claimed for long vector length

2018-05-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85231 Tom de Vries changed: What|Removed |Added Keywords||missed-optimization

[Bug target/85626] [nvptx] __builtin_trap should not return

2018-05-09 Thread vries at gcc dot gnu.org
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gnu.org Target Milestone|--- |9.0 --- Comment #2 from Tom de Vries --- Patch committed, marking resolved-fixed.

[Bug target/85626] [nvptx] __builtin_trap should not return

2018-05-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85626 --- Comment #1 from Tom de Vries --- Author: vries Date: Wed May 9 10:32:40 2018 New Revision: 260072 URL: https://gcc.gnu.org/viewcvs?rev=260072=gcc=rev Log: [nvptx] Make trap insn noreturn 2018-05-09 Tom de Vries

[Bug testsuite/85677] [openacc] gomp-constants.h not available in installed testing of libgomp

2018-05-07 Thread vries at gcc dot gnu.org
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gnu.org Target Milestone|--- |9.0 --- Comment #2 from Tom de Vries --- Patch committed, marking resolved-fixed.

[Bug testsuite/85677] [openacc] gomp-constants.h not available in installed testing of libgomp

2018-05-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85677 --- Comment #1 from Tom de Vries --- Author: vries Date: Mon May 7 11:33:45 2018 New Revision: 259992 URL: https://gcc.gnu.org/viewcvs?rev=259992=gcc=rev Log: [openacc, testsuite] Allow installed testing of libgomp to find gomp-constants.h

[Bug testsuite/85677] New: [openacc] gomp-constants.h not available in installed testing of libgomp

2018-05-07 Thread vries at gcc dot gnu.org
Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- I've added quite a few "#include " to libgomp openacc testcases in r259850. That worked fine for buildarea testing,

[Bug target/85653] [nvptx] Work around subsequent bar.sync JIT/ptxas bug

2018-05-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85653 Tom de Vries changed: What|Removed |Added Target Milestone|--- |9.0

[Bug target/85653] [nvptx] Work around subsequent bar.sync JIT/ptxas bug

2018-05-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85653 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85653] [nvptx] Work around subsequent bar.sync JIT/ptxas bug

2018-05-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85653 --- Comment #1 from Tom de Vries --- Author: vries Date: Sat May 5 07:56:21 2018 New Revision: 259967 URL: https://gcc.gnu.org/viewcvs?rev=259967=gcc=rev Log: [nvptx] Add workaround for subsequent bar.syncs 2018-05-05 Tom de Vries

[Bug libgomp/85649] [og7, nvptx, openacc] Too much workers chosen for launch

2018-05-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85649 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85653] New: [nvptx] Work around subsequent bar.sync JIT/ptxas bug

2018-05-04 Thread vries at gcc dot gnu.org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- https://gcc.gnu.org/ml/gcc-patches/2018-04/msg01023.html : ... Hi, when compiling this testcase with the og7 branch: ... int main (void) { long long v1; #pragma

[Bug libgomp/85649] New: [og7, nvptx, openacc] Too much workers chosen for launch

2018-05-04 Thread vries at gcc dot gnu.org
Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- On the og7 branch for Titan V, we run into this error message in testsuite polybench

[Bug libgomp/85639] ICE in compiling new test cases added in r259850

2018-05-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85639 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgomp/85639] ICE in compiling new test cases added in r259850

2018-05-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85639 --- Comment #3 from Tom de Vries --- Author: vries Date: Fri May 4 08:29:08 2018 New Revision: 259927 URL: https://gcc.gnu.org/viewcvs?rev=259927=gcc=rev Log: [expand] Handle null target in expand_builtin_goacc_parlevel_id_size 2018-05-04

[Bug libgomp/85639] ICE in compiling new test cases added in r259850

2018-05-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85639 Tom de Vries changed: What|Removed |Added Keywords||ice-on-valid-code, openacc,

[Bug libgomp/85639] ICE in compiling new test cases added in r259850

2018-05-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85639 --- Comment #1 from Tom de Vries --- Created attachment 44065 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44065=edit tentative patch Using this patch, we generate: ... (insn 5 2 6 2 (set (reg:SI 128) (const_int 0 [0]))

[Bug testsuite/85106] Add scan-ltrans-tree-dump and scan-wpa-ipa-dump

2018-05-03 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85106 --- Comment #13 from Tom de Vries --- Author: vries Date: Thu May 3 13:47:14 2018 New Revision: 259892 URL: https://gcc.gnu.org/viewcvs?rev=259892=gcc=rev Log: [testsuite] Add scan-offload-tree-dump 2018-05-03 Tom de Vries

[Bug target/85626] New: [nvptx] __builtin_trap should not return

2018-05-03 Thread vries at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- As mentioned here ( https://cygwin.com/ml/newlib/2018/msg00335.html ): ... Then, the nvptx port of gcc implements __builtin_trap using the 'trap' ptx insn. The trap insn

[Bug libgomp/82428] Builtins for openacc gang/worker/vector id/size

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82428 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/83791] Move tests to libgomp.c-c++-common

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83791 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgomp/85411] [openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85411 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/83791] Move tests to libgomp.c-c++-common

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83791 --- Comment #3 from Tom de Vries --- Author: vries Date: Wed May 2 17:53:43 2018 New Revision: 259851 URL: https://gcc.gnu.org/viewcvs?rev=259851=gcc=rev Log: [libgomp, testsuite] Move tests to libgomp.c-c++-common 2018-05-02 Tom de Vries

[Bug libgomp/85411] [openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85411 --- Comment #2 from Tom de Vries --- Author: vries Date: Wed May 2 17:53:56 2018 New Revision: 259852 URL: https://gcc.gnu.org/viewcvs?rev=259852=gcc=rev Log: [openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin 2018-05-02 Tom de

[Bug libgomp/82428] Builtins for openacc gang/worker/vector id/size

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82428 --- Comment #7 from Tom de Vries --- Author: vries Date: Wed May 2 17:53:29 2018 New Revision: 259850 URL: https://gcc.gnu.org/viewcvs?rev=259850=gcc=rev Log: [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 Tom de Vries

[Bug testsuite/85106] Add scan-ltrans-tree-dump and scan-wpa-ipa-dump

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85106 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/85106] Add scan-ltrans-tree-dump and scan-wpa-ipa-dump

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85106 --- Comment #11 from Tom de Vries --- Author: vries Date: Wed May 2 12:16:32 2018 New Revision: 259838 URL: https://gcc.gnu.org/viewcvs?rev=259838=gcc=rev Log: [testsuite] Add scan-ltrans-tree-dump 2018-05-02 Tom de Vries

[Bug testsuite/85106] Add scan-ltrans-tree-dump and scan-wpa-ipa-dump

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85106 --- Comment #10 from Tom de Vries --- Author: vries Date: Wed May 2 12:16:15 2018 New Revision: 259837 URL: https://gcc.gnu.org/viewcvs?rev=259837=gcc=rev Log: [testsuite] Add scan-wpa-ipa-dump 2018-05-02 Tom de Vries

[Bug target/85519] [nvptx, openacc, openmp, testsuite] Recursive tests may fail due to thread stack limit

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85519 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85519] [nvptx, openacc, openmp, testsuite] Recursive tests may fail due to thread stack limit

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85519 --- Comment #6 from Tom de Vries --- Author: vries Date: Wed May 2 10:55:07 2018 New Revision: 259834 URL: https://gcc.gnu.org/viewcvs?rev=259834=gcc=rev Log: backport "[nvptx, libgomp, testsuite] Reduce recursion depth in

[Bug lto/85451] [offloading] Improve lto-wrapper error message when not finding mkoffload

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85451 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug lto/85451] [offloading] Improve lto-wrapper error message when not finding mkoffload

2018-05-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85451 --- Comment #6 from Tom de Vries --- Author: vries Date: Wed May 2 07:12:15 2018 New Revision: 259821 URL: https://gcc.gnu.org/viewcvs?rev=259821=gcc=rev Log: [lto] Add "could not find mkoffload" error message to lto-wrapper 2018-05-02 Tom

[Bug libgomp/83792] [openacc] Factor out async argument utility functions

2018-05-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83792 --- Comment #2 from Tom de Vries --- pinged: https://gcc.gnu.org/ml/gcc-patches/2018-05/msg00046.html

[Bug lto/85451] [offloading] Improve lto-wrapper error message when not finding mkoffload

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

[Bug lto/85451] [offloading] Improve lto-wrapper error message when not finding mkoffload

2018-05-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85451 --- Comment #4 from Tom de Vries --- Author: vries Date: Tue May 1 19:52:57 2018 New Revision: 259809 URL: https://gcc.gnu.org/viewcvs?rev=259809=gcc=rev Log: [nvptx] Improve "offload compiler not found" message in mkoffload 2018-05-01 Tom

[Bug other/83786] Add VEC_ORDERED_REMOVE_IF

2018-05-01 Thread vries at gcc dot gnu.org
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gnu.org Target Milestone|--- |9.0 --- Comment #4 from Tom de Vries --- Patch committed, marking resolved-fixed.

[Bug other/83786] Add VEC_ORDERED_REMOVE_IF

2018-05-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83786 --- Comment #3 from Tom de Vries --- Author: vries Date: Tue May 1 19:16:43 2018 New Revision: 259808 URL: https://gcc.gnu.org/viewcvs?rev=259808=gcc=rev Log: Add VEC_ORDERED_REMOVE_IF 2018-05-01 Tom de Vries

[Bug c/85465] [og7, openacc] ICE in mark_vars_oacc_gangprivate, at c/c-parser.c:14213

2018-05-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85465 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/85465] [og7, openacc] ICE in mark_vars_oacc_gangprivate, at c/c-parser.c:14213

2018-05-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85465 --- Comment #1 from Tom de Vries --- https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b5146f735883031f6661dda1d3ee9a34ad557e52 [c, openacc] Handle non-var-decl in mark_vars_oacc_gangprivate 2018-05-01 Tom de Vries PR

[Bug target/81805] Another libgomp.c/for-5.c failure on nvptx -- illegal memory access

2018-05-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81805 Tom de Vries changed: What|Removed |Added Target||nvptx Status|NEW

[Bug libgomp/84871] libgomp examples-4/declare_target-[12].f90 fail with nvptx Titan V offloading

2018-05-01 Thread vries at gcc dot gnu.org
||vries at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Tom de Vries --- Duplicate of PR85519. *** This bug has been marked as a duplicate of bug 85519 ***

[Bug target/85519] [nvptx, openacc, openmp, testsuite] Recursive tests may fail due to thread stack limit

2018-05-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85519 Tom de Vries changed: What|Removed |Added CC||cesar at gcc dot gnu.org --- Comment #5

[Bug target/85590] New: [nvptx, libgomp, openacc] Use cuda runtime fns to determine launch configuration in nvptx plugin

2018-05-01 Thread vries at gcc dot gnu.org
Severity: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Choosing runtime dimensions is done in nvptx_exec for openacc. We could use cuda runtime

[Bug middle-end/84955] [7 Regression] Incorrect OpenACC tile expansion

2018-05-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84955 Tom de Vries changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/84955] [7 Regression] Incorrect OpenACC tile expansion

2018-05-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84955 --- Comment #9 from Tom de Vries --- Author: vries Date: Tue May 1 13:21:19 2018 New Revision: 259795 URL: https://gcc.gnu.org/viewcvs?rev=259795=gcc=rev Log: backport "[openacc] Fix ICE when compiling tile loop containing infinite loop"

[Bug target/85584] [og7, nvptx] make generic and per-worker broadcast buffers overlap

2018-05-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85584 --- Comment #1 from Tom de Vries --- A quick way to try this out is to remove the add.u64 %y64,%y64,1 in the calculation of %r109, but we run into: ... libgomp: cuStreamSynchronize error: an illegal memory access was encountered ... Things go

[Bug target/85584] New: [og7, nvptx] make generic and per-worker broadcast buffers overlap

2018-05-01 Thread vries at gcc dot gnu.org
: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider this fortran testcase compiled at -O2 with -foffload=-mlong-vector-in-workers: ... module param integer, parameter

[Bug testsuite/85527] [openacc] atomic_capture-1.{c,f90} undefined behaviour

2018-04-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85527 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/85527] [openacc] atomic_capture-1.{c,f90} undefined behaviour

2018-04-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85527 --- Comment #2 from Tom de Vries --- Author: vries Date: Sun Apr 29 10:26:56 2018 New Revision: 259748 URL: https://gcc.gnu.org/viewcvs?rev=259748=gcc=rev Log: [openacc, testsuite] Fix undefined behaviour in atomic_capture-1.c 2018-04-29

[Bug testsuite/85527] [openacc] atomic_capture-1.{c,f90} undefined behaviour

2018-04-27 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85527 --- Comment #1 from Tom de Vries --- Author: vries Date: Fri Apr 27 22:11:12 2018 New Revision: 259733 URL: https://gcc.gnu.org/viewcvs?rev=259733=gcc=rev Log: [openacc, testsuite] Fix undefined behaviour in atomic_capture-1.f90 2018-04-28

[Bug target/84025] [nvptx] Don't generate branch-around-nothing

2018-04-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84025 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/84025] [nvptx] Don't generate branch-around-nothing

2018-04-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84025 Tom de Vries changed: What|Removed |Added Target Milestone|--- |9.0 --- Comment #3 from Tom de Vries

[Bug libgomp/84020] [nvptx] Add GOMP_NVPTX_JIT=-O[0-4] in nvptx libgomp plugin

2018-04-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84020 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Tom de Vries changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85519] [nvptx, openacc, openmp, testsuite] Recursive tests may fail due to thread stack limit

2018-04-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85519 --- Comment #4 from Tom de Vries --- Committed to trunk. Approved for 8.2. [ 8.1 release is targeted for Wednesday, May 2nd. ]

[Bug libgomp/84020] [nvptx] Add GOMP_NVPTX_JIT=-O[0-4] in nvptx libgomp plugin

2018-04-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84020 --- Comment #1 from Tom de Vries --- Author: vries Date: Thu Apr 26 13:27:04 2018 New Revision: 259678 URL: https://gcc.gnu.org/viewcvs?rev=259678=gcc=rev Log: [nvptx, libgomp] Add GOMP_NVPTX_JIT=-O[0-4] in nvptx libgomp plugin 2018-04-26 Tom

[Bug target/84952] [nvptx] bar.sync generated in divergent code

2018-04-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84952 --- Comment #11 from Tom de Vries --- Author: vries Date: Thu Apr 26 13:26:48 2018 New Revision: 259677 URL: https://gcc.gnu.org/viewcvs?rev=259677=gcc=rev Log: [nvptx] Verify bar.sync position 2018-04-26 Tom de Vries

[Bug target/84025] [nvptx] Don't generate branch-around-nothing

2018-04-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84025 --- Comment #2 from Tom de Vries --- Author: vries Date: Thu Apr 26 13:26:38 2018 New Revision: 259676 URL: https://gcc.gnu.org/viewcvs?rev=259676=gcc=rev Log: [nvptx] Fix branch-around-nothing 2018-04-26 Tom de Vries

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #12 from Tom de Vries --- Author: vries Date: Thu Apr 26 13:26:25 2018 New Revision: 259675 URL: https://gcc.gnu.org/viewcvs?rev=259675=gcc=rev Log: [lto] Fixup loops before lto write-out 2018-04-26 Richard Biener

[Bug target/85519] [nvptx, openacc, openmp, testsuite] Recursive tests may fail due to thread stack limit

2018-04-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85519 --- Comment #3 from Tom de Vries --- Author: vries Date: Thu Apr 26 13:26:09 2018 New Revision: 259674 URL: https://gcc.gnu.org/viewcvs?rev=259674=gcc=rev Log: [nvptx, libgomp, testsuite] Reduce recursion depth in declare_target-{1,2}.f90

[Bug testsuite/85527] New: [openacc] atomic_capture-1.{c,f90} undefined behaviour

2018-04-25 Thread vries at gcc dot gnu.org
Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- I. Consider this test-case, minimized from atomic_capture-1.f90: ... program main real fgot, fexp, ftmp integer, parameter :: N = 32 fgot = 1234.0 fexp

[Bug target/85519] [nvptx, openacc, openmp, testsuite] Recursive tests may fail due to thread stack limit

2018-04-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85519 Tom de Vries changed: What|Removed |Added Keywords||openacc, openmp, patch

[Bug target/85519] [nvptx, openacc, openmp, testsuite] Recursive tests may fail due to thread stack limit

2018-04-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85519 --- Comment #1 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > All these solutions work until the next failure shows up. It would be nice > to fix this more definitely in some way, but I'm not sure how. We could try to figure

[Bug target/85519] New: [nvptx, openacc, openmp, testsuite] Recursive tests may fail due to thread stack limit

2018-04-24 Thread vries at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- I. Consider the following openacc program containing a recursive function: ... #pragma acc routine seq static

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Tom de Vries changed: What|Removed |Added Keywords||ice-on-valid-code, patch --- Comment #11

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #10 from Tom de Vries --- Created attachment 44006 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44006=edit Adjusted patch with testcase (In reply to Richard Biener from comment #9) > adjusted patch: Added testcase. Build

[Bug target/85486] [og7, nvptx] ref-1.C fails with vector length 128

2018-04-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85486 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85220] [meta-bug, nvptx] Run trunk with og7 openacc testcases and analyze execution failures

2018-04-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85220 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2018-04-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 Tom de Vries changed: What|Removed |Added Keywords||openacc Status|UNCONFIRMED

[Bug target/85486] New: [og7, nvptx] ref-1.C fails with vector length 128

2018-04-20 Thread vries at gcc dot gnu.org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Minimal example: ... /* { dg-do run } */ extern "C" int printf (char const *, ...); #pragma acc routine vector void __attribute__((noinline, noclone)) Vector

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2018-04-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 Tom de Vries changed: What|Removed |Added Attachment #43992|0 |1 is obsolete|

[Bug target/85445] [nvptx, openacc] Calls to worker and vector routine broken

2018-04-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85445 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85445] [nvptx, openacc] Calls to worker and vector routine broken

2018-04-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85445 --- Comment #3 from Tom de Vries --- Author: vries Date: Fri Apr 20 13:46:07 2018 New Revision: 259523 URL: https://gcc.gnu.org/viewcvs?rev=259523=gcc=rev Log: [nvptx] Fix calls to vector and worker routines 2018-04-20 Nathan Sidwell

[Bug target/85445] [nvptx, openacc] Calls to worker and vector routine broken

2018-04-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85445 --- Comment #2 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > The initialization of the stack is done in thread W0V0, but the stack is > read in WAVA mode, so it's reading uninitialized stack memory in all but > the W0V0

[Bug target/85445] [nvptx, openacc] Calls to worker and vector routine broken

2018-04-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85445 --- Comment #1 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > og7 test-case ref-1.C fails in execution when run with trunk: At -O2, due to the call to routine Worker. The Vector routine is inlined, due to missing

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2018-04-19 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #8 from Tom de Vries --- (In reply to Tom de Vries from comment #6) > Created attachment 43992 [details] > tentative patch Tested libgomp on og7 build with quadro m1200, no issues found.

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2018-04-19 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #7 from Tom de Vries --- For this example: ... #define n 1024 int main (void) { #pragma acc parallel vector_length(128) { #pragma acc loop vector for (int i = 0; i < n; i++) ; #pragma acc loop vector for

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2018-04-19 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #6 from Tom de Vries --- Created attachment 43992 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43992=edit tentative patch (In reply to Tom de Vries from comment #4) > This looks like a JIT bug, but with this tentative patch:

[Bug c/85465] New: [og7, openacc] ICE in mark_vars_oacc_gangprivate, at c/c-parser.c:14213

2018-04-19 Thread vries at gcc dot gnu.org
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- $ cat bug.c int main (void) { #pragma acc parallel foo (); return 0; } $ ./install/bin/gcc bug.c -fopenacc bug.c

[Bug target/85220] [meta-bug, nvptx] Run trunk with og7 openacc testcases and analyze execution failures

2018-04-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85220 --- Comment #3 from Tom de Vries --- Filed: - PR85221 "[openacc] ICE in install_var_field, at omp-low.c:657" - PR85445 "[nvptx, openacc] Calls to worker and vector routine broken" and updated a few existing PRs. There are lots of execution

[Bug lto/85451] [offloading] Improve lto-wrapper error message when not finding mkoffload

2018-04-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85451 --- Comment #3 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > ... > $ ./install/bin/x86_64-pc-linux-gnu-gcc -fopenacc test.c \ > -B $(pwd > -P)/install/offload-nvptx-none/libexec/gcc/x86_64-pc-linux-gnu/8.0.1 > mkoffload:

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #8 from Tom de Vries --- (In reply to Tom de Vries from comment #7) > (In reply to Richard Biener from comment #3) > > flags? A simple ./xgcc -fopenacc doesn't reproduce it. With my GCC 7 > > install I see > > > > lto-wrapper:

[Bug lto/85451] [offloading] Improve lto-wrapper error message when not finding mkoffload

2018-04-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85451 --- Comment #2 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > Created attachment 43980 [details] > Tentative patch Improved error message: ... $ ./install/bin/x86_64-pc-linux-gnu-gcc -fopenacc test.c lto-wrapper: fatal

[Bug lto/85451] [offloading] Improve lto-wrapper error message when not finding mkoffload

2018-04-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85451 --- Comment #1 from Tom de Vries --- Created attachment 43980 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43980=edit Tentative patch

[Bug lto/85451] New: [offloading] Improve lto-wrapper error message when not finding mkoffload

2018-04-18 Thread vries at gcc dot gnu.org
: enhancement Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- When using an installed host/offloading compiler, you may run into this error

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Tom de Vries changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org --- Comment

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #6 from Tom de Vries --- Created attachment 43978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43978=edit configure lines

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #5 from Tom de Vries --- Created attachment 43976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43976=edit compile.log -save-temps -v output. Contains lto1 invocation.

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #4 from Tom de Vries --- Created attachment 43975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43975=edit libgomp.log

[Bug target/85445] New: [nvptx, openacc] Calls to worker and vector routine broken

2018-04-18 Thread vries at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- og7 test-case ref-1.C fails in execution when run with trunk: ... /* { dg-do run } */ extern "C" int printf (char const *, ...); #

[Bug lto/71959] [OpenACC] lto1: ICE in inline_read_section, at ipa-fnsummary.c:3314

2018-04-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71959 Tom de Vries changed: What|Removed |Added CC||vries at gcc dot gnu.org

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-17 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Tom de Vries changed: What|Removed |Added Known to fail||6.4.0, 7.3.0 --- Comment #2 from Tom de

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2018-04-17 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #5 from Tom de Vries --- (In reply to Tom de Vries from comment #4) > This looks like a JIT bug, but with this tentative patch: ... > no barriers are generated, and the minimized testcase passes. And the original test-case passes.

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2018-04-17 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #4 from Tom de Vries --- This looks like a JIT bug, but with this tentative patch: ... diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c index 8c478c874bd..ac394ee1ae6 100644 --- a/gcc/config/nvptx/nvptx.c +++

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2018-04-17 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #3 from Tom de Vries --- (In reply to Tom de Vries from comment #2) > I minimized this failure, and ran into PR 80035/81069, so I've backported > the fix from trunk: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00774.html With that

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2018-04-17 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #2 from Tom de Vries --- I minimized this failure, and ran into PR 80035/81069, so I've backported the fix from trunk: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00774.html

[Bug middle-end/84955] [7/8 Regression] Incorrect OpenACC tile expansion

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84955 --- Comment #8 from Tom de Vries --- Author: vries Date: Mon Apr 16 18:01:09 2018 New Revision: 259406 URL: https://gcc.gnu.org/viewcvs?rev=259406=gcc=rev Log: [openacc] Fix ICE when compiling tile loop containing infinite loop 2018-04-16

[Bug middle-end/84955] [7/8 Regression] Incorrect OpenACC tile expansion

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84955 --- Comment #7 from Tom de Vries --- (In reply to cesar from comment #6) > It should be noted that GCC also chokes with any empty OpenACC loop in > general. Filed as PR85422 - [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

<    4   5   6   7   8   9   10   11   12   13   >