diff options
author | Kito Cheng <kito.cheng@sifive.com> | 2024-11-06 11:47:03 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2024-11-12 21:56:06 +0800 |
commit | 1b35b929354c41f3e2682aa7a30013e1bfe31bd4 (patch) | |
tree | 76f1a368b8b30ea0689093a6a5f6bbb7234cb017 | |
parent | 4d2cd304714fddc8a995fc0311090fce7e70c122 (diff) | |
download | gcc-1b35b929354c41f3e2682aa7a30013e1bfe31bd4.zip gcc-1b35b929354c41f3e2682aa7a30013e1bfe31bd4.tar.gz gcc-1b35b929354c41f3e2682aa7a30013e1bfe31bd4.tar.bz2 |
libsanitizer: update test
gcc/testsuite/ChangeLog:
* c-c++-common/ubsan/builtin-1.c: Update test case due to
sanitizer has change the error message.
-rw-r--r-- | gcc/testsuite/c-c++-common/ubsan/builtin-1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/c-c++-common/ubsan/builtin-1.c b/gcc/testsuite/c-c++-common/ubsan/builtin-1.c index 2f340e3..3d5291b 100644 --- a/gcc/testsuite/c-c++-common/ubsan/builtin-1.c +++ b/gcc/testsuite/c-c++-common/ubsan/builtin-1.c @@ -30,7 +30,7 @@ main () } /* { dg-output "FOO MARKER1(\n|\r\n|\r)" } */ -/* { dg-output "(\[^\n\r]*runtime error: passing zero to ctz\\\(\\\), which is not a valid argument\[^\n\r]*(\n|\r\n|\r)){4}" } */ +/* { dg-output "(\[^\n\r]*runtime error: passing zero to __builtin_ctz\\\(\\\), which is not a valid argument\[^\n\r]*(\n|\r\n|\r)){4}" } */ /* { dg-output "FOO MARKER2(\n|\r\n|\r)" } */ -/* { dg-output "(\[^\n\r]*runtime error: passing zero to clz\\\(\\\), which is not a valid argument\[^\n\r]*(\n|\r\n|\r)){4}" } */ +/* { dg-output "(\[^\n\r]*runtime error: passing zero to __builtin_clz\\\(\\\), which is not a valid argument\[^\n\r]*(\n|\r\n|\r)){4}" } */ /* { dg-output "FOO MARKER3" } */ |