public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] string: Disable test_strncmp (TODO)
@ 2023-12-21 19:00 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 19:00 UTC (permalink / raw)
  To: glibc-cvs

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

commit 70c4e0120f9fe54fe831174ab195b2aa0e740e1d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jul 27 16:14:46 2023 -0300

    string: Disable test_strncmp (TODO)
    
    The test generates an ICE with clang 18.0.

Diff:
---
 string/tester.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/string/tester.c b/string/tester.c
index 1c1bed1296..0a3bd44cca 100644
--- a/string/tester.c
+++ b/string/tester.c
@@ -492,6 +492,7 @@ test_strncat (void)
 	  }
 }
 
+#ifndef __clang__
 static void
 test_strncmp (void)
 {
@@ -513,6 +514,7 @@ test_strncmp (void)
   check (strncmp ("abc", "", (size_t)-1) > 0, 14);	/* set sign bit in count */
   check (strncmp ("abc", "abc", (size_t)-2) == 0, 15);
 }
+#endif
 
 static void
 test_strncpy (void)
@@ -1586,7 +1588,9 @@ main (void)
   test_strncat ();
 
   /* strncmp.  */
+#ifndef __clang__
   test_strncmp ();
+#endif
 
   /* strncpy.  */
   test_strncpy ();

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

* [glibc/azanella/clang] string: Disable test_strncmp (TODO)
@ 2024-01-29 18:03 Adhemerval Zanella
  0 siblings, 0 replies; 4+ 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=b5ef46b5e64cda486fb87525675ce04807754a11

commit b5ef46b5e64cda486fb87525675ce04807754a11
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jul 27 16:14:46 2023 -0300

    string: Disable test_strncmp (TODO)
    
    The test generates an ICE with clang 18.0.

Diff:
---
 string/tester.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/string/tester.c b/string/tester.c
index e98773aa8b..db8f99ea9e 100644
--- a/string/tester.c
+++ b/string/tester.c
@@ -492,6 +492,7 @@ test_strncat (void)
 	  }
 }
 
+#ifndef __clang__
 static void
 test_strncmp (void)
 {
@@ -513,6 +514,7 @@ test_strncmp (void)
   check (strncmp ("abc", "", (size_t)-1) > 0, 14);	/* set sign bit in count */
   check (strncmp ("abc", "abc", (size_t)-2) == 0, 15);
 }
+#endif
 
 static void
 test_strncpy (void)
@@ -1586,7 +1588,9 @@ main (void)
   test_strncat ();
 
   /* strncmp.  */
+#ifndef __clang__
   test_strncmp ();
+#endif
 
   /* strncpy.  */
   test_strncpy ();

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

* [glibc/azanella/clang] string: Disable test_strncmp (TODO)
@ 2023-09-28 17:58 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:58 UTC (permalink / raw)
  To: glibc-cvs

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

commit bbf1af40706c6a687a896ce64f32fe04709c75fd
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jul 27 16:14:46 2023 -0300

    string: Disable test_strncmp (TODO)
    
    The test generates an ICE with clang 18.0.

Diff:
---
 string/tester.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/string/tester.c b/string/tester.c
index 1c1bed1296..0a3bd44cca 100644
--- a/string/tester.c
+++ b/string/tester.c
@@ -492,6 +492,7 @@ test_strncat (void)
 	  }
 }
 
+#ifndef __clang__
 static void
 test_strncmp (void)
 {
@@ -513,6 +514,7 @@ test_strncmp (void)
   check (strncmp ("abc", "", (size_t)-1) > 0, 14);	/* set sign bit in count */
   check (strncmp ("abc", "abc", (size_t)-2) == 0, 15);
 }
+#endif
 
 static void
 test_strncpy (void)
@@ -1586,7 +1588,9 @@ main (void)
   test_strncat ();
 
   /* strncmp.  */
+#ifndef __clang__
   test_strncmp ();
+#endif
 
   /* strncpy.  */
   test_strncpy ();

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

* [glibc/azanella/clang] string: Disable test_strncmp (TODO)
@ 2023-08-30 12:43 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:43 UTC (permalink / raw)
  To: glibc-cvs

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

commit b4ffb93ad05f0315b90d3b7ad627d35272cfef97
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jul 27 16:14:46 2023 -0300

    string: Disable test_strncmp (TODO)
    
    The test generates an ICE with clang 18.0.

Diff:
---
 string/tester.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/string/tester.c b/string/tester.c
index 1c1bed1296..0a3bd44cca 100644
--- a/string/tester.c
+++ b/string/tester.c
@@ -492,6 +492,7 @@ test_strncat (void)
 	  }
 }
 
+#ifndef __clang__
 static void
 test_strncmp (void)
 {
@@ -513,6 +514,7 @@ test_strncmp (void)
   check (strncmp ("abc", "", (size_t)-1) > 0, 14);	/* set sign bit in count */
   check (strncmp ("abc", "abc", (size_t)-2) == 0, 15);
 }
+#endif
 
 static void
 test_strncpy (void)
@@ -1586,7 +1588,9 @@ main (void)
   test_strncat ();
 
   /* strncmp.  */
+#ifndef __clang__
   test_strncmp ();
+#endif
 
   /* strncpy.  */
   test_strncpy ();

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

end of thread, other threads:[~2024-01-29 18:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-21 19:00 [glibc/azanella/clang] string: Disable test_strncmp (TODO) Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-01-29 18:03 Adhemerval Zanella
2023-09-28 17:58 Adhemerval Zanella
2023-08-30 12:43 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).