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 target/17119] New: [m32r] ICE at switch case 0x8000


--- ice_cbit.c ---
void
_mesa_DrawPixels( int width, int height,
                  unsigned int format , unsigned int type,
                  const void *pixels )
{
  switch (format) {
  case 0x1900:
    func1();
    break;
  case 0x1907:
  case 0x80E0:
  case 0x1908:
  case 0x80E1:
  case 0x8000:
    func2();
    break;
  }
}

m32r-elf-gcc -c -O0 ice_cbit.c
ice_cbit.c: In function `_mesa_DrawPixels':
ice_cbit.c:18: error: unrecognizable insn:
(insn 45 62 46 5 ice_cbit.c:8 (set (reg:CC 17 cbit)
        (ltu:CC (reg:SI 25 [ format ])
            (const_int 32768 [0x8000]))) -1 (nil)
    (nil))
ice_cbit.c:18: internal compiler error: in extract_insn, at recog.c:2083

Test Version:
Reading specs from /usr/local/m32r-elf/lib/gcc/m32r-elf/3.4.2/specs
Configured with: /home3/FSF/org_src/gcc-3.4/gcc/configure --target=m32r-elf
--prefix=/usr/local/m32r-elf --srcdir=/home3/FSF/org_src/gcc-3.4/gcc
--enable-languages=c,c++ --with-newlib
Thread model: single
gcc version 3.4.2 20040819 (prerelease)

-- 
           Summary: [m32r] ICE at switch case 0x8000
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: inaoka dot kazuhiro at renesas dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: m32r-elf m32r-linux


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


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