This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [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: Ian Lance Taylor <iant at google dot com>
- To: Rainer Emrich <rainer at emrich-ebersheim dot de>
- Cc: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>, gcc at gcc dot gnu dot org
- Date: Thu, 19 Jul 2012 13:52:07 -0700
- Subject: Re: [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
- References: <bug-53912-11564@http.gcc.gnu.org/bugzilla/> <bug-53912-11564-a63IEDpTOG@http.gcc.gnu.org/bugzilla/> <50086EE1.2090009@emrich-ebersheim.de>
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