From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id EA00F385084B; Fri, 3 Jun 2022 14:04:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA00F385084B Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] configure: Check -fno-tree-loop-distribute-patterns X-Act-Checkin: glibc X-Git-Author: Fangrui Song X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 8fe0670b2e48e9ee32cf5d463b0ff2859f228119 X-Git-Newrev: d5314bdd390886788217a3106b4e1b0011341700 Message-Id: <20220603140444.EA00F385084B@sourceware.org> Date: Fri, 3 Jun 2022 14:04:44 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2022 14:04:45 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d5314bdd390886788217a3106b4e1b0011341700 commit d5314bdd390886788217a3106b4e1b0011341700 Author: Fangrui Song Date: Sun Sep 26 00:15:23 2021 -0700 configure: Check -fno-tree-loop-distribute-patterns Diff: --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 83009454a8..779c7b8891 100755 --- a/configure +++ b/configure @@ -6431,7 +6431,7 @@ __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns"))) foo (void) {} EOF libc_cv_cc_loop_to_function=no -if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c' +if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -Werror -c conftest.c' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? diff --git a/configure.ac b/configure.ac index 06bb2d79e7..d9c8872a5f 100644 --- a/configure.ac +++ b/configure.ac @@ -1505,7 +1505,7 @@ __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns"))) foo (void) {} EOF libc_cv_cc_loop_to_function=no -if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c]) +if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -Werror -c conftest.c]) then libc_cv_cc_loop_to_function=yes fi