https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63879
Bug ID: 63879 Summary: ICE compiling Linux Kernel fs/ext3/namei.c Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sasha.levin at oracle dot com CC: mpolacek at gcc dot gnu.org Created attachment 33978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33978&action=edit Preprocessed source I'm seeing very high memory usage followed by: {standard input}: Assembler messages: {standard input}:2183: Warning: end of file not at end of a line; newline inserted {standard input}:4163: Error: number of operands mismatch for `movq' {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive gcc: internal compiler error: Killed (program cc1) 0x40c3cc execute ../../gcc/gcc.c:2912 0x410917 driver::do_spec_on_infiles() const ../../gcc/gcc.c:7674 0x40322b driver::main(int, char**) ../../gcc/gcc.c:6911 I've bisected this issue down to: commit 1043013c91c08e3d8cd665b3f960f658918d69fe Author: mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Nov 14 11:57:05 2014 +0000 * fold-const.c (fold_negate_expr): Don't fold INTEGER_CST if that overflows when SANITIZE_SI_OVERFLOW is on. Guard -(-A) folding with TYPE_OVERFLOW_SANITIZED. * c-c++-common/ubsan/overflow-negate-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217556 138bc75d-0d04-0410-961f-82ee7 Preprocessed fs/ext3/namei.c attached.