This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/44012] New: ICE: SIGSEGV in ira_merge_allocno_live_ranges
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2010 12:48:28 -0000
- Subject: [Bug rtl-optimization/44012] New: ICE: SIGSEGV in ira_merge_allocno_live_ranges
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Tested revisions:
r159062 - crash
r159045 - crash
r158683 - OK
Output with valgrind:
$ valgrind --trace-children=yes -q
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/bin/g++ -O2 -fno-strict-aliasing
sqcompiler-noempty.ii
==28996== Invalid read of size 4
==28996== at 0x801DD0: ira_merge_allocno_live_ranges (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0x802FFE: remove_unnecessary_regions (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0x80478C: ira_build (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0x7FEE2A: rest_of_handle_ira (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0x8592BB: execute_one_pass (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0x859544: execute_pass_list (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0x859556: execute_pass_list (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0x94E5B5: tree_rest_of_compilation (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0xAD6CB5: cgraph_expand_function (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0xAD9569: cgraph_optimize (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0xAD9CE4: cgraph_finalize_compilation_unit (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== by 0x5515EA: cp_write_global_declarations (in
/mnt/svn/gcc-trunk/binary-159062-lto-fortran/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus)
==28996== Address 0xafafafafafafafb7 is not stack'd, malloc'd or (recently)
free'd
==28996==
sqcompiler-noempty.ii: In member function 'void SQCompiler::BitwiseOrExp()':
sqcompiler-noempty.ii:2877:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Testcase will be attached soon.
--
Summary: ICE: SIGSEGV in ira_merge_allocno_live_ranges
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44012