Skip to content

Commit fed07a0

Browse files
authored
[compiler-rt][tests] Make this test case pass on AArch64 (#117628)
See also D92832 and GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878
1 parent ac7fe42 commit fed07a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/builtins/Unit/atomic_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ typedef uint64_t maxuint_t;
144144

145145
#define LEN(array) (sizeof(array) / sizeof(array[0]))
146146

147-
__attribute__((aligned(16))) static const char data[] = {
147+
__attribute__((aligned(16))) static char data[] = {
148148
0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
149149
0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
150150
0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,

0 commit comments

Comments
 (0)