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

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

commit 46a4abd2e43c720020d51da86f35aa9b1cfec92f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 41b2e22641..65ffd31925 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2024-04-17 20:13 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-04-17 20:13 UTC (permalink / raw)
  To: glibc-cvs

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

commit 513a0b4b8b79fab04adf096e76c9dbd7cee3029d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index de2b9d17ee..03504f4392 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2024-04-02 15:59 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-04-02 15:59 UTC (permalink / raw)
  To: glibc-cvs

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

commit 7acc54efe0c86c8cc0e26aede329955e595a788f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index de2b9d17ee..03504f4392 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2024-02-09 17:37 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:37 UTC (permalink / raw)
  To: glibc-cvs

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

commit 0974bec8f4835d84933399a914fb18e71cfa2efc
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index de2b9d17ee..03504f4392 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2024-02-07 14:12 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:12 UTC (permalink / raw)
  To: glibc-cvs

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

commit 4f4faba57c79e14db379331f8cd1932b02525b2b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index de2b9d17ee..03504f4392 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2024-01-29 18:03 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 18:03 UTC (permalink / raw)
  To: glibc-cvs

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

commit b9729e89b9ac20a3552e6ae9228d2d1dde5447ab
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index de2b9d17ee..03504f4392 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2023-12-21 18:59 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:59 UTC (permalink / raw)
  To: glibc-cvs

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

commit 12b88d610554accc6442937821a4817dd95eaaeb
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index adcbf33c20..7396c624c1 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2023-09-28 17:57 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:57 UTC (permalink / raw)
  To: glibc-cvs

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

commit c8aaadc449112a9f276a4c7eac84d47360a5ee5a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index adcbf33c20..7396c624c1 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2023-08-30 12:42 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:42 UTC (permalink / raw)
  To: glibc-cvs

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

commit df2ee645967b60e9d84df02c9557175c51619349
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index adcbf33c20..7396c624c1 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2023-02-09 19:53 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:53 UTC (permalink / raw)
  To: glibc-cvs

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

commit 4ab007266ec3fb510f876e7b1d38e62d71db9623
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 7cc69dc716..e3fdf74c00 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2022-10-04 13:04 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 13:04 UTC (permalink / raw)
  To: glibc-cvs

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

commit 0ba11189879bbe68c6d658aa95ae14d411697fae
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 41b2e22641..65ffd31925 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");

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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2022-06-09 21:26 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:26 UTC (permalink / raw)
  To: glibc-cvs

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

commit b2ea576d35440acc1d2e77d590fa1cf0700b7ba0
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 41b2e22641..65ffd31925 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");


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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2022-06-09 13:22 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:22 UTC (permalink / raw)
  To: glibc-cvs

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

commit b2ea576d35440acc1d2e77d590fa1cf0700b7ba0
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 41b2e22641..65ffd31925 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");


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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2022-06-03 14:12 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:12 UTC (permalink / raw)
  To: glibc-cvs

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

commit 627c61cfc03a3412b4b09daaa5d2a7b51a69a09b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 41b2e22641..65ffd31925 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");


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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2022-05-13 14:25 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:25 UTC (permalink / raw)
  To: glibc-cvs

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

commit e1a1a382756d410434833c5dd3ed2923fe0e93bc
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 41b2e22641..65ffd31925 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");


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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2022-05-12 19:39 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:39 UTC (permalink / raw)
  To: glibc-cvs

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

commit d94d428e01964431a79054d972abbc0f49e2e35b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 41b2e22641..65ffd31925 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");


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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2022-05-10 18:30 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:30 UTC (permalink / raw)
  To: glibc-cvs

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

commit e139b84815b1509de08cc29f43a3be480bfbd900
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 41b2e22641..65ffd31925 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");


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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2022-04-29 14:10 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:10 UTC (permalink / raw)
  To: glibc-cvs

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

commit 8fc7dcdd7723bde8ec781ea0409bedda4900fec8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 41b2e22641..65ffd31925 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");


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

* [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang
@ 2022-04-04 13:00 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 13:00 UTC (permalink / raw)
  To: glibc-cvs

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

commit 5b2e20791ccc1dcdd91b3302e947040647df0495
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Apr 1 23:51:04 2022 -0300

    stdio: Fix tst-vfprintf-user-type on clang
    
    clang always evaluate the pointer alias compasion as false.

Diff:
---
 stdio-common/tst-vfprintf-user-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdio-common/tst-vfprintf-user-type.c b/stdio-common/tst-vfprintf-user-type.c
index 41b2e22641..65ffd31925 100644
--- a/stdio-common/tst-vfprintf-user-type.c
+++ b/stdio-common/tst-vfprintf-user-type.c
@@ -183,7 +183,7 @@ do_test (void)
 #else
   extern int asprintf_alias (char **, const char *, ...) __asm__ ("asprintf");
 #endif
-  TEST_VERIFY (asprintf_alias == asprintf);
+  TEST_VERIFY ((uintptr_t) asprintf_alias == (uintptr_t) asprintf);
   char *str = NULL;
   TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0);
   TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]");


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

end of thread, other threads:[~2024-04-17 20:13 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:47 [glibc/azanella/clang] stdio: Fix tst-vfprintf-user-type on clang Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-04-17 20:13 Adhemerval Zanella
2024-04-02 15:59 Adhemerval Zanella
2024-02-09 17:37 Adhemerval Zanella
2024-02-07 14:12 Adhemerval Zanella
2024-01-29 18:03 Adhemerval Zanella
2023-12-21 18:59 Adhemerval Zanella
2023-09-28 17:57 Adhemerval Zanella
2023-08-30 12:42 Adhemerval Zanella
2023-02-09 19:53 Adhemerval Zanella
2022-10-04 13:04 Adhemerval Zanella
2022-06-09 21:26 Adhemerval Zanella
2022-06-09 13:22 Adhemerval Zanella
2022-06-03 14:12 Adhemerval Zanella
2022-05-13 14:25 Adhemerval Zanella
2022-05-12 19:39 Adhemerval Zanella
2022-05-10 18:30 Adhemerval Zanella
2022-04-29 14:10 Adhemerval Zanella
2022-04-04 13:00 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).