This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32
- From: "iant at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Jul 2012 20:52:27 +0000
- Subject: [Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32
- Auto-submitted: auto-generated
- References: <bug-53912-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912
--- Comment #7 from iant at google dot com <iant at google dot com> 2012-07-19 20:52:27 UTC ---
On Thu, Jul 19, 2012 at 1:32 PM, Rainer Emrich
<rainer@emrich-ebersheim.de> wrote:
> ../../../src/gcc-4.8.0/gcc/pointer-set.c: In function 'size_t hash1(const void*,
> long unsigned int, long unsigned int)':
> ../../../src/gcc-4.8.0/gcc/pointer-set.c:67:32: error: cast from 'const void*'
> to 'long unsigned int' loses precision [-fpermissive]
> return ((A * (unsigned long) p) >> shift) & (max - 1);
Same fix. s/unsigned long/uintptr_t/ .
Ian