This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/81352] [nvptx] trap placement for non-returning function call in vector-single mode


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81352

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
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 warp

2018-01-24  Tom de Vries  <tom@codesourcery.com>

        PR target/81352
        * config/nvptx/nvptx.c (nvptx_single): Add exit insn after noreturn
call
        for neutered threads in warp.
        * config/nvptx/nvptx.md (define_insn "exit"): New insn.

        * testsuite/libgomp.oacc-fortran/pr81352.f90: New test.

Added:
    trunk/libgomp/testsuite/libgomp.oacc-fortran/pr81352.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/nvptx/nvptx.c
    trunk/gcc/config/nvptx/nvptx.md
    trunk/libgomp/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]