------- Comment #1 from pault at gcc dot gnu dot org 2006-10-13 09:20 ------- Created an attachment (id=12422) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12422&action=view) This fixes the immediate problem of the lack of a character length.
I find that, except for constant constructors, the need for padding is not detected at all. Thus the case above segfaults with this patch, unless supplied with enough elements. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29431