[Bug target/43805] ICE when building Linux kernel 2.6.34-rc4

2010-04-22 Thread philpem at philpem dot me dot uk
--- Comment #4 from philpem at philpem dot me dot uk 2010-04-22 21:28 --- I've just bisected the source tree with "svn-bisect" -- starting at rev 154096 (the first rev with lm32 support), ending at 158339 (gcc 4.5.0 release). Turns out the bug was introduced in or befor

[Bug target/43805] ICE when building Linux kernel 2.6.34-rc4

2010-04-19 Thread philpem at philpem dot me dot uk
--- 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/file

[Bug c/43805] ICE when building Linux kernel 2.6.34-rc4

2010-04-19 Thread philpem at philpem dot me dot uk
--- Comment #1 from philpem at philpem dot me dot uk 2010-04-19 20:27 --- Created an attachment (id=20426) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20426&action=view) timerfd intermediate file .i file, requested per bug reporting guidelines -- http://gcc.

[Bug c/43805] New: ICE when building Linux kernel 2.6.34-rc4

2010-04-19 Thread philpem at philpem dot me dot uk
l’: fs/timerfd.c:105:1: error: unrecognizable insn: (insn 44 43 45 5 fs/timerfd.c:94 (set (reg:SI 68) (subreg:SI (mem/s:DI (plus:SI (reg/v/f:SI 39 [ ctx ]) (const_int 64 [0x40])) [0 S8 A64]) 4)) -1 (nil)) fs/timerfd.c:105:1: internal compiler error: in extract_insn, at recog.c:2103 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. This kernel compiles fine with gcc 3.4.0 and the lm32 patch which was published on the GCC mailing list. Removing "-O2" from the command line allows gcc to pass the ICE and compile successfully. -- Summary: ICE when building Linux kernel 2.6.34-rc4 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: philpem at philpem dot me dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43805