public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/47389] New: ICE: in calc_dfs_tree, at dominance.c:395 with -fno-combine-stack-adjustments -fno-dse -fno-tree-forwprop
@ 2011-01-20 23:28 zsojka at seznam dot cz
  2011-01-21  4:38 ` [Bug tree-optimization/47389] " zsojka at seznam dot cz
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2011-01-20 23:28 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: in calc_dfs_tree, at dominance.c:395 with
                    -fno-combine-stack-adjustments -fno-dse
                    -fno-tree-forwprop
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


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

Compiler output:
$ gcc -O -fno-combine-stack-adjustments -fno-dse -fno-tree-forwprop
testcase.f90
testcase.f90: In function 'master.0.f4':
testcase.f90:7:0: internal compiler error: in calc_dfs_tree, at dominance.c:395
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


(gdb) bt
#0  fancy_abort (file=0x11347c8 "/mnt/svn/gcc-trunk/gcc/dominance.c", line=395,
function=0x1134885 "calc_dfs_tree")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892
#1  0x0000000000697dc3 in calc_dfs_tree (di=0x7fffffffd460, reverse=0 '\000')
at /mnt/svn/gcc-trunk/gcc/dominance.c:395
#2  0x00000000006996b0 in calculate_dominance_info (dir=CDI_DOMINATORS) at
/mnt/svn/gcc-trunk/gcc/dominance.c:656
#3  0x000000000064fd3d in flow_loops_find (loops=0x7ffff5d5c0e0) at
/mnt/svn/gcc-trunk/gcc/cfgloop.c:386
#4  0x000000000080a05f in loop_optimizer_init (flags=16) at
/mnt/svn/gcc-trunk/gcc/loop-init.c:52
#5  0x00000000010460a6 in if_convert () at /mnt/svn/gcc-trunk/gcc/ifcvt.c:4241
#6  0x0000000001047af9 in rest_of_handle_if_after_reload () at
/mnt/svn/gcc-trunk/gcc/ifcvt.c:4418
#7  0x000000000084e7a6 in execute_one_pass (pass=0x16836c0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1561
#8  0x000000000084eaa5 in execute_pass_list (pass=0x16836c0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1616
#9  0x000000000084eab7 in execute_pass_list (pass=0x167e040) at
/mnt/svn/gcc-trunk/gcc/passes.c:1617
#10 0x000000000084eab7 in execute_pass_list (pass=0x167e0a0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1617
#11 0x000000000098eb86 in tree_rest_of_compilation (fndecl=0x7ffff5d26000) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:422
#12 0x0000000000b53e32 in cgraph_expand_function (node=0x7ffff5d2c2c0) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1522
#13 0x0000000000b564fa in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1581
#14 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1841
#15 0x0000000000b56a7a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1042
#16 0x00000000008079fd in write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/langhooks.c:303
#17 0x0000000000938474 in compile_file (argc=17, argv=0x7fffffffd9e8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:591
#18 do_compile (argc=17, argv=0x7fffffffd9e8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1874
#19 toplev_main (argc=17, argv=0x7fffffffd9e8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1937
#20 0x00007ffff65f1bbd in __libc_start_main () from /lib/libc.so.6
#21 0x00000000004faced in _start ()

Tested revisions:
r169065 - crash
4.5 - doesn't know -fno-combine-stack-adjustments


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

end of thread, other threads:[~2012-10-21 10:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-20 23:28 [Bug tree-optimization/47389] New: ICE: in calc_dfs_tree, at dominance.c:395 with -fno-combine-stack-adjustments -fno-dse -fno-tree-forwprop zsojka at seznam dot cz
2011-01-21  4:38 ` [Bug tree-optimization/47389] " zsojka at seznam dot cz
2011-01-21  5:21 ` zsojka at seznam dot cz
2011-01-21 11:48 ` [Bug rtl-optimization/47389] " rguenth at gcc dot gnu.org
2011-01-24 13:29 ` zsojka at seznam dot cz
2012-10-15  8:01 ` steven at gcc dot gnu.org
2012-10-20 17:08 ` mikpe at it dot uu.se
2012-10-21 10:14 ` zsojka at seznam dot cz
2012-10-21 10:16 ` zsojka at seznam dot cz

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