------- Additional Comments From jblomqvi at cc dot hut dot fi 2004-10-31 13:47 ------- I'm reopening this PR since a bug crept in, apparently Paul changed the code to be C89 conformant while it depended on C99 VLA:s to function properly. If you look at intrinsic.c:check_intrinsic_standard you see that originally it contained:
int name_len; name_len = strlen(name); char msgstr[name_len + 53]; while the committed version has: int name_len; char msgstr[name_len + 53]; i.e. msgstr is allocated before the correct length is known. I'll try to fix it asap with some __builtin_alloca magic.. -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17590