From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27905 invoked by alias); 6 May 2010 13:51:14 -0000 Received: (qmail 27826 invoked by uid 48); 6 May 2010 13:50:46 -0000 Date: Thu, 06 May 2010 13:51:00 -0000 Message-ID: <20100506135046.27825.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/44012] ICE: SIGSEGV in ira_merge_allocno_live_ranges In-Reply-To: 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-05/txt/msg00578.txt.bz2 ------- Comment #1 from zsojka at seznam dot cz 2010-05-06 13:50 ------- Created an attachment (id=20585) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20585&action=view) partially reduced testcase Compiler flags: g++ -O1 -fgcse -findirect-inlining -fipa-sra or g++ -O2 -fno-strict-aliasing Valgind output: $ valgrind --trace-children=yes -q /mnt/svn/gcc-trunk/binary-159045-lto-fortran/bin/g++ -O1 -fgcse -findirect-inlining -fipa-sra testcase-min2.ii ==18710== Invalid read of size 4 ==18710== at 0x801A40: ira_merge_allocno_live_ranges (ira-build.c:863) ==18710== by 0x802C7E: remove_unnecessary_regions (ira-build.c:1977) ==18710== by 0x804408: ira_build (ira-build.c:2778) ==18710== by 0x7FEA6E: rest_of_handle_ira (ira.c:3215) ==18710== by 0x8588AD: execute_one_pass (passes.c:1590) ==18710== by 0x858B34: execute_pass_list (passes.c:1645) ==18710== by 0x858B46: execute_pass_list (passes.c:1646) ==18710== by 0x94CDB5: tree_rest_of_compilation (tree-optimize.c:413) ==18710== by 0xAD49F5: cgraph_expand_function (cgraphunit.c:1627) ==18710== by 0xAD7289: cgraph_optimize (cgraphunit.c:1706) ==18710== by 0xAD7A04: cgraph_finalize_compilation_unit (cgraphunit.c:1166) ==18710== by 0x550FCA: cp_write_global_declarations (decl2.c:3837) ==18710== Address 0xafafafafafafafb7 is not stack'd, malloc'd or (recently) free'd ==18710== testcase-min2.ii: In member function 'void SQCompiler::BitwiseXorExp()': testcase-min2.ii:371:2: internal compiler error: Segmentation fault I will post more reduced testcase, delta is quite slow with this code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44012