[cfe-commits] r72310 - /cfe/trunk/lib/Frontend/InitPreprocessor.cpp
Eli Friedman
eli.friedman at gmail.com
Fri May 22 19:03:39 PDT 2009
Author: efriedma
Date: Fri May 22 21:03:39 2009
New Revision: 72310
URL: http://llvm.org/viewvc/llvm-project?rev=72310&view=rev
Log:
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.)
Modified:
cfe/trunk/lib/Frontend/InitPreprocessor.cpp
Modified: cfe/trunk/lib/Frontend/InitPreprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitPreprocessor.cpp?rev=72310&r1=72309&r2=72310&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/InitPreprocessor.cpp (original)
+++ cfe/trunk/lib/Frontend/InitPreprocessor.cpp Fri May 22 21:03:39 2009
@@ -161,7 +161,7 @@
"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);
More information about the cfe-commits
mailing list