On Mon, Jun 17, 2019 at 01:13:43PM -0600, Jeff Law wrote: > > (Hopefully one day GET_MODE_SIZE & co. will assert on BLKmode and VOIDmode.) > Yea. Not sure why. There's probably a compile-time hit, but I suspect > it'd turn up some interesting bugs.
There turn out to be at least twenty or so places in GCC that rely on the size of BLKmode and VOIDmode being 0, currently. After those I gave up. Maybe it's easier to first only handle BLKmode? Or have a GET_MODE_SIZE_INTERNAL for all places that currently handle size 0 fine? Segher