On Mon, 9 Aug 2021 15:16:45 +0800
Chung-Lin Tang <clt...@codesourcery.com> wrote:

> This commit also effective reverts the one-liner patch by Cesar:
> https://gcc.gnu.org/pipermail/gcc-patches/2017-October/484844.html
> 
> (which was still kept in OG11 at
> 59ef9fea377db72f198b2bd5a95d5aef58b3f9c4)
> 
> That small patch is not on mainline, and conflicts with the current
> merge, and upon review and test, appears isn't really needed anymore.
> Thus took the liberty to overwrite it with the merge of this
> omp_get_device_num patch.

FWIW, though there probably isn't test coverage for this, I don't
recall it having been fixed in another way -- it probably only shows up
when linking with a static library with offload code in unused object
files, or something. Not particularly easy to do as a standalone test
with DejaGnu!

HTH,

Julian

Reply via email to