]> git.ipfire.org Git - thirdparty/gcc.git/commit
Correct fix offload dwarf info
authorAndrew Stubbs <ams@codesourcery.com>
Sat, 16 Jan 2021 15:18:07 +0000 (15:18 +0000)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 21 Jun 2022 13:11:31 +0000 (14:11 +0100)
commit353afd4ec8b7d72786b0a12ab78553acc3395c72
tree3b0d74c570f216398dd2bafb2ab6016562c40b8a
parent037c0d9acde83f73f6babfc6cee1c4763ec63c57
Correct fix offload dwarf info

The previous patch wasn't quite right, apparently.  Somehow the behaviour
changed after another clean build?  This tweak fixes it.

This patch should be squashed with fdcb23540a2 to go to mainline.

gcc/ChangeLog:

* dwarf2out.cc (gen_subprogram_die): Check offload attributes only.
gcc/ChangeLog.omp
gcc/dwarf2out.cc