From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 25E393831C92; Thu, 9 Jun 2022 13:18:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 25E393831C92 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] stdio: Disable bug23-3 on clang X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: b3aeab0047bb1035dbdf2ab0451a077fc1dee95e X-Git-Newrev: 48a4f47f0019ec25d1597f455c14c267d9a1bcc9 Message-Id: <20220609131858.25E393831C92@sourceware.org> Date: Thu, 9 Jun 2022 13:18:58 +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: Thu, 09 Jun 2022 13:18:58 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=48a4f47f0019ec25d1597f455c14c267d9a1bcc9 commit 48a4f47f0019ec25d1597f455c14c267d9a1bcc9 Author: Adhemerval Zanella Date: Thu Mar 24 15:45:46 2022 -0300 stdio: Disable bug23-3 on clang Diff: --- stdio-common/bug23-3.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stdio-common/bug23-3.c b/stdio-common/bug23-3.c index 57c8cef195..a716299650 100644 --- a/stdio-common/bug23-3.c +++ b/stdio-common/bug23-3.c @@ -5,6 +5,10 @@ int do_test (void) { +#ifdef __clang__ + /* It triggers an infinite loop on clang. */ + return 77; +#else size_t instances = 16384; #define X0 "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d" const char *item = "\na\nabbcd55"; @@ -45,6 +49,7 @@ do_test (void) } free (buf); return 0; +#endif } #define TEST_FUNCTION do_test () #include "../test-skeleton.c"