This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15693] New: [3.3.4 regression] [sparc] ICE - unrecognizable insn
- From: "debian-gcc at lists dot debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2004 21:26:10 -0000
- Subject: [Bug target/15693] New: [3.3.4 regression] [sparc] ICE - unrecognizable insn
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[forwarded from http://bugs.debian.org/250899]
distilled from the 2.6.7-rc1 kernel, built for sparc-linux (mm/fremap.c),
compiled with -O2 or -O3, works with -O0, -O1
3.3 branch, 20040517 or later, 20040429 is reported to work.
static __inline__ __attribute__ ((always_inline))
int page_mapping (unsigned flags)
{
if (1u & (flags >> 16))
return 1;
return 0;
}
void install_page (unsigned flags)
{
if (__builtin_expect (!page_mapping (flags), 0))
__builtin_trap ();
}
$gcc -O2 bug-250899.c
bug-250899.c: In function `install_page':
bug-250899.c:12: error: unrecognizable insn:
(insn 53 16 54 0 0x701cf180 (set (reg:SI 112)
(zero_extract:SI (reg:SI 110)
(const_int 1 [0x1])
(const_int 31 [0x1f]))) -1 (nil)
(expr_list:REG_DEAD (reg:SI 110)
(nil)))
bug-250899.c:12: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [3.3.4 regression] [sparc] ICE - unrecognizable insn
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-linux
GCC host triplet: sparc-linux
GCC target triplet: sparc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15693