On Wed, Feb 17, 2021 at 02:38:04PM -0700, Martin Sebor wrote: > How does build_printable_array_type sound?
I'll go with that. > Also, would using TYPE_MAIN_VARIANT whenever TYPE_USER_ALIGN is set > be a simpler solution? (It might not be as refined as the test in > your patch but I don't think we'd be giving up too much by > the simplification.) That seems like a bad idea. TYPE_USER_ALIGN is set quite often, but in most cases the type size is a multiple of the alignment. Jakub