public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-10-28 17:45 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:45 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=55b80be76294d95c10d8904a95d4a94cdcc39711

commit 55b80be76294d95c10d8904a95d4a94cdcc39711
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2024-02-09 17:35 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:35 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=19f52e0445fd2e6a126c28c33e3140bd0346464a

commit 19f52e0445fd2e6a126c28c33e3140bd0346464a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 563f6413d2..27851f4196 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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2024-02-07 14:11 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:11 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=864d5ee45151f9d64edf76fed5086300d474d1de

commit 864d5ee45151f9d64edf76fed5086300d474d1de
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 563f6413d2..27851f4196 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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2024-01-29 18:01 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 18:01 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=68b082500aaf401bc081b4a4c388ef6dce9d651a

commit 68b082500aaf401bc081b4a4c388ef6dce9d651a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 563f6413d2..27851f4196 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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2023-12-21 18:57 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:57 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=07c1e8b4985b21147069317c89b5ae39bf09ae4c

commit 07c1e8b4985b21147069317c89b5ae39bf09ae4c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 3b370e4ff7..720e640f16 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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2023-09-28 17:56 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:56 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=32c3c6888b828d4605450fc09e249374fffff3eb

commit 32c3c6888b828d4605450fc09e249374fffff3eb
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 3b370e4ff7..720e640f16 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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2023-08-30 12:40 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:40 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=15ba26874f0062fa4caab51d893dbfac06f5ef99

commit 15ba26874f0062fa4caab51d893dbfac06f5ef99
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 3b370e4ff7..720e640f16 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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2023-02-09 19:52 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:52 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b2472b87fa2d9909972f9d6b4721ef4bee02f5b3

commit b2472b87fa2d9909972f9d6b4721ef4bee02f5b3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 3b370e4ff7..720e640f16 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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-10-04 13:03 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 13:03 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cb006c9f944444fd4e83d89163aed96d5746acd2

commit cb006c9f944444fd4e83d89163aed96d5746acd2
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-06-09 21:23 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:23 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6aa58efbbcbc1e5d28d9ed2f767b0d4e32273f80

commit 6aa58efbbcbc1e5d28d9ed2f767b0d4e32273f80
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-06-09 13:19 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:19 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6aa58efbbcbc1e5d28d9ed2f767b0d4e32273f80

commit 6aa58efbbcbc1e5d28d9ed2f767b0d4e32273f80
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-06-03 14:09 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:09 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=61d925ed6afd2f43ed123bc0c394cb1ce6c9eb5b

commit 61d925ed6afd2f43ed123bc0c394cb1ce6c9eb5b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-05-13 14:22 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:22 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4cda0afd4e3f1d92c9be96a7036e5cdbb6811dab

commit 4cda0afd4e3f1d92c9be96a7036e5cdbb6811dab
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-05-12 19:36 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:36 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cbe4d27ffeee9cdfa3e40fab175e4ae52a56e465

commit cbe4d27ffeee9cdfa3e40fab175e4ae52a56e465
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-05-10 18:27 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:27 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a2d8c3217ad3c3125d1b31eddefd4620c5347e3e

commit a2d8c3217ad3c3125d1b31eddefd4620c5347e3e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-04-29 14:07 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:07 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=796123e04d49c73782d17f7f0541ddd0d5a7aea2

commit 796123e04d49c73782d17f7f0541ddd0d5a7aea2
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-04-04 12:57 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:57 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1e4852808c1f8654ca9a9c705d10734140e61d9c

commit 1e4852808c1f8654ca9a9c705d10734140e61d9c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-03-31 19:09 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:09 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=19426ff137923c6bfe9d05d620f73668be8ffea3

commit 19426ff137923c6bfe9d05d620f73668be8ffea3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign
@ 2022-03-29 20:33 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:33 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bf4c08ca4ced34c53c4ac4220f60f990cb7a2af9

commit bf4c08ca4ced34c53c4ac4220f60f990cb7a2af9
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:00:43 2022 -0300

    malloc: Suppress clang warning on tst-memalign

Diff:
---
 malloc/tst-memalign.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/malloc/tst-memalign.c b/malloc/tst-memalign.c
index 0cef7f71d6..b5933f4741 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;


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-02-09 17:35 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 17:45 [glibc/azanella/clang] malloc: Suppress clang warning on tst-memalign Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-02-09 17:35 Adhemerval Zanella
2024-02-07 14:11 Adhemerval Zanella
2024-01-29 18:01 Adhemerval Zanella
2023-12-21 18:57 Adhemerval Zanella
2023-09-28 17:56 Adhemerval Zanella
2023-08-30 12:40 Adhemerval Zanella
2023-02-09 19:52 Adhemerval Zanella
2022-10-04 13:03 Adhemerval Zanella
2022-06-09 21:23 Adhemerval Zanella
2022-06-09 13:19 Adhemerval Zanella
2022-06-03 14:09 Adhemerval Zanella
2022-05-13 14:22 Adhemerval Zanella
2022-05-12 19:36 Adhemerval Zanella
2022-05-10 18:27 Adhemerval Zanella
2022-04-29 14:07 Adhemerval Zanella
2022-04-04 12:57 Adhemerval Zanella
2022-03-31 19:09 Adhemerval Zanella
2022-03-29 20:33 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).