This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Aug 2017 12:25:38 +0000
- Subject: [Bug target/80035] [nvptx] non-returning function call causes ptxas sigsegv
- Auto-submitted: auto-generated
- References: <bug-80035-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80035
--- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> ---
(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
comment 3) bug report.