https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109005
--- Comment #24 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andre Simoes Dias Vieira <avie...@gcc.gnu.org>: https://gcc.gnu.org/g:b109964ddb421cf481828a2f3465751a2bd6a8f6 commit r13-6654-gb109964ddb421cf481828a2f3465751a2bd6a8f6 Author: Andre Vieira <andre.simoesdiasvie...@arm.com> Date: Tue Mar 14 09:51:38 2023 +0000 ifcvt: Lower bitfields only if suitable for scalar register [PR 109005] This patch fixes the condition check for eligilibity of lowering bitfields, where before we would check for non-BLKmode types, in the hope of excluding unsuitable aggregate types, we now check directly the representative is not an aggregate type, i.e. suitable for a scalar register. gcc/ChangeLog: PR tree-optimization/109005 * tree-if-conv.cc (get_bitfield_rep): Replace BLKmode check with aggregate type check.