PR4247: Widen the buffer slightly so it can hold all the definitions for

PPC double double.

(No testcase because no normal target uses the format at the moment.)

llvm-svn: 72310
This commit is contained in:
Eli Friedman 2009-05-23 02:03:39 +00:00
parent a35af82429
commit f98fc352b8
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ static void DefineFloatMacros(std::vector<char> &Buf, const char *Prefix,
"1.18973149535723176502e+4932L",
"1.79769313486231580793728971405301e+308L");
char MacroBuf[60];
char MacroBuf[64];
sprintf(MacroBuf, "__%s_DENORM_MIN__=%s", Prefix, DenormMin);
DefineBuiltinMacro(Buf, MacroBuf);
sprintf(MacroBuf, "__%s_DIG__=%d", Prefix, Digits);