From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9765 invoked by alias); 12 Jul 2010 06:12:30 -0000 Received: (qmail 9719 invoked by uid 48); 12 Jul 2010 06:12:13 -0000 Date: Mon, 12 Jul 2010 06:12:00 -0000 Subject: [Bug tree-optimization/44915] New: [4.6 Regression] ICE: SIGSEGV in walk_aliased_vdefs_1.constprop.42 (tree-ssa-alias.c:1707) with -findirect-inlining X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zsojka at seznam dot cz" 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: 2010-07/txt/msg01250.txt.bz2 Command line: $ g++ -findirect-inlining testcase.C Valgrind output: $ valgrind -q --trace-children=yes /mnt/svn/gcc-trunk/binary-162056-lto-fortran-checking-yes-rtl-df/bin/g++ -findirect-inlining testcase.C ==4614== Invalid read of size 2 ==4614== at 0xA692A8: walk_aliased_vdefs_1.constprop.42 (tree-ssa-alias.c:1707) ==4614== by 0xA6996D: walk_aliased_vdefs (tree-ssa-alias.c:1748) ==4614== by 0xBF454A: is_parm_modified_before_call (ipa-prop.c:658) ==4614== by 0xBF687B: ipa_compute_jump_functions_for_edge (ipa-prop.c:696) ==4614== by 0xBF7ABC: ipa_analyze_node (ipa-prop.c:901) ==4614== by 0xBF40C7: analyze_function (ipa-inline.c:2072) ==4614== by 0xBF4181: inline_generate_summary (ipa-inline.c:2120) ==4614== by 0x8F16D5: execute_ipa_summary_passes (passes.c:1426) ==4614== by 0xBE9B90: cgraph_optimize (cgraphunit.c:1869) ==4614== by 0xBE9E0A: cgraph_finalize_compilation_unit (cgraphunit.c:1171) ==4614== by 0x588C0C: cp_write_global_declarations (decl2.c:3924) ==4614== by 0x9DDA45: toplev_main (toplev.c:997) ==4614== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==4614== testcase.C: In function 'void call_dummy(f_ptr)': testcase.C:10:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Tested revisions: r162056 - crash r161659 - crash r161170 - OK r159696 - OK 4.5 r160526 - OK -- Summary: [4.6 Regression] ICE: SIGSEGV in walk_aliased_vdefs_1.constprop.42 (tree-ssa- alias.c:1707) with -findirect-inlining Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44915