Skip to content

Commit b377e04

Browse files
clazissartemiy-volkov
authored andcommitted
arc64: Update target-supports to enable atomic tests.
1 parent c38f17b commit b377e04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gcc/testsuite/lib/target-supports.exp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4543,8 +4543,8 @@ proc check_effective_target_arc_atomic { } {
45434543

45444544
# Return 1 if this is a compiler supporting ARC atomic operations
45454545
proc check_effective_target_arc64_atomic { } {
4546-
return [check_no_compiler_messages arc_atomic assembly {
4547-
#if !defined(__ARC64_ATOMIC__)
4546+
return [check_no_compiler_messages arc64_atomic assembly {
4547+
#if !defined(__ARC64_ATOMIC_1__) && !defined(__ARC64_ATOMIC_2__)
45484548
#error NO_ATOMIC64
45494549
#endif
45504550
}]

0 commit comments

Comments
 (0)