https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125504
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yes, it is by design. You need to choose what you want, either force inlining,
or require sanitization or lack thereof, the sanitization is a per function
flag, not a per statement, so you can't have parts of a function being
sanitized and different part not sanitized.