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/33122] New: Mistaken type mismatch error prevents bootstrap


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


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