https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108483
--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > I doubt this will be changed anytime soon, see PR 4210 for the history on > why. That PR is about an UB case though. In this case the code is perfectly well defined (just IB). The warning code here sees a sizeof divided by a sizeof and wants to warn for it as being maybe wrong, although it would be pretty easy to see it isn't.