From 005f915e163c548cfe6be2ab9adc5e0625da80a3 Mon Sep 17 00:00:00 2001 From: Jack Howarth Date: Tue, 30 Jun 2015 02:10:43 +0000 Subject: [PATCH] re PR target/66509 (the new clang-based assembler in Xcode 7 on 10.11 fails on the libjava/java/lang/reflect/natArray.cc file from FSF gcc 5.1 at -m32) PR target/66509 * configure.ac: Fix filds and fildq test for 64-bit. * configure: Regenerated. From-SVN: r225158 --- gcc/ChangeLog | 6 ++++++ gcc/configure | 4 ++-- gcc/configure.ac | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fc4a4424645..2625e4b7938 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-06-29 Jack Howarth + + PR target/66509 + * configure.ac: Fix filds and fildq test for 64-bit. + * configure: Regenerated. + 2015-06-29 Nathan Sidwell * config/nvptx/nvptx.md (nvptx_reorg_subreg): New fn, broken out of ... diff --git a/gcc/configure b/gcc/configure index 3f3f5785d57..0d5c71a639b 100755 --- a/gcc/configure +++ b/gcc/configure @@ -25048,7 +25048,7 @@ if test "${gcc_cv_as_ix86_filds+set}" = set; then : else gcc_cv_as_ix86_filds=no if test x$gcc_cv_as != x; then - $as_echo 'filds mem; fists mem' > conftest.s + $as_echo 'filds (%ebp); fists (%ebp)' > conftest.s if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 @@ -25079,7 +25079,7 @@ if test "${gcc_cv_as_ix86_fildq+set}" = set; then : else gcc_cv_as_ix86_fildq=no if test x$gcc_cv_as != x; then - $as_echo 'fildq mem; fistpq mem' > conftest.s + $as_echo 'fildq (%ebp); fistpq (%ebp)' > conftest.s if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 diff --git a/gcc/configure.ac b/gcc/configure.ac index 85f72d50dbf..88aecdbf3e1 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3885,13 +3885,13 @@ foo: nop gcc_GAS_CHECK_FEATURE([filds and fists mnemonics], gcc_cv_as_ix86_filds,,, - [filds mem; fists mem],, + [filds (%ebp); fists (%ebp)],, [AC_DEFINE(HAVE_AS_IX86_FILDS, 1, [Define if your assembler uses filds and fists mnemonics.])]) gcc_GAS_CHECK_FEATURE([fildq and fistpq mnemonics], gcc_cv_as_ix86_fildq,,, - [fildq mem; fistpq mem],, + [fildq (%ebp); fistpq (%ebp)],, [AC_DEFINE(HAVE_AS_IX86_FILDQ, 1, [Define if your assembler uses fildq and fistq mnemonics.])]) -- 2.30.2