> Why don't I see on i386 cross to x86_64? We have
No idea. I was wondering that too.
> static char output_invalid_buf[sizeof (unsigned char) * 2 + 6];
> It has 8 bytes, not 5.
But the printing of the value starts three bytes into the buffer
which is why gcc says that there are only 5 bytes left.
The warning looks wrong to me though, since the value has been
cast to an unsigned char, so no sign extension should be happening.
I was debating as to whether this was worth pursuing or whether
it would be simpler to just accept the patch and be done with it.
bug-binutils mailing list