on line 6197 to 6205: unsigned char buf[5]; unsigned int i, len; unsigned long offset; for (i = 0; i < 9; i++) { GET_OP (buf[i]); if ((buf[i] & 0x80) == 0) break; }
An obviously small wrong definition on the size of buf, which will cause cc1.exe to treat warnings as errors. Change size [5] to [9], am I right? -- Summary: a small miscode in binutils/readelf.c Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aflyhorse at foxmail dot com GCC build triplet: i686-pc-mingw32 GCC host triplet: i686-pc-mingw32 GCC target triplet: x86_64-w64-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43420