This setting is way out of date; global constructors have worked on GCN for a while now.

Andrew
amdgcn: test global constructors

The tests are disabled for historical reasons only.

gcc/testsuite/ChangeLog:

        * lib/target-supports.exp (check_effective_target_global_constructor):
        Remove amdgcn.

diff --git a/gcc/testsuite/lib/target-supports.exp 
b/gcc/testsuite/lib/target-supports.exp
index 20171f9d985..e481a2a71ff 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -851,7 +851,6 @@ proc check_effective_target_nonlocal_goto {} {
 
 proc check_effective_target_global_constructor {} {
     if { [istarget nvptx-*-*]
-        || [istarget amdgcn-*-*]
         || [istarget bpf-*-*] } {
        return 0
     }

Reply via email to