public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/17119] New: [m32r] ICE at switch case 0x8000
@ 2004-08-20  9:27 inaoka dot kazuhiro at renesas dot com
  2004-08-26 13:00 ` [Bug target/17119] " cvs-commit at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: inaoka dot kazuhiro at renesas dot com @ 2004-08-20  9:27 UTC (permalink / raw)
  To: gcc-bugs

--- 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/17119] [m32r] ICE at switch case 0x8000
  2004-08-20  9:27 [Bug target/17119] New: [m32r] ICE at switch case 0x8000 inaoka dot kazuhiro at renesas dot com
@ 2004-08-26 13:00 ` cvs-commit at gcc dot gnu dot org
  2004-08-26 13:03 ` cvs-commit at gcc dot gnu dot org
  2004-08-26 14:14 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-26 13:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-26 13:00 -------
Subject: Bug 17119

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	nickc@gcc.gnu.org	2004-08-26 13:00:15

Modified files:
	gcc            : ChangeLog 
	gcc/config/m32r: m32r.c 

Log message:
	PR target/17119.
	* config/m32r.c (gen_compare): Use reg_or_int16_operand when checking for a
	valid constant, regardless of sign.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.599&r2=2.2326.2.600
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m32r/m32r.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.80.4.3&r2=1.80.4.4



-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/17119] [m32r] ICE at switch case 0x8000
  2004-08-20  9:27 [Bug target/17119] New: [m32r] ICE at switch case 0x8000 inaoka dot kazuhiro at renesas dot com
  2004-08-26 13:00 ` [Bug target/17119] " cvs-commit at gcc dot gnu dot org
@ 2004-08-26 13:03 ` cvs-commit at gcc dot gnu dot org
  2004-08-26 14:14 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-26 13:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-26 13:03 -------
Subject: Bug 17119

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nickc@gcc.gnu.org	2004-08-26 13:03:03

Modified files:
	gcc            : ChangeLog 
	gcc/testsuite  : ChangeLog 
	gcc/config/m32r: m32r.c 
Added files:
	gcc/testsuite/gcc.c-torture/compile: pr17119.c 

Log message:
	PR target/17119.
	config/m32r.c (gen_compare): Use reg_or_int16_operand when checking for a
	valid constant, regardless of sign.
	testsuite/gcc.c-torture/compile/pr17119.c: New test (for this failure)

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5103&r2=2.5104
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4199&r2=1.4200
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/pr17119.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m32r/m32r.c.diff?cvsroot=gcc&r1=1.105&r2=1.106



-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/17119] [m32r] ICE at switch case 0x8000
  2004-08-20  9:27 [Bug target/17119] New: [m32r] ICE at switch case 0x8000 inaoka dot kazuhiro at renesas dot com
  2004-08-26 13:00 ` [Bug target/17119] " cvs-commit at gcc dot gnu dot org
  2004-08-26 13:03 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-26 14:14 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-26 14:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-26 14:14 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
            Summary|[m32r] ICE at switch case   |[m32r] ICE at switch case
                   |0x8000                      |0x8000
   Target Milestone|---                         |3.4.2


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-08-26 14:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-20  9:27 [Bug target/17119] New: [m32r] ICE at switch case 0x8000 inaoka dot kazuhiro at renesas dot com
2004-08-26 13:00 ` [Bug target/17119] " cvs-commit at gcc dot gnu dot org
2004-08-26 13:03 ` cvs-commit at gcc dot gnu dot org
2004-08-26 14:14 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).