This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43805] ICE when building Linux kernel 2.6.34-rc4
- From: "philpem at philpem dot me dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Apr 2010 20:33:22 -0000
- Subject: [Bug target/43805] ICE when building Linux kernel 2.6.34-rc4
- References: <bug-43805-19057@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from philpem at philpem dot me dot uk 2010-04-19 20:33 -------
Admittedly removing -O2 does fix the ICE in this file, however a different
source file (mm/filemap.c) causes a gcc ICE when it isn't built with -O2:
mm/filemap.c: In function ?do_generic_file_read?:
mm/filemap.c:1171:1: error: unrecognizable insn:
(insn 402 401 403 20 mm/filemap.c:1029 (set (reg:SI 389)
(subreg:SI (mem/c/i:DI (plus:SI (reg/f:SI 33 virtual-stack-vars)
(const_int -52 [0xffffffffffffffcc])) [0 isize+0 S8 A64])
4)) -1 (nil))
mm/filemap.c:1171:1: internal compiler error: in extract_insn, at recog.c:2103
So removing -O2 is *not* a viable workaround.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43805