aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-11-01 17:05:17 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2018-11-01 17:05:17 +0000
commitd8b3b4f4b22e2986a83bce7870d9726fa725ab4d (patch)
tree4fffa356a3380498f939eb31d65e4e55c30fa07f /gcc
parent14408ada007349407914a59351271ce4e738bcaf (diff)
downloadgcc-d8b3b4f4b22e2986a83bce7870d9726fa725ab4d.zip
gcc-d8b3b4f4b22e2986a83bce7870d9726fa725ab4d.tar.gz
gcc-d8b3b4f4b22e2986a83bce7870d9726fa725ab4d.tar.bz2
Avoid stray [] in ia64 assembler test.
Noted in <https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00034.html>. 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rwxr-xr-xgcc/configure3
-rw-r--r--gcc/configure.ac3
3 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7b0950c..003979b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2018-11-01 Joseph Myers <joseph@codesourcery.com>
+
+ * configure.ac (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Add newline
+ at end of assembler input text.
+ * configure: Regenerate.
+
2018-11-01 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/87826
diff --git a/gcc/configure b/gcc/configure
index 577856f..7201e0b 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 aa01d73..a323e0c 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.])])