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 c/12441] New: Can't spill register bug


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12441

           Summary: Can't spill register bug
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: andreas at andreas dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

andreas@meo-dipt:~/gd/build/common/format$ gcc --version
gcc (GCC) 3.3.2 20030908 (Debian prerelease)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

andreas@meo-dipt:~/gd/build/common/format$ gcc -O2 -c gcc-bug.c
gcc-bug.c: In function `formatZformatZbuf_format_integer_METH_INT_next_digit':
gcc-bug.c:148: error: unable to find a register to spill in class `Q_REGS'
gcc-bug.c:148: error: this is the insn:
(insn:HI 381 379 388 12 0x4001a790 (set (mem:QI (plus:SI (plus:SI (subreg:SI
(reg/v:DI 88) 4)
                    (subreg:SI (reg/v:DI 89) 0))
                (const_int 16 [0x10])) [0 S1 A8])
        (subreg:QI (reg/v:SI 4 esi [84]) 0)) 47 {*movqi_1} (nil)
    (expr_list:REG_DEAD (reg/v:DI 89)
        (expr_list:REG_DEAD (reg/v:DI 88)
            (expr_list:REG_DEAD (reg/v:SI 4 esi [84])
                (nil)))))
gcc-bug.c:148: confused by earlier errors, bailing out

The file in question can be found at http://www.gwydiondylan.org/~andreas/gcc-bug.c


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