From 996c55f19530aa827a52b16600238583b6741817 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Mon, 12 Aug 2024 15:21:06 +0900 Subject: [PATCH] configury: fix IGNORE_TKR check As reported by Chris Parrott in #12681, the enhanced test was buggy. Pass the expected argument to make it Fortran compliant and LLVM 17 and above happy compilers Signed-off-by: Gilles Gouaillardet --- config/ompi_fortran_check_ignore_tkr.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ompi_fortran_check_ignore_tkr.m4 b/config/ompi_fortran_check_ignore_tkr.m4 index ac23f42b913..2be844f13d2 100644 --- a/config/ompi_fortran_check_ignore_tkr.m4 +++ b/config/ompi_fortran_check_ignore_tkr.m4 @@ -214,7 +214,7 @@ AC_DEFUN([OMPI_FORTRAN_CHECK_IGNORE_TKR_SUB], [ implicit none real, intent(inout) :: var(:, :, :) - call foobar(var(1,1,1), 1) + call foobar(var, 1) ! Autoconf puts "end" after the last line ]]), [msg=yes