https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116090
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 58757 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58757&action=edit Slightly reduced if we change opt_c to be bool rather than `unsigned char`, there is no warning. I have not looked into why. Note SRA uses `unsigned char` here for bool fields and that seemly is the issue.