https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121000
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Why do you need CLASS_OF_SIZE argument? If count is in bytes, simply pass 1 to the TYPE_SIZE_UNIT argument. ACCESS_MODE can be in the same argument as TYPE_OF_SIZE, type of the INTEGER_CST will be TYPE_OF_SIZE, while the value can be the -1/0/1/2/3 access mode. If you need further flags, just or them in (either change -1 to 4, or use say -4/0/4/8/12 for ACCESS_MODE and low 2 bits for other flags).