diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-24 15:45:46 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-17 16:12:40 -0300 |
commit | e402c515c7b9c2cffc2579c009b0c4059b8dbf64 (patch) | |
tree | a90d92c1a7d1b13628c9dabf9d2d45a85e1bd019 | |
parent | eadc9db07b05cff9e9ab0d52d0c0028ac9d7ffd2 (diff) | |
download | glibc-e402c515c7b9c2cffc2579c009b0c4059b8dbf64.tar.gz glibc-e402c515c7b9c2cffc2579c009b0c4059b8dbf64.tar.xz glibc-e402c515c7b9c2cffc2579c009b0c4059b8dbf64.zip |
stdio: Disable bug23-3 on clang
-rw-r--r-- | stdio-common/bug28.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stdio-common/bug28.c b/stdio-common/bug28.c index 57c8cef195..a716299650 100644 --- a/stdio-common/bug28.c +++ b/stdio-common/bug28.c @@ -5,6 +5,10 @@ int do_test (void) { +#ifdef __clang__ + /* It triggers an infinite loop on clang. */ + return 77; +#else size_t instances = 16384; #define X0 "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d" const char *item = "\na\nabbcd55"; @@ -45,6 +49,7 @@ do_test (void) } free (buf); return 0; +#endif } #define TEST_FUNCTION do_test () #include "../test-skeleton.c" |