aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorAndre Vieira <andre.simoesdiasvieira@arm.com>2023-03-14 09:51:38 +0000
committerAndre Vieira <andre.simoesdiasvieira@arm.com>2023-03-14 09:53:17 +0000
commitb109964ddb421cf481828a2f3465751a2bd6a8f6 (patch)
treea5bb8295fe89bd319f620a80075c28be0efc8761 /gcc/expr.cc
parent72b52751c60abb327c73716259485d04b8eabe4f (diff)
downloadgcc-b109964ddb421cf481828a2f3465751a2bd6a8f6.zip
gcc-b109964ddb421cf481828a2f3465751a2bd6a8f6.tar.gz
gcc-b109964ddb421cf481828a2f3465751a2bd6a8f6.tar.bz2
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.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions