https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117429
--- Comment #2 from Anonymous <iamanonymous.cs at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > Actually I think the issue is flatten attribute rather than fsanitize=bool > causing this. That is it is most likely a dup of bug 103819 . Yes, Andrew, I agree with you, this is related to flatten.