From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31710 invoked by alias); 6 Jan 2007 13:25:44 -0000 Received: (qmail 31229 invoked by uid 48); 6 Jan 2007 13:25:32 -0000 Date: Sat, 06 Jan 2007 13:25:00 -0000 Subject: [Bug c/30392] New: ice for legal kernel code with -Os X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dcb314 at hotmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-01/txt/msg00380.txt.bz2 I just tried to compile Linux kernel 2.6.19.1 with the new GNU C compiler version 4.3 snapshot 20070105. The compiler said mm/slab.c: At top level: mm/slab.c:4266: error: edge __kmalloc->__builtin_constant_p has no corresponding call_stmt mm/slab.c:4266: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[1]: *** [mm/slab.o] Error 1 Here is some help from valgrind ==12784== Invalid read of size 8 ==12784== at 0x4D34E7: ssa_operands_active (tree-ssa-operands.c:267) ==12784== by 0x4B4035: dump_generic_node (tree-pretty-print.c:2705) ==12784== by 0x4BEDFE: print_generic_stmt (tree-pretty-print.c:130) ==12784== by 0x4BEE37: debug_generic_stmt (tree-pretty-print.c:98) ==12784== by 0x8749DB: verify_cgraph_node (cgraphunit.c:818) ==12784== by 0x874CF7: verify_cgraph (cgraphunit.c:842) ==12784== by 0x875968: cgraph_remove_unreachable_nodes (ipa.c:105) ==12784== by 0x87716C: cgraph_early_inlining (ipa-inline.c:1226) ==12784== by 0x811694: execute_one_pass (passes.c:932) ==12784== by 0x81181F: execute_ipa_pass_list (passes.c:996) ==12784== by 0x8754CB: cgraph_optimize (cgraphunit.c:1433) ==12784== by 0x4168D9: c_write_global_declarations (c-decl.c:7969) ==12784== Address 0x28 is not stack'd, malloc'd or (recently) free'd Preprocessed source code attached. Flag -Os required. -- Summary: ice for legal kernel code with -Os Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dcb314 at hotmail dot com GCC host triplet: x86_64-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30392