Bug 10851 - [m32r] ICE in extract_insn, at recog.c:2175
Summary: [m32r] ICE in extract_insn, at recog.c:2175
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 3.3
: P3 normal
Target Milestone: 3.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2003-05-19 05:56 UTC by inaoka.kazuhiro
Modified: 2003-12-11 01:42 UTC (History)
1 user (show)

See Also:
Host:
Target: m32r-elf
Build:
Known to work:
Known to fail:
Last reconfirmed: 2003-05-25 13:29:53


Attachments
ice20030519.c (76.94 KB, application/octet-stream)
2003-05-21 15:17 UTC, inaoka.kazuhiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description inaoka.kazuhiro 2003-05-19 05:56:03 UTC
ice20030519.c: In function `FontSize':
ice20030519.c:17370: error: unrecognizable insn:
(insn 595 604 596 11 (nil) (set (reg:SI 17 cbit)
        (const_int 0 [0x0])) -1 (nil)
    (expr_list:REG_EQUAL (const_int 0 [0x0])
        (nil)))
ice20030519.c:17370: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.

following is one of the bug patterns.
void func()
{
  int i;
  for (i=0; i<5; i++)
    if (i=0)
      break;
}

Release:
gcc version 3.3

Environment:
Linux t1pc-m32rsvr 2.4.18-24.7.x #1 Fri Jan 31 07:06:03 EST 2003 i686 unknown

How-To-Repeat:
compile with Optimize options (-O, -O2, -O3)
Comment 1 Dara Hazeghi 2003-05-25 06:29:31 UTC
Hello,

I can reproduce this problem on gcc 3.2.3, 3.3 branch and mainline (20030524).

Dara
Comment 2 Kazu Hirata 2003-12-11 01:37:55 UTC
This problem does not occur on mainline (20031210) anymore.
Comment 3 Andrew Pinski 2003-12-11 01:42:40 UTC
Fixed for 3.4 and since this is not a regression closing.