Bug ID: 85223
           Summary: [nvptx] nvptx_single needs rewrite
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot
          Reporter: vries at gcc dot
  Target Milestone: ---

In nvptx_single, we locate the head and tail of the code that needs neutering
and/or jump condition state propagation, and then insert the insns before and
after head and tail. 

PR85204 - "[nvptx] infinite loop generated" is an example where that goes
wrong. I'll commit a minimal stage4 fix for that PR, but we need a stage1
rewrite, that minimized uses of head and tail, and adds and use variables that
describe the various parts of the neutered region. F.i.
- first_neutering_jump
- last_neutering_jump
- first_neutering_label
- last_neutering_label

Reply via email to