This is the mail archive of the
mailing list for the GCC project.
Re: [lto] fix two spec issues
Andreas Schwab wrote:
Nathan Froyd <firstname.lastname@example.org> writes:
--- lto/lto-read.c (revision 131119)
+++ lto/lto-read.c (working copy)
@@ -266,11 +266,16 @@ input_real (struct input_block *ib, stru
unsigned int len;
const char * str;
+ static char buffer;
Why is this big enough?
It's for a real written in hex. It's actually even too big: with 113
bits of mantissa, even 40 bytes would suffice (113 / 4 = 28, plus 0 . p
+ \0 and a handful for the exponent).