This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/44012] ICE: SIGSEGV in ira_merge_allocno_live_ranges



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]