diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2020-04-21 22:39:33 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2020-04-29 09:39:03 +0200 |
commit | 7f1989249e25af6fc0f124452efa24b3796b767a (patch) | |
tree | cd8ab52cef5dc7aa3bdd7a939d9064de7c5ac56b /libgomp | |
parent | ccf93cd0b21e9c0ff0a1d4ace59899fca25ac157 (diff) |
[gcn] Set 'UI_NONE' for 'TARGET_EXCEPT_UNWIND_INFO' [PR94282]
In libgomp offloading testing, this resolves all the 'ld: error: undefined
symbol: __gxx_personality_v0' FAILs.
gcc/
PR target/94282
* common/config/gcn/gcn-common.c (gcn_except_unwind_info): New
function.
(TARGET_EXCEPT_UNWIND_INFO): Define.
libgomp/
PR target/94282
* testsuite/libgomp.c-c++-common/function-not-offloaded.c: Remove
'dg-allow-blank-lines-in-output'.
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 4 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index cfe6e0653c9..1a7046f2fc6 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,5 +1,9 @@ 2020-04-29 Thomas Schwinge <thomas@codesourcery.com> + PR target/94282 + * testsuite/libgomp.c-c++-common/function-not-offloaded.c: Remove + 'dg-allow-blank-lines-in-output'. + * oacc-init.c (get_openacc_name): Handle 'gcn'. * testsuite/lib/libgomp.exp (offload_target_to_openacc_device_type) [amdgcn*]: Return diff --git a/libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded.c b/libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded.c index f01a64e72c0..9e59ef8864e 100644 --- a/libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded.c +++ b/libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded.c @@ -1,6 +1,5 @@ /* { dg-do link } */ /* { dg-excess-errors "unresolved symbol foo, lto1, mkoffload and lto-wrapper fatal errors" { target offload_device_nonshared_as } } */ -/* { dg-allow-blank-lines-in-output 1 } */ /* { dg-additional-sources "function-not-offloaded-aux.c" } */ #pragma omp declare target |