https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83423
--- Comment #6 from Tom de Vries ---
Author: vries
Date: Wed Dec 20 00:46:38 2017
New Revision: 255849
URL: https://gcc.gnu.org/viewcvs?rev=255849&root=gcc&view=rev
Log:
Don't call targetm.calls.static_chain in non-static function
2017-12-20 T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83423
Tom de Vries changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82391
Tom de Vries changed:
What|Removed |Added
Attachment #42274|0 |1
is obsolete|
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: ---
At r254929, with cuda 7.5, nvidia driver 384.90 on a Quadro M1200 and
GOMP_NVPTX_JIT
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
CC: jakub at gcc dot gnu.org
Target Milestone: ---
At r254930, with cuda 7.5, nvidia driver 384.90 on a Quadro M1200 and
GOMP_NVPTX_JIT=-O0 I observe these new nvptx offloading failures
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82391
Tom de Vries changed:
What|Removed |Added
Keywords||patch
--- Comment #3 from Tom de Vries -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
--- Comment #9 from Tom de Vries ---
Author: vries
Date: Wed Dec 27 07:50:04 2017
New Revision: 256008
URL: https://gcc.gnu.org/viewcvs?rev=256008&root=gcc&view=rev
Log:
Workaround PR83046 in gang-static-2.c
2017-12-27 Tom de Vries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
Tom de Vries changed:
What|Removed |Added
Target||nvptx
--- Comment #10 from Tom de Vries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
--- Comment #11 from Tom de Vries ---
Rewriting the test-case like this triggers the ICE without -Wreturn-type being
active:
...
/* { dg-do run { target openacc_nvidia_accel_selected } } */
/* This code uses nvptx inline assembly guarded with acc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
--- Comment #12 from Tom de Vries ---
Tentative patch:
...
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index ed3df15b143..de5655abbb6 100644
--- a/gcc/lto-cgraph.c
+++ b/gcc/lto-cgraph.c
@@ -,6 +,16 @@ output_offload_tables (void)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
--- Comment #13 from Tom de Vries ---
Created attachment 42974
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42974&action=edit
Tentative patch with testcase
Currently doing:
- bootstrap and reg test on x86_64, and
- build & libgomp regtes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
--- Comment #14 from Tom de Vries ---
(In reply to Tom de Vries from comment #13)
> Created attachment 42974 [details]
> Tentative patch with testcase
>
> Currently doing:
> - bootstrap and reg test on x86_64, and
> - build & libgomp regtest on
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
For x86_64 -m32 I observed:
...
PASS: gcc.dg/ubsan/object-size-9.c -O2 (test for excess errors)
PASS: gcc.dg/ubsan/object-size-9.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83612
Tom de Vries changed:
What|Removed |Added
CC||bernd.edlinger at hotmail dot
de
--- Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83612
--- Comment #2 from Tom de Vries ---
Similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64078#c7 (PR64078 -
FAIL: c-c++-common/ubsan/object-size-9.c):
...
I suppose the output scan fails because of the ''
messages.
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83612
--- Comment #3 from Tom de Vries ---
Tentative patch, similar to
https://gcc.gnu.org/viewcvs?rev=227886&root=gcc&view=rev :
...
diff --git a/gcc/testsuite/gcc.dg/ubsan/object-size-9.c
b/gcc/testsuite/gcc.dg/ubsan/object-size-9.c
index e0a2980..41
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
Tom de Vries changed:
What|Removed |Added
Keywords||openmp
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
--- Comment #16 from Tom de Vries ---
Created attachment 42977
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42977&action=edit
Updated patch, with both openacc and openmp testcase
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
Tom de Vries changed:
What|Removed |Added
Keywords||patch
--- Comment #17 from Tom de Vries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83612
--- Comment #4 from Tom de Vries ---
Author: vries
Date: Sat Dec 30 10:31:54 2017
New Revision: 256042
URL: https://gcc.gnu.org/viewcvs?rev=256042&root=gcc&view=rev
Log:
Fix 'memory cannot be printed' in c-c++-common/ubsan/object-size-9.c
2017-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83612
Tom de Vries changed:
What|Removed |Added
Target Milestone|--- |8.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83612
Tom de Vries changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
--- Comment #18 from Tom de Vries ---
Author: vries
Date: Sat Dec 30 17:02:00 2017
New Revision: 256045
URL: https://gcc.gnu.org/viewcvs?rev=256045&root=gcc&view=rev
Log:
Prune removed funcs from offload table
2017-12-30 Tom de Vries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
Tom de Vries changed:
What|Removed |Added
Keywords||ice-on-valid-code
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82428
--- Comment #1 from Tom de Vries ---
Created attachment 42991
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42991&action=edit
Tentative patch, tested on host
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82428
Tom de Vries changed:
What|Removed |Added
Attachment #42991|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82428
--- Comment #3 from Tom de Vries ---
(In reply to Tom de Vries from comment #2)
> Created attachment 43000 [details]
> Updated tentative patch
>
> Updated tentative patch, tested with nvptx accelerator.
Bootstrap and reg-test on x86_64 also wen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046
Tom de Vries changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82428
Tom de Vries changed:
What|Removed |Added
Keywords||patch
--- Comment #4 from Tom de Vries -
: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
Fox nvptx, I see the following failure:
...
FAIL: gcc.dg/stdint-width-1.c (test for excess errors)
...
In more detail
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83737
Tom de Vries changed:
What|Removed |Added
CC||jsm28 at gcc dot gnu.org
--- Comment #1 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83327
Tom de Vries changed:
What|Removed |Added
CC||matthew.fortune at imgtec dot
com
--- Co
MED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
The test contains a list of common vars:
...
real(8) x, y
common i, x, j, y ! { dg-warning "
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83737
--- Comment #5 from Tom de Vries ---
(In reply to jos...@codesourcery.com from comment #4)
> Most configurations (for which the libc used has a working stdint.h)
> should probably be using use_gcc_stdint=wrap, so that GCC's stdint.h
> includes
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
There's a common pattern of using vec::ordered_remove in a loop to remove some
elements, which has O(n^2) complexity.
I've written a patch that adds the macro VEC_ORDERED_REMOVE_IF wh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83786
Tom de Vries changed:
What|Removed |Added
Keywords||patch
--- Comment #1 from Tom de Vries -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83590
--- Comment #3 from Tom de Vries ---
(In reply to Jakub Jelinek from comment #2)
> Created attachment 43098 [details]
> gcc8-pr83590.patch
> Can you give this a spin?
Will do.
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
https://gcc.gnu.org/ml/gcc-patches/2017-12/msg01631.html :
...
Now, perhaps it would be wise to introduce a test for is_stmt support in
.loc directives, now that we know there are assemblers that
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
One issue is mentioned here:
https://gcc.gnu.org/ml/gcc-patches/2017-12/msg01318.html . There's a patch, but
testing status is unclear.
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
The directory libgomp/testsuite/libgomp.c-c++-common was added recently.
There are tests in libgomp/testsuite/libgomp.c that are reused in
libgomp/testsuite/libgomp.c++ using an
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83791
Tom de Vries changed:
What|Removed |Added
Keywords||openmp, patch
--- Comment #1 from Tom de
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: ---
The use of enum acc_async_t in libgomp is hard to understand.
In order to understand what this means:
...
if (async
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83792
Tom de Vries changed:
What|Removed |Added
Keywords||openacc, patch
CC|
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: ---
Registering gomp_target_fini for execution at exit before calling a plugin
function, makes sure
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83795
Tom de Vries changed:
What|Removed |Added
Keywords||patch
--- Comment #1 from Tom de Vries -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83590
--- Comment #4 from Tom de Vries ---
(In reply to Tom de Vries from comment #3)
> (In reply to Jakub Jelinek from comment #2)
> > Created attachment 43098 [details]
> > gcc8-pr83590.patch
>
> > Can you give this a spin?
>
> Will do.
The patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83590
--- Comment #5 from Tom de Vries ---
(In reply to Tom de Vries from comment #4)
> [ But I see new failures. I've
> investigated the first failure, and it's due to a missing cuda.h, which
> seems to have gone missing on my nvidia testing laptop. I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83786
--- Comment #2 from Tom de Vries ---
Latest version: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00899.html
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
When running make check for an nvptx build (with newlib sources linked in), we
get:
...
build-gcc/nvptx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83737
--- Comment #6 from Tom de Vries ---
Author: vries
Date: Fri Jan 12 17:36:07 2018
New Revision: 256591
URL: https://gcc.gnu.org/viewcvs?rev=256591&root=gcc&view=rev
Log:
Set use_gcc_stdint=wrap for nvptx
2018-01-12 Tom de Vries
PR t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83738
Tom de Vries changed:
What|Removed |Added
CC||vries at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83737
Tom de Vries changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gnu.org
Target
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82428
--- Comment #5 from Tom de Vries ---
Created attachment 43147
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43147&action=edit
Updated patch, using new interface
New interface (as agreed upon here:
https://gcc.gnu.org/ml/gcc-patches/2018-0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83737
Tom de Vries changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83920
Tom de Vries changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83920
--- Comment #3 from Tom de Vries ---
(In reply to cesar from comment #0)
> I think there
> might be other PTX JIT bugs lurking here, because the test program still
> works as intended.
I can make it fail on trunk, by changing the workaround to i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83920
--- Comment #4 from Tom de Vries ---
(In reply to cesar from comment #0)
> the underlying problem is present
> in og7 and impacts da-1.c).
That's a failure I did not manage to reproduce. For me, at commit
b4dd21b9a1f9f499c613b55225cad689b7928a7
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589
--- Comment #1 from Tom de Vries ---
Using the patch from PR83920 comment 3 and testing libgomp.oacc-c/c.exp makes
the libgomp.oacc-c/c.exp failures of this PR go away.
So, this might be a duplicate.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83920
--- Comment #5 from Tom de Vries ---
This ( PR83589 - "[nvptx] mode-transitions.c and private-variables.{c,f90}
execution FAILs at GOMP_NVPTX_JIT=-O0" ) may be a duplicate.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83920
--- Comment #6 from Tom de Vries ---
(In reply to Tom de Vries from comment #3)
> Likewise, reversing the if-then-else order in gemm.f90 makes the testcase
> fail on trunk without this patch.
Minimal version:
...
! { dg-do run }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83920
--- Comment #7 from Tom de Vries ---
(In reply to Tom de Vries from comment #6)
> (In reply to Tom de Vries from comment #3)
> > Likewise, reversing the if-then-else order in gemm.f90 makes the testcase
> > fail on trunk without this patch.
>
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589
--- Comment #2 from Tom de Vries ---
I've minimized mode-transitions.c to:
...
#define n 32
int
main (void)
{
int arr_a[n];
#pragma acc parallel copyout(arr_a) num_gangs(1) num_workers(1)
vector_length(32)
{
#pragma acc loop vector
for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83920
Tom de Vries changed:
What|Removed |Added
Keywords||openacc, patch
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83920
--- Comment #12 from Tom de Vries ---
Author: vries
Date: Fri Jan 19 16:29:41 2018
New Revision: 256894
URL: https://gcc.gnu.org/viewcvs?rev=256894&root=gcc&view=rev
Log:
[nvptx] Fix bug in jit bug workaround
2018-01-19 Tom de Vries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83920
Tom de Vries changed:
What|Removed |Added
Status|NEW |RESOLVED
Version|unknown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589
--- Comment #3 from Tom de Vries ---
(In reply to Tom de Vries from comment #2)
> This looks like another nvidia driver problem (with driver version 384.111).
Confirmed.
The empty branch
> @ %r36 bra $L5;
> $L5:
is translated into:
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589
--- Comment #4 from Tom de Vries ---
Using this rudimentary workaround, I got the failing tests of this PR passing
again:
...
diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c
index afb0e4dd185..3ac28b3d903 100644
--- a/gcc/config/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589
--- Comment #5 from Tom de Vries ---
Using the workaround, I get pretty good results:
...
Running /home/vries/openacc/trunk/source-gcc/libgomp/testsuite/libgomp.c/c.exp
...
FAIL: libgomp.c/target-32.c (test for excess errors)
FAIL: libgomp.c/targ
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589
--- Comment #7 from Tom de Vries ---
(In reply to Jakub Jelinek from comment #6)
> (In reply to Tom de Vries from comment #4)
> > Using this rudimentary workaround, I got the failing tests of this PR
> > passing again:
> Shouldn't it be sufficie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80547
Tom de Vries changed:
What|Removed |Added
CC||vries at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81352
--- Comment #1 from Tom de Vries ---
Confirmed.
This program (minimized from nested-function-1.f90) hangs at -O1 (with driver
384.111 on quadro m1200, for GOMP_NVPTX_JIT=-O[0-4]):
...
program foo
integer :: a(3,3), l, ll
a = 0
!$acc paral
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81352
--- Comment #2 from Tom de Vries ---
Tentative patch:
...
diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c
index 69e55da8933..66131cbae7c 100644
--- a/gcc/config/nvptx/nvptx.c
+++ b/gcc/config/nvptx/nvptx.c
@@ -4057,7 +4057,12 @@
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80547
--- Comment #4 from Tom de Vries ---
(In reply to Tom de Vries from comment #3)
> Using this tentative patch, the ICE is fixed and the test-case executes
> successfully:
Well, for nvptx target.
For host fallback we have:
...
x: 23
FAIL: libgomp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589
--- Comment #8 from Tom de Vries ---
Created attachment 43209
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43209&action=edit
Patch inserting fake_nop only in case of branch-around-nothing
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70895
Tom de Vries changed:
What|Removed |Added
CC||vries at gcc dot gnu.org
--- Comment #9
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81352
--- Comment #3 from Tom de Vries ---
Author: vries
Date: Wed Jan 24 11:27:10 2018
New Revision: 257014
URL: https://gcc.gnu.org/viewcvs?rev=257014&root=gcc&view=rev
Log:
[nvptx, PR81352] Add exit insn after noreturn call for neutered threads in
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: ---
patch submitted at https://gcc.gnu.org/ml/gcc-patches/2018-01/msg02004.html and
approved for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84020
Tom de Vries changed:
What|Removed |Added
Keywords||openacc, openmp, patch
Target Milestone
: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
With GOMP_NVPTX_JIT=-O[0-4] (see PR84020) approved, we can think of using this
in the libgomp testing matrix in a more elaborate way that the occasional "{
dg-set-t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84022
--- Comment #1 from Tom de Vries ---
Created attachment 43231
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43231&action=edit
Tentative patch, running nvptx accel tests with GOMP_NVPTX_JIT=-O0 in
libgomp.{c,c++}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81352
Tom de Vries changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gnu.org
Target
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81352
Tom de Vries changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2018
--- Comment #3 from Tom de Vries ---
Author: vries
Date: Wed Jan 24 13:52:12 2018
New Revision: 257016
URL: https://gcc.gnu.org/viewcvs?rev=257016&root=gcc&view=rev
Log:
[nvptx, PR83589] Workaround for branch-around-nothing JIT bug
2018-01-24 T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589
--- Comment #9 from Tom de Vries ---
Author: vries
Date: Wed Jan 24 13:52:12 2018
New Revision: 257016
URL: https://gcc.gnu.org/viewcvs?rev=257016&root=gcc&view=rev
Log:
[nvptx, PR83589] Workaround for branch-around-nothing JIT bug
2018-01-24
onent: target
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
For PR83589 we have a non-invasive but non-minimal workaround for a JIT bug
when translating a branch-around-nothing.
We want to fix this better in stage1: b
|--- |FIXED
Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gnu.org
Target Milestone|--- |8.0
--- Comment #10 from Tom de Vries ---
Patch with test-case committed.
Filed PR84025 to work around this JIT bug in a more optimal way in
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
These openacc fails are left on trunk:
...
WARNING: program timed out.
FAIL: libgomp.oacc-fortran/nested-function-1.f90 -DACC_DEVICE_TYPE_nvidia=1
-DACC_MEM_SHARED=0 -O1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84028
Tom de Vries changed:
What|Removed |Added
Keywords||openacc
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-01/msg02028.html :
...
> What are the nvptx conditional jumps
> that aren't JUMP_INSN and why? That looks like a bad idea.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84028
--- Comment #2 from Tom de Vries ---
Author: vries
Date: Thu Jan 25 10:25:14 2018
New Revision: 257046
URL: https://gcc.gnu.org/viewcvs?rev=257046&root=gcc&view=rev
Log:
[nvptx, PR84028] Add exit insn after noreturn call for neutered workers
20
|--- |FIXED
Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gnu.org
Target Milestone|--- |8.0
--- Comment #3 from Tom de Vries ---
patch with test-case committed, marking resolved fixed.
: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
CC: jakub at gcc dot gnu.org
Target Milestone: ---
The following testcase, minimized from for-3.c hangs for nvptx (but passes with
GOMP_NVPT_JIT=-O[01]):
...
extern void abort ();
#define CAT2(A, B) A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84041
--- Comment #1 from Tom de Vries ---
So, using this patch:
...
diff --git a/gcc/omp-expand.c b/gcc/omp-expand.c
index 90e06310d81..af626d1568a 100644
--- a/gcc/omp-expand.c
+++ b/gcc/omp-expand.c
@@ -167,6 +167,7 @@ is_combined_parallel (struct o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84041
--- Comment #2 from Tom de Vries ---
More minimal, using num_teams and num_threads:
...
int
main (void)
{
#pragma omp target teams num_teams(1)
{
unsigned int i;
#pragma omp distribute parallel for schedule(dynamic,1) num_threads (2)
f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77428
--- Comment #4 from Tom de Vries ---
(In reply to Eric Gallager from comment #3)
> (In reply to Tom de Vries from comment #1)
> > Created attachment 39528 [details]
> > tentative patch
>
> Have you sent this patch to the gcc-patches mailing list
Severity: normal
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: ---
@r257131:
...
FAIL: libgomp.fortran/examples-4/simd-2.f90 -O1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84086
Tom de Vries changed:
What|Removed |Added
Target|nvptx |
Status|UNCONFIRMED
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: ---
@r257131, with GOMP_NVPTX_JIT=-O0, driver version 384.111, geforce 710, and
cuda 8.0, kernel
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84088
--- Comment #1 from Tom de Vries ---
(In reply to Tom de Vries from comment #0)
> @r257131, with GOMP_NVPTX_JIT=-O0, driver version 384.111, geforce 710, and
> cuda 8.0, kernel version 4.13.0-32-generic:
Same result without GOMP_NVPTX_JIT=-O0.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84088
--- Comment #2 from Tom de Vries ---
Minimal version:
...
! { dg-do run }
module vars
implicit none
integer z
!$acc declare create (z)
701 - 800 of 3236 matches
Mail list logo