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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 44065
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44065&action=edit
tentative patch

Using this patch, we generate:
...
(insn 5 2 6 2 (set (reg:SI 128)
        (const_int 0 [0])) "loop-auto-1.c":80 -1
     (nil))
(insn 6 5 7 2 (set (reg/v:DI 124 [ g+-4 ])
        (sign_extend:DI (reg:SI 128))) "loop-auto-1.c":80 -1
     (nil))
...
for:
...
  g_6 = __builtin_goacc_parlevel_id (0);
...

Reply via email to