* PGI 6.1 kind of (but not completely) supports GCC inline assembly. Previous
versions didn't even make an attempt. Disable the not-quite-right issues inline assembly support with PGI 6.1. This commit was SVN r9240.
Этот коммит содержится в:
родитель
bbfd10fb39
Коммит
b57a6b4a62
@ -523,6 +523,11 @@ AC_DEFUN([OMPI_CHECK_INLINE_C_GCC],[
|
||||
|
||||
AC_MSG_CHECKING([if $CC supports GCC inline assembly])
|
||||
|
||||
if test "$ompi_cv_c_compiler_vendor" = "portland group" ; then
|
||||
# PGI seems to have some issues with our inline assembly.
|
||||
# Disable for now.
|
||||
asm_result="no (Portland Group)"
|
||||
else
|
||||
case $host in
|
||||
*-aix*)
|
||||
# the AIX compilers and linkers really don't do gcc
|
||||
@ -553,6 +558,7 @@ __asm__ __volatile__ ($assembly);
|
||||
return ret;]]),
|
||||
[asm_result="yes"], [asm_result="no"])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT([$asm_result])
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user