forked from OSchip/llvm-project
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:
parent
a35af82429
commit
f98fc352b8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue