https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95622
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #6)
> not sure if fixed?
Not fixed – only XFAILed.
The issue is that optimizations are not done with "node->force_output". As in
the example in comment 0:
"a = 0; c = a" will become
"c[0] = 0" without force_output
but "c[0] = a[0]" with force_output set.
As the variable has been already used in the offload-variable table, it cannot
be removed for good – but not using it is fine.