https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78513
--- Comment #4 from ktkachov at gcc dot gnu.org --- Then GCC 7 won't build any kernel with KASAN until those kernel patches go in? That's unfortunate, but I guess it's not easy to teach GCC to enable -fsanitize-use-after-scope only if the runtime supports the new functions