[Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv

2017-09-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80035 Tom de Vries changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv

2017-09-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80035 --- Comment #7 from Tom de Vries --- Author: vries Date: Mon Sep 25 10:36:23 2017 New Revision: 253145 URL: https://gcc.gnu.org/viewcvs?rev=253145=gcc=rev Log: [nvptx] Add exit after call to noreturn function 2017-09-25 Tom de Vries

[Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv

2017-08-28 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80035 --- Comment #6 from Tom de Vries --- (In reply to Tom de Vries from comment #2) > Replacing trap with exit or ret (or adding it after trap), makes the sigsegv > go away. Nvidia suggested a workaround of adding exit after trap for this (PR81069

[Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv

2017-03-15 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80035 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv

2017-03-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80035 --- Comment #5 from Tom de Vries --- (In reply to Alexander Monakov from comment #3) > ptxas gets confused around loops lacking > exit edges (and perhaps other "unusual" CFG structures). They can easily > appear even in original source and do

[Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv

2017-03-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80035 --- Comment #4 from Tom de Vries --- (In reply to Tom de Vries from comment #2) > Replacing trap with exit or ret (or adding it after trap), makes the sigsegv > go away. This problem goes away for ptxas -ori starting cuda 7.0.

[Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv

2017-03-14 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80035 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv

2017-03-13 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80035 Tom de Vries changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org --- Comment

[Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv

2017-03-13 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80035 --- Comment #1 from Tom de Vries --- Created attachment 40965 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40965=edit pr58640.s