From d8b3b4f4b22e2986a83bce7870d9726fa725ab4d Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 1 Nov 2018 17:05:17 +0000 Subject: [PATCH] Avoid stray [] in ia64 assembler test. Noted in . Fix by adding extra newline in test input is analogous to many such newlines added in cases where argument to a newly added AC_LANG_SOURCE had a preprocessor directive on its last line. * configure.ac (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Add newline at end of assembler input text. * configure: Regenerate. From-SVN: r265724 --- gcc/ChangeLog | 6 ++++++ gcc/configure | 3 ++- gcc/configure.ac | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b0950c9db9..003979b4ef1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-11-01 Joseph Myers + + * configure.ac (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Add newline + at end of assembler input text. + * configure: Regenerate. + 2018-11-01 Jakub Jelinek PR tree-optimization/87826 diff --git a/gcc/configure b/gcc/configure index 577856f02ec..7201e0b3fc2 100755 --- a/gcc/configure +++ b/gcc/configure @@ -26646,7 +26646,8 @@ fi $as_echo ' .text addl r15 = @ltoffx(x#), gp ;; - ld8.mov r16 = [r15], x#'[] > conftest.s + ld8.mov r16 = [r15], x# +' > 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 aa01d734d71..a323e0c393a 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4550,7 +4550,8 @@ gd: [ .text addl r15 = @ltoffx(x#), gp ;; - ld8.mov r16 = [[r15]], x#],, + ld8.mov r16 = [[r15]], x# +],, [AC_DEFINE(HAVE_AS_LTOFFX_LDXMOV_RELOCS, 1, [Define if your assembler supports ltoffx and ldxmov relocations.])]) -- 2.30.2