diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-25 09:00:43 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-17 16:12:41 -0300 |
commit | e3dd9164a1fdab2ba9130b1a2d32338f052a281c (patch) | |
tree | a62bde62339d3788cc0cdfc7a485157d3b0399f5 /malloc | |
parent | 5e66de71ee1840cf204ea9cb865edd1e7a9595ab (diff) | |
download | glibc-e3dd9164a1fdab2ba9130b1a2d32338f052a281c.zip glibc-e3dd9164a1fdab2ba9130b1a2d32338f052a281c.tar.gz glibc-e3dd9164a1fdab2ba9130b1a2d32338f052a281c.tar.bz2 |
malloc: Suppress clang warning on tst-memalign
Diffstat (limited to 'malloc')
-rw-r--r-- | malloc/tst-memalign.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c index 563f641..27851f4 100644 --- a/malloc/tst-memalign.c +++ b/malloc/tst-memalign.c @@ -83,7 +83,11 @@ do_test (void) errno = 0; /* Test to expose integer overflow in malloc internals from BZ #16038. */ + DIAG_PUSH_NEEDS_COMMENT_CLANG; + DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wnon-power-of-two-alignment"); + DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wbuiltin-assume-aligned-alignment"); p = memalign (-1, pagesize); + DIAG_POP_NEEDS_COMMENT_CLANG; save = errno; |