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 fortran/2018] Sqrt causes ice in emit_move_insn, at expr.c:2718


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

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

        PR target/83589
        * config/nvptx/nvptx.c (WORKAROUND_PTXJIT_BUG_2): Define to 1.
        (nvptx_pc_set, nvptx_condjump_label): New function. Copy from jump.c.
        Add strict parameter.
        (prevent_branch_around_nothing): Insert dummy insn between branch to
        label and label with no ptx insn inbetween.
        * config/nvptx/nvptx.md (define_insn "fake_nop"): New insn.

        * testsuite/libgomp.oacc-c-c++-common/pr83589.c: New test.

Added:
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/pr83589.c
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]