pex-* stuff of libiberty is inconsistent in storing pid values: at some places it uses 'pid_t' but at some places it uses 'long'. using long is wrong for win64: pex-win32.c deals with HANDLE values and they must be stored as pid_t, which mingw-w64 headers properly define as int64. the attached patch brings consistency to this and also fixes pid return value checks in pex-win32.c.
-- Summary: libiberty/pex-*, inconsistent/incorrect pid_t usage Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sezeroz at gmail dot com GCC host triplet: x86_64-pc-mingw32 GCC target triplet: x86_64-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39397