to be called by libgomp destructor.
Signed-off-by: Vaneet Narang
Signed-off-by: Ayush Mittal
---
[v2 patch] https://gcc.gnu.org/ml/gcc-bugs/2019-12/msg02326.html
[v2] -> [v3]
* Adding entry in libgomp/ChangeLog instead of toplevel Changelog.
libgomp/ChangeLog | 4
libgomp/oacc-in
to be called by libgomp destructor.
Signed-off-by: Vaneet Narang
Signed-off-by: Ayush Mittal
---
[v1 patch] https://gcc.gnu.org/ml/gcc-bugs/2019-12/msg02132.html
[v1] -> [v2]
* Adding ChangeLog entry.
* Instead of adding a destructor function in one file and then calling
goacc_runtime_dein
to be called by libgomp destructor.
Signed-off-by: Ayush Mittal
Signed-off-by: Vaneet Narang
---
libgomp/env.c | 5 -
libgomp/oacc-init.c | 10 ++
libgomp/oacc-int.h | 1 +
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/libgomp/env.c b/libgomp/env.c
index ac