diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-24 15:45:46 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-09 16:36:04 -0300 |
commit | 15e3784fd3d53f37e36b567f6eea23d907baaea9 (patch) | |
tree | 1f17ea06382b3802260e0b65c6efa259bc23d703 | |
parent | 6e0522cd1fc5ff4fcebc60712d4e744d09602f8d (diff) | |
download | glibc-15e3784fd3d53f37e36b567f6eea23d907baaea9.tar.gz |
stdio: Disable bug23-3 on clang
-rw-r--r-- | stdio-common/bug23-3.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stdio-common/bug23-3.c b/stdio-common/bug23-3.c index 57c8cef195..a716299650 100644 --- a/stdio-common/bug23-3.c +++ b/stdio-common/bug23-3.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" |