[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: manywarnings: -Walloc-size-larger-than & 32bit architectures
From: |
Paul Eggert |
Subject: |
Re: manywarnings: -Walloc-size-larger-than & 32bit architectures |
Date: |
Tue, 1 Aug 2017 09:56:12 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Richard W.M. Jones wrote:
Could this be a bug in GCC? It's turning 2^63-1 into -1 without even
issuing a warning ...
Yes, it's a GCC bug. I filed a bug report here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81650
I installed the attached patch into Gnulib to work around the bug.
0001-manywarnings-port-to-32-bit-GCC-bug.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: manywarnings: -Walloc-size-larger-than & 32bit architectures,
Paul Eggert <=