Yes, it does. The pointer cast to a long and the cast of a long to a pointer e.g. in pex-win32 leads under x86_64 to an serious pointer-truncation. Windows x86 may have pointers exceeding the 2^31 range. For linux on x86_64 it would fit, because the long has the sizeof a pointer, but this isn't so for mingw ;(
Regards, i.A. Kai Tietz ---------------------------------------- Kai Tietz - Software engineering OneVision Software Entwicklungs GmbH & Co KG Dr.-Leo-Ritter-Str. 9, 93049 Regensburg, Germany Phone: +49-941-78004-0 FAX: +49-941-78004-489 WWW: http://www.OneVision.com DJ Delorie <[EMAIL PROTECTED]> 08.03.2007 17:30 To [EMAIL PROTECTED] cc gcc@gcc.gnu.org Subject Re: What does coding-style tells about integer types for pointers ? > In libiberty I found the following points. Do any of these cause real failures?