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 #11 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-19 23:51:11 UTC ---
(In reply to comment #8)
> ../../../src/gcc-4.8.0/gcc/print-tree.c:258:31: error: cast from 'tree' to
> 'long unsigned int' loses precision [-fpermissive]
>        hash = ((unsigned long) node) % HASH_SIZE;
> 
> Same here?

Yes. Anywhere it fails to compile because a pointer type is cast to (unsigned)
long should be cast to (u)intptr_t instead.


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