[gomp] Move openacc vector& worker single handling to RTL
Nathan Sidwell
nathan@acm.org
Wed Jul 15 02:41:00 GMT 2015
On 07/14/15 04:25, Thomas Schwinge wrote:
> addr = gen_rtx_MEM (mode, addr);
> addr = gen_rtx_UNSPEC (mode, gen_rtvec (1, addr), UNSPEC_SHARED_DATA);
> - if (pm & PM_read)
> + if (pm == PM_read)
> res = gen_rtx_SET (addr, reg);
> - if (pm & PM_write)
> + else if (pm == PM_write)
> res = gen_rtx_SET (reg, addr);
> + else
> + gcc_unreachable ();
OK. or maybe assert (pm == PM_write) inside the else? your call
nathan
More information about the Gcc-patches
mailing list