https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97844

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
>From Bug 119429 comment 17:

If I make the file `ignorelist.txt`:

```
#!special-case-list-v1

[integer]
# src:.*gcc.*include.*c\+\+.*
```

And then compile with:

```
clang++ -std=c++23 -fsanitize=integer -fno-sanitize-recover=all
-fsanitize-ignorelist=ignorelist.txt example.cc -o example
```

The `UndefinedBehaviorSanitizer` is no longer getting triggered, or being
injected into the libstdc++ code for that matter.

Reply via email to