https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178
uecker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |uecker at gcc dot gnu.org --- Comment #17 from uecker at gcc dot gnu.org --- Fairly limited, but if you only have specific cases where you need this, this worked for me as a workaround: #define TRUNC4(x) { x[0], x[1], x[2], x[3] } static char buf[4] = TRUNC4("aaaa");