On 06/09/2019 08:42, Bernhard Reutner-Fischer wrote:
On 5 September 2019 18:07:25 CEST, Andrew Stubbs <a...@codesourcery.com> wrote:
I just committed the attached patch to the openacc-gcc-9-branch.
+ /* Store that requires input registers are not overwritten by
+ following instruction. */
+ if ((prev_insn->age + nops_rqd) < 1
+ && prev_insn->delayeduse == DELAYEDUSE_YES
+ && ((hard_reg_set_intersect_p
+ (prev_insn->reads, iwrites))))
+ nops_rqd = 1 - prev_insn->age;
Excess braces everywhere, fwiw.
So it does.
Oh well, it's done now so it can stay.
Thanks anyway
Andrew