This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/33122] New: Mistaken type mismatch error prevents bootstrap
- From: "nickc at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Aug 2007 13:42:40 -0000
- Subject: [Bug bootstrap/33122] New: Mistaken type mismatch error prevents bootstrap
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Bootstrapping gcc from the 19 Aug 2008 mainline sources (and possibly earlier
and/or later) with an integrated source tree containing the binutils mainline
sources fails with:
gcc/current/opcodes/i386-dis.c: In function 'dofloat':
gcc/current/opcodes/i386-dis.c:4193: error: type mismatch in pointer plus
expression
struct dis386 *
struct dis386[8] *
long unsigned int
dp = &float_reg + D.7971
The source line in question (line 4213 in opcodes/i386-dis.c) is correct:
dp = &float_reg[floatop - 0xd8][modrm.reg];
where dp is a "const struct dis386 *" and float_reg is a "const struct dis386
[][8]"
--
Summary: Mistaken type mismatch error prevents bootstrap
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nickc at redhat dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33122