diff options
author | John Högberg <john@erlang.org> | 2023-04-14 14:57:05 +0200 |
---|---|---|
committer | John Högberg <john@erlang.org> | 2023-04-14 16:07:30 +0200 |
commit | f85036da43d38818ea16fc7f05d675c9513ddc1e (patch) | |
tree | ae02035ebd2616d5f069c4ef049a2237ccd91e2a /make/autoconf/otp.m4 | |
parent | 5400ccf243a31d664153a4b9ceb9de3edfce1e0e (diff) | |
download | erlang-f85036da43d38818ea16fc7f05d675c9513ddc1e.tar.gz |
erts: Fix ic/dc config tests and usage
Fixes #7120
Diffstat (limited to 'make/autoconf/otp.m4')
-rw-r--r-- | make/autoconf/otp.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make/autoconf/otp.m4 b/make/autoconf/otp.m4 index 98b8ea5f61..a522fae3bd 100644 --- a/make/autoconf/otp.m4 +++ b/make/autoconf/otp.m4 @@ -1458,7 +1458,7 @@ AC_DEFUN(ETHR_CHK_GCC_ATOMIC_OPS, [ ethr_cv_arm_isb_sy_instr=no AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ - __asm__ __volatile__("isb sy" : : : "memory"); + __asm__ __volatile__("isb sy\n" : : : "memory"); ]])],[ethr_cv_arm_isb_sy_instr=yes],[]) ]) if test $ethr_cv_arm_isb_sy_instr = yes; then @@ -1468,7 +1468,7 @@ AC_DEFUN(ETHR_CHK_GCC_ATOMIC_OPS, [ ethr_cv_arm_dc_cvau_instr=no AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ - char data[512]; __asm__ __volatile__("dc cvau, %0" : "r" (data) : : "memory"); + char data[512]; __asm__ __volatile__("dc cvau, %0\n" :: "r" (data) : "memory"); ]])],[ethr_cv_arm_dc_cvau_instr=yes],[]) ]) if test $ethr_cv_arm_dc_cvau_instr = yes; then @@ -1478,7 +1478,7 @@ AC_DEFUN(ETHR_CHK_GCC_ATOMIC_OPS, [ ethr_cv_arm_ic_ivau_instr=no AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ - char data[512]; __asm__ __volatile__("ic ivau, %0" : "r" (data) : : "memory"); + char data[512]; __asm__ __volatile__("ic ivau, %0\n" :: "r" (data) : "memory"); ]])],[ethr_cv_arm_ic_ivau_instr=yes],[]) ]) if test $ethr_cv_arm_ic_ivau_instr = yes; then |