https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98608
--- Comment #2 from Martin Uecker <muecker at gwdg dot de> --- The problem is actually the missing sanitizer instrumentation of the parameter type. This is easy to fix, but then I run into the problem that a lot of code has n == 0 in parameters. Having an option to avoid the instrumentation (PR98609) might help.