public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/47849] New: ICE: SIGSEGV in find_edge (cfganal.c:491) with -ftree-loop-if-convert -fno-tree-reassoc
@ 2011-02-22 16:17 zsojka at seznam dot cz
  2011-02-22 16:33 ` [Bug tree-optimization/47849] " zsojka at seznam dot cz
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2011-02-22 16:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47849

           Summary: ICE: SIGSEGV in find_edge (cfganal.c:491) with
                    -ftree-loop-if-convert -fno-tree-reassoc
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: spop@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 23435
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23435
reduced testcase

Compiler output:
$ gcc -O2 -ftree-loop-if-convert -fno-tree-reassoc testcase.ctestcase.c: In
function 'foo':
testcase.c:2:1: 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.

(gdb) bt
#0  find_edge (pred=0x7ffff5bf2138, succ=0x0) at
/mnt/svn/gcc-trunk/gcc/cfganal.c:491
#1  0x0000000000986bd1 in remove_dead_stmt (i=0x7fffffffd6a0,
bb=0x7ffff5bf2138) at /mnt/svn/gcc-trunk/gcc/tree-ssa-dce.c:1102
#2  0x00000000009870f9 in eliminate_unnecessary_stmts () at
/mnt/svn/gcc-trunk/gcc/tree-ssa-dce.c:1203
#3  0x000000000098957f in perform_tree_ssa_dce (aggressive=1 '\001') at
/mnt/svn/gcc-trunk/gcc/tree-ssa-dce.c:1450
#4  0x00000000007f6e86 in execute_one_pass (pass=0x178ee30) at
/mnt/svn/gcc-trunk/gcc/passes.c:1556
#5  0x00000000007f7185 in execute_pass_list (pass=0x178ee30) at
/mnt/svn/gcc-trunk/gcc/passes.c:1611
#6  0x00000000007f7197 in execute_pass_list (pass=0x163bd80) at
/mnt/svn/gcc-trunk/gcc/passes.c:1612
#7  0x0000000000939fd6 in tree_rest_of_compilation (fndecl=0x7ffff5b86f00) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:422
#8  0x0000000000b01e82 in cgraph_expand_function (node=0x7ffff5ba6000) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1576
#9  0x0000000000b045ca in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1635
#10 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1899
#11 0x0000000000b04b4a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1096
#12 0x000000000050974c in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:9872
#13 0x00000000008e2f78 in compile_file (argc=15, argv=0x7fffffffda68) at
/mnt/svn/gcc-trunk/gcc/toplev.c:591
#14 do_compile (argc=15, argv=0x7fffffffda68) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1900
#15 toplev_main (argc=15, argv=0x7fffffffda68) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1963
#16 0x00007ffff6446bbd in __libc_start_main () from /lib/libc.so.6
#17 0x00000000004f02fd in _start ()

Tested revisions:
r170398 - crash


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-23 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-22 16:17 [Bug tree-optimization/47849] New: ICE: SIGSEGV in find_edge (cfganal.c:491) with -ftree-loop-if-convert -fno-tree-reassoc zsojka at seznam dot cz
2011-02-22 16:33 ` [Bug tree-optimization/47849] " zsojka at seznam dot cz
2011-02-23 15:54 ` rguenth at gcc dot gnu.org
2011-02-23 16:57 ` rguenth at gcc dot gnu.org
2011-02-23 16:59 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).