From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id CB5063850846; Fri, 3 Jun 2022 14:09:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB5063850846 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] malloc: Only enable -Waggressive-loop-optimizations suppression for gcc X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: a4fb161f5a4e63727cc193e009e83b79baa87b2a X-Git-Newrev: 3a89c26e4c74ac8e24fc5f3c6072c64707d665ed Message-Id: <20220603140903.CB5063850846@sourceware.org> Date: Fri, 3 Jun 2022 14:09:03 +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:09:03 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3a89c26e4c74ac8e24fc5f3c6072c64707d665ed commit 3a89c26e4c74ac8e24fc5f3c6072c64707d665ed Author: Adhemerval Zanella Date: Fri Mar 25 09:00:12 2022 -0300 malloc: Only enable -Waggressive-loop-optimizations suppression for gcc Diff: --- malloc/tst-dynarray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/malloc/tst-dynarray.c b/malloc/tst-dynarray.c index 51b99e2a5a..c3a0e925f9 100644 --- a/malloc/tst-dynarray.c +++ b/malloc/tst-dynarray.c @@ -482,7 +482,7 @@ test_long_overflow (void) iteration would invoke undefined behavior. That loop iteration can never be executed because an allocation of this size must fail. */ - DIAG_IGNORE_NEEDS_COMMENT (12, "-Waggressive-loop-optimizations"); + DIAG_IGNORE_NEEDS_COMMENT_GCC (12, "-Waggressive-loop-optimizations"); TEST_VERIFY (!dynarray_long_resize (&dyn, (SIZE_MAX / sizeof (long)) + 1)); DIAG_POP_NEEDS_COMMENT; @@ -499,7 +499,7 @@ test_long_overflow (void) iteration would invoke undefined behavior. That loop iteration can never be executed because an allocation of this size must fail. */ - DIAG_IGNORE_NEEDS_COMMENT (12, "-Waggressive-loop-optimizations"); + DIAG_IGNORE_NEEDS_COMMENT_GCC (12, "-Waggressive-loop-optimizations"); TEST_VERIFY (!dynarray_long_noscratch_resize (&dyn, (SIZE_MAX / sizeof (long)) + 1)); DIAG_POP_NEEDS_COMMENT;