This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]