public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] string: Disable function_overload test on clang
@ 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=a529917387fec197cb70c0c20ff2f199298b3e94

commit a529917387fec197cb70c0c20ff2f199298b3e94
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jul 27 16:17:28 2023 -0300

    string: Disable function_overload test on clang
    
    The test generates an ICE with clang 18.0.

Diff:
---
 sysdeps/x86/tst-strncmp-rtm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysdeps/x86/tst-strncmp-rtm.c b/sysdeps/x86/tst-strncmp-rtm.c
index af80f2ca76..9312bb879b 100644
--- a/sysdeps/x86/tst-strncmp-rtm.c
+++ b/sysdeps/x86/tst-strncmp-rtm.c
@@ -62,6 +62,7 @@ function (void)
     return 1;
 }
 
+#ifndef __clang__
 __attribute__ ((noinline)) __attribute_noclone__
 static int
 function_overflow (void)
@@ -71,6 +72,7 @@ function_overflow (void)
   else
     return 1;
 }
+#endif
 
 __attribute__ ((noinline, noclone))
 static int
@@ -88,9 +90,11 @@ do_test (void)
   int status = do_test_1 (TEST_NAME, LOOP, prepare, function);
   if (status != EXIT_SUCCESS)
     return status;
+#ifndef __clang__
   status = do_test_1 (TEST_NAME, LOOP, prepare, function_overflow);
   if (status != EXIT_SUCCESS)
     return status;
+#endif
   status = do_test_1 (TEST_NAME, LOOP, prepare, function_overflow2);
   if (status != EXIT_SUCCESS)
     return status;

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

* [glibc/azanella/clang] string: Disable function_overload test on clang
@ 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=93f896f657530df360d3b943f1bdfde7cd6fe3a3

commit 93f896f657530df360d3b943f1bdfde7cd6fe3a3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jul 27 16:17:28 2023 -0300

    string: Disable function_overload test on clang
    
    The test generates an ICE with clang 18.0.

Diff:
---
 sysdeps/x86/tst-strncmp-rtm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysdeps/x86/tst-strncmp-rtm.c b/sysdeps/x86/tst-strncmp-rtm.c
index 295b2c7520..e9f48937f4 100644
--- a/sysdeps/x86/tst-strncmp-rtm.c
+++ b/sysdeps/x86/tst-strncmp-rtm.c
@@ -62,6 +62,7 @@ function (void)
     return 1;
 }
 
+#ifndef __clang__
 __attribute__ ((noinline)) __attribute_noclone__
 static int
 function_overflow (void)
@@ -71,6 +72,7 @@ function_overflow (void)
   else
     return 1;
 }
+#endif
 
 __attribute__ ((noinline, noclone))
 static int
@@ -88,9 +90,11 @@ do_test (void)
   int status = do_test_1 (TEST_NAME, LOOP, prepare, function);
   if (status != EXIT_SUCCESS)
     return status;
+#ifndef __clang__
   status = do_test_1 (TEST_NAME, LOOP, prepare, function_overflow);
   if (status != EXIT_SUCCESS)
     return status;
+#endif
   status = do_test_1 (TEST_NAME, LOOP, prepare, function_overflow2);
   if (status != EXIT_SUCCESS)
     return status;

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

* [glibc/azanella/clang] string: Disable function_overload test on clang
@ 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=ed2b0cf907cf64ea57809b5fbdc50797bf6f0109

commit ed2b0cf907cf64ea57809b5fbdc50797bf6f0109
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jul 27 16:17:28 2023 -0300

    string: Disable function_overload test on clang
    
    The test generates an ICE with clang 18.0.

Diff:
---
 sysdeps/x86/tst-strncmp-rtm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysdeps/x86/tst-strncmp-rtm.c b/sysdeps/x86/tst-strncmp-rtm.c
index af80f2ca76..9312bb879b 100644
--- a/sysdeps/x86/tst-strncmp-rtm.c
+++ b/sysdeps/x86/tst-strncmp-rtm.c
@@ -62,6 +62,7 @@ function (void)
     return 1;
 }
 
+#ifndef __clang__
 __attribute__ ((noinline)) __attribute_noclone__
 static int
 function_overflow (void)
@@ -71,6 +72,7 @@ function_overflow (void)
   else
     return 1;
 }
+#endif
 
 __attribute__ ((noinline, noclone))
 static int
@@ -88,9 +90,11 @@ do_test (void)
   int status = do_test_1 (TEST_NAME, LOOP, prepare, function);
   if (status != EXIT_SUCCESS)
     return status;
+#ifndef __clang__
   status = do_test_1 (TEST_NAME, LOOP, prepare, function_overflow);
   if (status != EXIT_SUCCESS)
     return status;
+#endif
   status = do_test_1 (TEST_NAME, LOOP, prepare, function_overflow2);
   if (status != EXIT_SUCCESS)
     return status;

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

* [glibc/azanella/clang] string: Disable function_overload test on clang
@ 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=c5f53901268b69a10c85789e226d251f359d1a71

commit c5f53901268b69a10c85789e226d251f359d1a71
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jul 27 16:17:28 2023 -0300

    string: Disable function_overload test on clang
    
    The test generates an ICE with clang 18.0.

Diff:
---
 sysdeps/x86/tst-strncmp-rtm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysdeps/x86/tst-strncmp-rtm.c b/sysdeps/x86/tst-strncmp-rtm.c
index af80f2ca76..9312bb879b 100644
--- a/sysdeps/x86/tst-strncmp-rtm.c
+++ b/sysdeps/x86/tst-strncmp-rtm.c
@@ -62,6 +62,7 @@ function (void)
     return 1;
 }
 
+#ifndef __clang__
 __attribute__ ((noinline)) __attribute_noclone__
 static int
 function_overflow (void)
@@ -71,6 +72,7 @@ function_overflow (void)
   else
     return 1;
 }
+#endif
 
 __attribute__ ((noinline, noclone))
 static int
@@ -88,9 +90,11 @@ do_test (void)
   int status = do_test_1 (TEST_NAME, LOOP, prepare, function);
   if (status != EXIT_SUCCESS)
     return status;
+#ifndef __clang__
   status = do_test_1 (TEST_NAME, LOOP, prepare, function_overflow);
   if (status != EXIT_SUCCESS)
     return status;
+#endif
   status = do_test_1 (TEST_NAME, LOOP, prepare, function_overflow2);
   if (status != EXIT_SUCCESS)
     return status;

^ 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 function_overload test on clang 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).