public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] riscv: Suppress clang confstr -Wignored-attributes feupdateenv
@ 2024-04-17 20:08 Adhemerval Zanella
  0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2024-04-17 20:08 UTC (permalink / raw)
  To: glibc-cvs

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

commit c3e44655e442a1c1341898c9427fc371c4b5cf78
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 28 14:19:51 2023 -0300

    riscv: Suppress clang confstr -Wignored-attributes feupdateenv
    
    clang warns that the alias will be always resolve to
    __GI___feupdateenv even if weak definition of __GI_feupdateenv
    is overridden, which is really the intention.

Diff:
---
 sysdeps/riscv/rvf/feupdateenv.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sysdeps/riscv/rvf/feupdateenv.c b/sysdeps/riscv/rvf/feupdateenv.c
index 4d1cec5ee8..617df86b7a 100644
--- a/sysdeps/riscv/rvf/feupdateenv.c
+++ b/sysdeps/riscv/rvf/feupdateenv.c
@@ -27,4 +27,10 @@ __feupdateenv (const fenv_t *envp)
 }
 libm_hidden_def (__feupdateenv)
 weak_alias (__feupdateenv, feupdateenv)
+/* clang warns that the alias will be always resolve to __GI___feupdateenv
+   even if weak definition of __GI_feupdateenv is overridden, which is really
+   the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (16, "-Wignored-attributes");
 libm_hidden_weak (feupdateenv)
+DIAG_POP_NEEDS_COMMENT_CLANG;

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

* [glibc/azanella/clang] riscv: Suppress clang confstr -Wignored-attributes feupdateenv
@ 2024-04-02 15:54 Adhemerval Zanella
  0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2024-04-02 15:54 UTC (permalink / raw)
  To: glibc-cvs

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

commit fe98b1453b74b0066fa0bb40aeb71e07869a67b6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 28 14:19:51 2023 -0300

    riscv: Suppress clang confstr -Wignored-attributes feupdateenv
    
    clang warns that the alias will be always resolve to
    __GI___feupdateenv even if weak definition of __GI_feupdateenv
    is overridden, which is really the intention.

Diff:
---
 sysdeps/riscv/rvf/feupdateenv.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sysdeps/riscv/rvf/feupdateenv.c b/sysdeps/riscv/rvf/feupdateenv.c
index 4d1cec5ee8..617df86b7a 100644
--- a/sysdeps/riscv/rvf/feupdateenv.c
+++ b/sysdeps/riscv/rvf/feupdateenv.c
@@ -27,4 +27,10 @@ __feupdateenv (const fenv_t *envp)
 }
 libm_hidden_def (__feupdateenv)
 weak_alias (__feupdateenv, feupdateenv)
+/* clang warns that the alias will be always resolve to __GI___feupdateenv
+   even if weak definition of __GI_feupdateenv is overridden, which is really
+   the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (16, "-Wignored-attributes");
 libm_hidden_weak (feupdateenv)
+DIAG_POP_NEEDS_COMMENT_CLANG;

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

* [glibc/azanella/clang] riscv: Suppress clang confstr -Wignored-attributes feupdateenv
@ 2024-02-09 17:32 Adhemerval Zanella
  0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:32 UTC (permalink / raw)
  To: glibc-cvs

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

commit 57a0850db5c0ad334fda874c7c483585e2c8577d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 28 14:19:51 2023 -0300

    riscv: Suppress clang confstr -Wignored-attributes feupdateenv
    
    clang warns that the alias will be always resolve to
    __GI___feupdateenv even if weak definition of __GI_feupdateenv
    is overridden, which is really the intention.

Diff:
---
 sysdeps/riscv/rvf/feupdateenv.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sysdeps/riscv/rvf/feupdateenv.c b/sysdeps/riscv/rvf/feupdateenv.c
index 4d1cec5ee8..617df86b7a 100644
--- a/sysdeps/riscv/rvf/feupdateenv.c
+++ b/sysdeps/riscv/rvf/feupdateenv.c
@@ -27,4 +27,10 @@ __feupdateenv (const fenv_t *envp)
 }
 libm_hidden_def (__feupdateenv)
 weak_alias (__feupdateenv, feupdateenv)
+/* clang warns that the alias will be always resolve to __GI___feupdateenv
+   even if weak definition of __GI_feupdateenv is overridden, which is really
+   the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (16, "-Wignored-attributes");
 libm_hidden_weak (feupdateenv)
+DIAG_POP_NEEDS_COMMENT_CLANG;

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

* [glibc/azanella/clang] riscv: Suppress clang confstr -Wignored-attributes feupdateenv
@ 2024-02-07 14:08 Adhemerval Zanella
  0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:08 UTC (permalink / raw)
  To: glibc-cvs

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

commit 8e03754451488e3417b297a9806befaa02249a29
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 28 14:19:51 2023 -0300

    riscv: Suppress clang confstr -Wignored-attributes feupdateenv
    
    clang warns that the alias will be always resolve to
    __GI___feupdateenv even if weak definition of __GI_feupdateenv
    is overridden, which is really the intention.

Diff:
---
 sysdeps/riscv/rvf/feupdateenv.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sysdeps/riscv/rvf/feupdateenv.c b/sysdeps/riscv/rvf/feupdateenv.c
index 4d1cec5ee8..617df86b7a 100644
--- a/sysdeps/riscv/rvf/feupdateenv.c
+++ b/sysdeps/riscv/rvf/feupdateenv.c
@@ -27,4 +27,10 @@ __feupdateenv (const fenv_t *envp)
 }
 libm_hidden_def (__feupdateenv)
 weak_alias (__feupdateenv, feupdateenv)
+/* clang warns that the alias will be always resolve to __GI___feupdateenv
+   even if weak definition of __GI_feupdateenv is overridden, which is really
+   the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (16, "-Wignored-attributes");
 libm_hidden_weak (feupdateenv)
+DIAG_POP_NEEDS_COMMENT_CLANG;

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

* [glibc/azanella/clang] riscv: Suppress clang confstr -Wignored-attributes feupdateenv
@ 2024-01-29 17:58 Adhemerval Zanella
  0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 17:58 UTC (permalink / raw)
  To: glibc-cvs

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

commit efb8131dae62a767957c46e13b51f4f8c223c0c8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 28 14:19:51 2023 -0300

    riscv: Suppress clang confstr -Wignored-attributes feupdateenv
    
    clang warns that the alias will be always resolve to
    __GI___feupdateenv even if weak definition of __GI_feupdateenv
    is overridden, which is really the intention.

Diff:
---
 sysdeps/riscv/rvf/feupdateenv.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sysdeps/riscv/rvf/feupdateenv.c b/sysdeps/riscv/rvf/feupdateenv.c
index 4d1cec5ee8..617df86b7a 100644
--- a/sysdeps/riscv/rvf/feupdateenv.c
+++ b/sysdeps/riscv/rvf/feupdateenv.c
@@ -27,4 +27,10 @@ __feupdateenv (const fenv_t *envp)
 }
 libm_hidden_def (__feupdateenv)
 weak_alias (__feupdateenv, feupdateenv)
+/* clang warns that the alias will be always resolve to __GI___feupdateenv
+   even if weak definition of __GI_feupdateenv is overridden, which is really
+   the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (16, "-Wignored-attributes");
 libm_hidden_weak (feupdateenv)
+DIAG_POP_NEEDS_COMMENT_CLANG;

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

* [glibc/azanella/clang] riscv: Suppress clang confstr -Wignored-attributes feupdateenv
@ 2023-12-21 18:55 Adhemerval Zanella
  0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:55 UTC (permalink / raw)
  To: glibc-cvs

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

commit 71740db6e90a8c2fc0fcf52d726be8bfaf0822f8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 28 14:19:51 2023 -0300

    riscv: Suppress clang confstr -Wignored-attributes feupdateenv
    
    clang warns that the alias will be always resolve to
    __GI___feupdateenv even if weak definition of __GI_feupdateenv
    is overridden, which is really the intention.

Diff:
---
 sysdeps/riscv/rvf/feupdateenv.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sysdeps/riscv/rvf/feupdateenv.c b/sysdeps/riscv/rvf/feupdateenv.c
index 8a35ffeecc..9ee4dc23dc 100644
--- a/sysdeps/riscv/rvf/feupdateenv.c
+++ b/sysdeps/riscv/rvf/feupdateenv.c
@@ -27,4 +27,10 @@ __feupdateenv (const fenv_t *envp)
 }
 libm_hidden_def (__feupdateenv)
 weak_alias (__feupdateenv, feupdateenv)
+/* clang warns that the alias will be always resolve to __GI___feupdateenv
+   even if weak definition of __GI_feupdateenv is overridden, which is really
+   the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (16, "-Wignored-attributes");
 libm_hidden_weak (feupdateenv)
+DIAG_POP_NEEDS_COMMENT_CLANG;

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

* [glibc/azanella/clang] riscv: Suppress clang confstr -Wignored-attributes feupdateenv
@ 2023-09-28 17:53 Adhemerval Zanella
  0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:53 UTC (permalink / raw)
  To: glibc-cvs

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

commit 58bbb3f985d109845e68bb5ee99803af916f04b0
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 28 14:19:51 2023 -0300

    riscv: Suppress clang confstr -Wignored-attributes feupdateenv
    
    clang warns that the alias will be always resolve to
    __GI___feupdateenv even if weak definition of __GI_feupdateenv
    is overridden, which is really the intention.

Diff:
---
 sysdeps/riscv/rvf/feupdateenv.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sysdeps/riscv/rvf/feupdateenv.c b/sysdeps/riscv/rvf/feupdateenv.c
index 8a35ffeecc..9ee4dc23dc 100644
--- a/sysdeps/riscv/rvf/feupdateenv.c
+++ b/sysdeps/riscv/rvf/feupdateenv.c
@@ -27,4 +27,10 @@ __feupdateenv (const fenv_t *envp)
 }
 libm_hidden_def (__feupdateenv)
 weak_alias (__feupdateenv, feupdateenv)
+/* clang warns that the alias will be always resolve to __GI___feupdateenv
+   even if weak definition of __GI_feupdateenv is overridden, which is really
+   the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (16, "-Wignored-attributes");
 libm_hidden_weak (feupdateenv)
+DIAG_POP_NEEDS_COMMENT_CLANG;

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

end of thread, other threads:[~2024-04-17 20:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17 20:08 [glibc/azanella/clang] riscv: Suppress clang confstr -Wignored-attributes feupdateenv Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-04-02 15:54 Adhemerval Zanella
2024-02-09 17:32 Adhemerval Zanella
2024-02-07 14:08 Adhemerval Zanella
2024-01-29 17:58 Adhemerval Zanella
2023-12-21 18:55 Adhemerval Zanella
2023-09-28 17:53 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).