https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123914
Bug ID: 123914
Summary: MAX_FIXED_MODE_SIZE is missnamed
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: internal-improvement
Severity: enhancement
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
When I was trying to use MAX_FIXED_MODE_SIZE in ifcvt.cc I thought it was the
number of units (bytes) and is able to compare against GET_MODE_SIZE BUT nope.
It is the number of bits.
This has always been defined this way (well back to 1996). I am shocked nobody
has ran into this until now.
I am not sure if we should change the name of MAX_FIXED_MODE_SIZE to
MAX_FIXED_MODE_BITSIZE but maybe we should so folks don't get mixed again.