[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug gas/21934] gas build fails when using gcc 7
From: |
Nick Clifton |
Subject: |
Re: [Bug gas/21934] gas build fails when using gcc 7 |
Date: |
Wed, 9 Aug 2017 17:46:33 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Hi H.J.
> 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.
Cheers
Nick
- [Bug gas/21934] New: gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/09
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/09
- Re: [Bug gas/21934] gas build fails when using gcc 7,
Nick Clifton <=
- [Bug gas/21934] gas build fails when using gcc 7, nickc at redhat dot com, 2017/08/09
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/09
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/12