https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69487
--- Comment #2 from Roger Orr <rogero at howzatt dot demon.co.uk> --- A braced initializer of characters appears to work consistently with both compile time and run time arrays. char buffer[size] = { 'a', 'b' }; produces a buffer with 'a', 'b' and zero padded whether size is a compile time constant or a runtime value.